HealthCalcPlusFree · no sign-up · your data never leaves your browser

Marathon Distance

A marathon is exactly 42.195 km, or 42195 m. This page fixes that one constant and converts any length you enter into kilometres, metres, miles, yards, feet and 400 m laps using exact factors, then states how much of a marathon that length is and how far it sits from 42195 m. It also works out the arithmetic behind the two rounded descriptions: 26 miles 385 yards and 26.2 miles are both shorter than the defined distance, by 12 mm and 30.1872 m respectively. No pace, no time, no prediction.

Exact miles in the length you entered

26.218757 mi

42.195 km is 42195.000 m. Divided by the exact 1609.344 m in one mile that is 26.218757 mi, which is 46145.013123 yd, 138435.039370 ft and 105.487500 laps of 400 m. That is 1.000000 of one full marathon, and +0.000 m away from 42195 m. The two rounded versions are shorter: 26 miles 385 yards is 42194.988 m and 26.2 miles is 42164.8128 m.

1. One length in six exact units

42.195000 km
Kilometres: the canonical length in metres divided by 1000.
42195.000 m
Metres: the canonical length itself, with no conversion applied.
26.218757 mi
Miles: divided by the exact 1609.344 m in one international mile.
46145.013123 yd
Yards: divided by the exact 0.9144 m in one international yard.
138435.039370 ft
Feet: divided by the exact 0.3048 m in one international foot.
105.487500 laps
Laps: divided by 400 m, one standard track lap.
All six values are the one length you entered, divided by six exact constants. One mile is 1609.344 m, one yard 0.9144 m, one foot 0.3048 m and one lap 400 m, so no conversion on this page uses a rounded factor.
Six outputs, one input, six exact constants. Nothing is read back from a display value.

2. Against the fixed 42195 m constant

1.000000 marathons
How many marathons the length is, as one division by 42195 m.
+0.000 m
Signed difference from 42195 m, in metres. Positive means longer.
42 whole km + 195.000 m
Whole kilometres and the leftover in metres.
26 whole miles + 352.056 m
Whole miles and the leftover in metres.
105 whole laps + 195.000 m
Whole 400 m laps and the leftover in metres.
The marathon constant is 42195 m. Every count above is a floor division of the length you entered, and every leftover is the remainder in metres. Count times the piece plus the leftover returns your input exactly.
Every count is a floor division, and every leftover is that division's remainder.

3. Every unit and the division that produced it

One length, six rows. Each value is recomputed from the same canonical metres.

—

4. The length broken into whole pieces

Count times the piece plus the leftover returns the length exactly.

—

Change the length or read every formula on this page.

The marathon constant is fixed at 42.195 km, or 42195 m. There is no pace field, no time field and no second distance to choose.

or press Enter

People reach this page looking for the marathon distance in km, in metres, in miles or in yards. Those names point at one fixed constant, so this is one page: the exact conversions, the rounded versions and the gaps between them are all here, with no second page to open.

Why the two rounded descriptions are both short

The standard is a metric number: 42195 m. The two imperial descriptions in common use were not built from that number, so neither lands on it. One mile is exactly 1609.344 m and one yard exactly 0.9144 m. Twenty-six miles are therefore 41842.944 m and 385 yards are 352.044 m, giving 42194.988 m in total. That is 0.012 m, or 12 mm, less than 42195 m. The gap is far too small to matter on a measured road course, but it is a real difference between a description and a definition, and it is the reason this page keeps the metric constant as the only standard.

The decimal version is a much coarser rounding. Twenty-six point two miles is 26.2 x 1609.344 = 42164.8128 m, which is 30.1872 m short of a full marathon. That is a difference in length, and this page states it in metres only: it does not compute a time or a pace. The exact value 42195 / 1609.344 = 26.218757456454306 mi is printed above, next to the rounded 26.2, so the two can be compared without leaving the page. Neither 26.2 nor 26 miles 385 yards is used as an input anywhere in the arithmetic below.

The constant also splits cleanly in metric terms. Forty-two whole kilometres leave 195 m, and 105 whole laps of 400 m leave the same 195 m, because 42 x 1000 and 105 x 400 are both 42000 m. Half of 42195 m is 21097.5 m, and that exact half is the only other distance this page mentions. In yards the constant is 42195 / 0.9144 = 46145.013123359580 yd, and in feet 42195 / 0.3048 = 138435.039370078740 ft. All of those are printed to six decimals in the results above and are divisions of the one number you typed, not a table of borrowed values.

Nothing here depends on where or when the distance was first run. This page is about the length itself: one constant, six exact factors, and the arithmetic that connects them. A course that is measured short or long is a different question, and so is what a finish time would be over it. Both are left to other pages on this site, and this page says so rather than quietly answering them.

Every formula used on this page

Canonical length in metres
m = value x factor(unit), where factor(km) = 1000, factor(mi) = 1609.344, factor(m) = 1, factor(yd) = 0.9144, factor(ft) = 0.3048 and factor(lap) = 400. This is the only number the page stores; switching the unit reformats it, it never reads the displayed value back.
The marathon constant
D = 42.195 km = 42195 m exactly. It is a fixed definition on this page, not an input and not a measurement of any one course. There is no distance field for it.
The six conversions
km = m / 1000; metres = m; mi = m / 1609.344; yd = m / 0.9144; ft = m / 0.3048; laps = m / 400. Every factor is exact, so the only rounding on the page is in the printed decimals.
Marathons and the gap
marathons = m / 42195. gap = m - 42195, in metres, printed with an explicit plus or minus sign. A zero gap means the input is exactly one marathon.
Whole-piece breakdowns
For a piece of p metres, count = floor(m / p) and leftover = m - count x p. Five pieces are used: 1000 m, 1609.344 m, 400 m, 42195 m and 100 m. In every row count x p + leftover = m exactly.
26 miles 385 yards
26 x 1609.344 + 385 x 0.9144 = 41842.944 + 352.044 = 42194.988 m. Difference from the constant = 42195 - 42194.988 = 0.012 m.
26.2 miles
26.2 x 1609.344 = 42164.8128 m. Difference from the constant = 42195 - 42164.8128 = 30.1872 m.
The exact mile value
42195 / 1609.344 = 26.218757456454306 mi. Likewise 42195 / 0.9144 = 46145.013123359580 yd and 42195 / 0.3048 = 138435.039370078740 ft.
Metric splits
42 x 1000 = 42000, so 42195 - 42000 = 195 m. 105 x 400 = 42000, so the same 195 m is left after 105 laps. Half is 42195 / 2 = 21097.5 m.

Three worked examples

Every row below is recomputed on load by the same function that drives the results above, from the length printed beside it. Nothing is typed in by hand.

What this page deliberately does not do

Every number above is worked out from the entry you type, in this browser, when you type it. Nothing is uploaded, nothing is saved, and every formula is printed with its arithmetic on this page.

Questions

How long is a marathon in kilometres and metres?

A marathon is exactly 42.195 km, which is 42195 m. That is the fixed constant used across this site. This page takes any length you enter and prints it in kilometres, metres, miles, yards, feet and 400 m laps, then compares it with 42195 m. It has no pace field, no time field and no prediction.

How many miles is a marathon exactly?

26.218757456454306 mi, because one mile is exactly 1609.344 m and 42195 divided by 1609.344 is that number. The familiar 26.2 miles is a rounded way to say it: 26.2 miles is 42164.8128 m, which is 30.1872 m short of 42195 m. This page prints both so the rounding is visible rather than hidden.

Is 26 miles 385 yards exactly the same as 42.195 km?

Not quite. One yard is exactly 0.9144 m, so 26 miles 385 yards is 26 x 1609.344 + 385 x 0.9144 = 42194.988 m. The defined marathon is 42195 m, so the imperial description is 0.012 m, or 12 mm, shorter. This page treats 42195 m as the only standard and uses no rounded imperial phrase as an input to any calculation.

How many 400 m laps is a marathon?

105.4875 laps. That is 105 complete laps of 400 m plus 195.000 m, which is the same 195.000 m that sits after the 42nd whole kilometre. This page does not print a lap-by-lap split table; it gives the count and the leftover, and every division is printed in the formulas section.

Can I enter any length, not just a marathon?

Yes. Type a number and pick the unit it is measured in: kilometres, miles, metres, yards, feet or 400 m laps. The page keeps one canonical value in metres and derives everything from it, so switching the unit does not read the displayed number back and lose precision. The marathon constant stays 42195 m as the comparison, and it never moves.

Does this page predict a finish time or work out a pace?

No. It converts one length and compares it with one fixed distance. There is no time input, no pace input, no recent race result and no finish-time prediction. Turning a pace and a time into a distance is a different tool on this site, and so is predicting a finish time from a race you already ran. This page does neither.

What does this page deliberately not do?

It does not predict a finish time, grade by age or sex, correct for hills or weather, plan training, offer medical advice, print a pace band or a lap-by-lap split table, sync to a device, or accept a pace or a finish time. It has no account, no upload, no saved history and no server-side arithmetic. Every number is worked out locally from the one length you type, and every formula is printed on the page.

Related calculators