Demand growth this has increased the incidence of road accidents and the resulting casualties, including injuries and deaths. In this study, six of the rural two lane roads were selected as the study area and crash data was collected in the roads for 2013-2016 years. In this study, multi-la ered perceptron model was used for modeling crashes for different roads. The purpose of the multi-layered perceptron model training is to find the optimal value of weights and biases in such a way as to minimize network error. With this view, multi-layered perceptron modeling is an optimization issue with a number of specific parameters. Based on the collected data, the studied roads included Hamadan to Avaj, Hamedan to Qorveh, Hamadan to Malayer and Hamadan to Bijar in the area of the protection of Hamadan province, as well as Abhar to Qeydar in the area of protection of Zanjan province and the old road to Abeek to Qazvin, in Qazvin province. An appropriate model for the roads of Qazvin, Zanjan and Hamadan was architectu e. Approximately good results were obtained from the network. The value of the r2 statistic that was calculated was 0.83. The value of the MSE parameter equals to 0.59, which indicates the accuracy of the results in the training phase. For the roads of the Qazvin region, the value of r2 was 0.94. The value of the MSE parameter was also 0.33, which was very good, and showed the accuracy of the results in the training phase.