Yes, there is a formula that determines if a move misses or not.

Source
Accuracy and Evasion are the changes that will determine whether a move hits or misses as every move has a set accuracy. This means that when the move was created it was given its accuracy as there isn't a need to use a formula for something that has no variables to be determined.
Hope I've Helped!