An earthquake of magnitude 2.5 and depth of 5.40 kilometers occurred 5.21 miles from Milford, UT in Beaver County at 04:50 PM.