In order to reduce traffic accidents, many researchers studied a traffic accident model. The Cause of traffic accidents is usually the mis calculation of traffic signals or bad traffic intersection design. Therefore, to analyse the cause of traffic accidents, it takes effort. This paper, it calculates the optimal safe car speed considering intersection conditions and weather conditions. It will recommend calculation of 1/3 in vehicle speed when there are rainy days and snow days. But the problem is that it will always display the same speed limit when whether conditions change. In order to solve these problems, in this paper, it is proposed the calculation of optimal safety speed algorithm uses weather conditions and road conditions. Computer simulations is prove that it computes the traffic speed limit correctly, which proposed considering intelligent traffic accident prediction algorithms.