Miles per hour is calculated by knowing how long an object has been moving and how many miles it has covered in that span. Divide the number of miles traveled by the hours spent traveling to calculate miles per hour with help from a math teacher in this free video on basic math lessons.