Worked example
If you run 5 km in 30 minutes, your average pace is 6 minutes per kilometre. Pace is elapsed time divided by distance; it is different from speed, which is distance per unit of time.
Assumptions to check
GPS distance, hills, stops and rounding can affect the estimate. Use consistent units when comparing workouts.