Calculate your running or walking pace per kilometre and speed from distance and time.
Pace is the time it takes to cover one kilometre (minutes per km); speed is the distance covered in one hour (km/h) — they're inverses of each other.
Yes — it works for any distance and time, running or walking.