Calculating Average Speed. If an object travels with constant speed, then the formula for the speed of the object is given by, Total distance is the distance traveled by the object at the constant speed. Elapsed time is the time the object took to cover the total distance.