How to Calculate a Mile: Pace, Distance and Conversions
Calculate mile pace, miles from km, and distance from time with three formulas, a km-to-mile pace table, and the rounding errors that skew your finish time.
Kristian Hoffmann
SaaS founder and operator

To calculate a mile-based number you need one of three formulas: pace per mile = time ÷ miles, miles = kilometers ÷ 1.609344, or miles covered = time ÷ pace per mile. One international mile is exactly 1,609.344 meters, so a 5K is 3.107 miles and a 27:30 5K works out to 8:51 per mile. Everything else in this guide is a variation of those three lines, plus the rounding shortcuts that quietly move your numbers.
If you came here to calculate driving mileage for reimbursement, the distance math below is identical; the cents-per-mile rate is not something to guess, so take it from your employer's policy or your tax authority's current published figure.
The three formulas, with worked examples
Work in seconds. Converting 8:51 into 531 seconds before you divide removes most arithmetic errors.
Pace per mile from a run you finished
Divide total time by distance in miles. If your watch reports kilometers, convert first.
- Run: 5 km in 27:30 (1,650 s)
- Distance: 5 ÷ 1.609344 = 3.107 miles
- Pace: 1,650 ÷ 3.107 = 531 s = 8:51 per mile
Shortcut that gives the same answer: multiply your per-km pace by 1.609344. 5:30/km × 1.609344 = 8:51/mile.
Kilometers to miles (and back)
Miles = km ÷ 1.609344, or km × 0.621371. Kilometers = miles × 1.609344.
| Race | Kilometers | Exact miles | Commonly written |
|---|---|---|---|
| 5K | 5 | 3.107 | 3.1 |
| 10K | 10 | 6.214 | 6.2 |
| Half marathon | 21.0975 | 13.109 | 13.1 |
| Marathon | 42.195 | 26.219 | 26.2 |
Distance from time and pace
Miles covered = time ÷ pace per mile. A 45-minute run at 9:00/mile is 2,700 ÷ 540 = 5.0 miles. Reverse it to plan a session: 6 miles at 9:00/mile needs 54 minutes.
Km pace to mile pace: conversion table
Watches, gym treadmills and race guides often mix both units. This table converts per-km pace to per-mile pace and speed, computed with the exact 1.609344 factor and rounded only at the end.
| Pace per km | Pace per mile | km/h | mph |
|---|---|---|---|
| 4:00 | 6:26 | 15.0 | 9.32 |
| 4:30 | 7:15 | 13.3 | 8.28 |
| 5:00 | 8:03 | 12.0 | 7.46 |
| 5:30 | 8:51 | 10.9 | 6.78 |
| 6:00 | 9:39 | 10.0 | 6.21 |
| 6:30 | 10:28 | 9.2 | 5.74 |
| 7:00 | 11:16 | 8.6 | 5.33 |
Speed and pace are inverses: mph = 60 ÷ minutes per mile. A treadmill set to 7.5 mph is 60 ÷ 7.5 = 8:00 per mile. For the kilometer side of the same math, see Running pace calculator per km: how to calculate splits.
Where the shortcuts cost you time
The usual mental shortcuts are 1 mile ≈ 1.6 km and 1 km ≈ 0.62 miles. Both are fine for a training log. Both drift once you multiply them across a race.
Using 1.6 instead of 1.609344 understates mile pace by 0.58 %. At 5:00/km, the shortcut gives 8:00/mile; the real figure is 8:02.8. That is 2.8 seconds per mile, and across 26.219 marathon miles it adds up to about 73 seconds of projected finish time you will not actually have.
Using 0.62 instead of 0.621371 shrinks the marathon to 26.161 miles — roughly 93 meters short. On a pace band that means every late checkpoint arrives slightly early on paper and slightly late on the road.
Using 26.2 instead of 26.219 is the smallest of the three: 31 meters, about 9 seconds at 8:03/mile. Worth knowing, not worth worrying about.
The rule: convert with the exact factor once, round only the final displayed time. If your plan is a printed band, check it against Marathon Split Calculator: Exact KM and Mile Splits or, for 13.1, Half Marathon Splits Calculator: Exact Mile and Kilometer Paces.
Measuring a real mile in winter
December and January push many runners indoors or into the dark, which is exactly when distance measurement gets least reliable. Three common setups, three different errors.
Running track: 1,600 m is not a mile
Four laps of a standard 400 m track equal 1,600 m — 9.344 m short of a mile. At 7:00/mile pace that gap is worth about 2.4 seconds, so a 6:58 four-lap effort is closer to a 7:00 true mile. The correction scales with pace: add 0.58 % of your 1,600 m time. Stay in the inside lane; outer lanes add distance per lap.
Treadmill: trust the belt speed, check it once
Treadmills show speed, not measured ground distance. Convert with pace = 60 ÷ mph (or 60 ÷ km/h for per-km pace). Belt calibration varies between machines, so if a treadmill pace feels noticeably harder or easier than the same pace outdoors, treat the display as approximate rather than adjusting your fitness estimate.
GPS: watch the trace, not the total
Watch distance can drift on twisting paths, under tree cover and between tall buildings. Before you use a GPS mile for anything that matters — a New Year time trial, a baseline for a spring marathon block — run a known measured loop or a track and compare. If the watch reads 1.03 miles for a measured mile, your auto-lap splits are about 3 % optimistic.
Using a mile time to plan longer races
A timed mile is a quick fitness check before a spring training block starts. Riegel's formula, T2 = T1 × (D2 ÷ D1)^1.06, projects it to longer distances. A 7:00 mile projects to roughly 23:17 for 5K (3.107^1.06 ≈ 3.33).
Treat that projection as optimistic. A one-mile effort leans on speed that does not carry to 10K or beyond, and the error grows with the distance gap. A recent 5K or 10K usually gives a steadier base for a half-marathon or marathon pace than a mile does.
FAQ
How many kilometers are in a mile?
Exactly 1.609344 km. The reverse factor is 0.621371 miles per kilometer.
How long does it take to walk a mile?
Divide 1.609344 by your walking speed in km/h, then multiply by 60. At 5 km/h a mile takes about 19:19; at 6 km/h about 16:06.
How do I calculate mile pace from a treadmill in km/h?
Mile pace in minutes = 96.56 ÷ km/h. At 12 km/h that is 8:03 per mile, matching the table above.