Calculation Method

Distance constants, cumulative-time formulas, rounding rules and the limits behind PaceRibbon results.

Explicit distance constants

Constants used by all tools
DistanceInternal millimetresKilometres
1 kilometre1,000,0001
1 mile1,609,3441.609344
Half marathon21,097,50021.0975
Marathon42,195,00042.195

Entered total durations use whole milliseconds. Named distances use the constants above. Custom decimal distances are converted using their selected unit, then rounded to the nearest millimetre. Display formatting is separate from calculation.

Cumulative times come from the original target

For an even plan, cumulative time = target time × marker distance ÷ full distance. The final marker uses the original target directly. The table does not repeatedly add a rounded pace. A two-half allocation applies its chosen first-half time before halfway and the remaining time after halfway.

Round once for reading

Non-negative display values use floor(value + 0.5) at the required precision. Cumulative and segment labels are rounded independently, so displayed subtraction or addition can differ by one second. CSV preserves raw distance and cumulative-time values for further arithmetic.

Output and input limits

Practical tool boundaries
ItemLimit
Total distance100 m–100 km
Total duration1 second–48 hours
Unique split markers240
Comparison plans2–4 for the same distance
Finish-time grid rows60
First-half time share45%–55%
Lap length50–1,000 m
Local saved plans20

What is outside the model

The tools do not model fitness, injury, calories, incline, weather, terrain, GPS traces or the placement of course markers. They do not predict a finish at another distance from a previous result. Every output is a mathematical consequence of explicit inputs.