Skip to main content
aifithub
endurance Formula

Marathon Pace Elevation Formula

Net elevation gain on a marathon course adds running-economy cost beyond what a flat-course pace predicts. Minetti 2002 quantified the energetic cost: +20 ml O2/kg/km/100m grade uphill, partial recovery downhill. Practical conversion: every 1000m total ascent adds ~12-15 seconds per kilometer to projected marathon pace; downhill recovers about 4-6 sec/km per 1000m descent. Net elevation matters more than total ascent.

By Orbyd Editorial · AI Fit Hub Team
Best Next MoveCardio

Marathon Pace + Elevation Calculator

Convert a target marathon time on a hilly course into the flat-equivalent pace you actually need.

CalculatorOpen ->

On This Page

Education · Not medical advice. Output is deterministic math from your inputs.Editorial standardsSponsor disclosureCorrections

Formula

Copy the exact expression or work through it step by step below.

adjusted_pace_sec_per_km = flat_pace_sec_per_km + (ascent_m_per_km × uphill_cost) − (descent_m_per_km × downhill_credit) uphill_cost ≈ 0.012 to 0.015 sec/m (Minetti 2002) downhill_credit ≈ 0.004 to 0.006 sec/m (asymmetric)

Variables

flat_pace_sec_per_km

Flat-course goal pace

Target marathon pace on a perfectly flat, sea-level course. Use a recent flat-marathon result or a Riegel-extrapolated time. Pace expressed in seconds per kilometer.

ascent_m_per_km

Average ascent per km

Total cumulative elevation gain divided by race distance. NYC Marathon ~8 m/km, Berlin ~2 m/km, Boston ~10 m/km (net downhill but with rolling profile).

descent_m_per_km

Average descent per km

Total cumulative elevation loss divided by race distance. Downhill credit is smaller than uphill cost in magnitude — quad fatigue grows faster than free pace.

uphill_cost

Uphill energetic cost

Pace penalty per meter of vertical gain. Steeper grades cost more nonlinearly above ~10%, but marathon courses rarely sustain that. Use 0.012 for trained marathoners, 0.015 for recreational. Townshend 2009 confirmed this on real marathon data.

downhill_credit

Downhill recovery

Pace credit per meter of vertical loss. Smaller than uphill cost because eccentric quad load accumulates. Above 5% grade, credit drops further as runners brake.

Step By Step

  1. 1

    Get a flat-course goal pace. If your last race was hilly, normalize via Riegel + this formula in reverse.

    Flat goal: 4:30 marathon = 270 min ÷ 42.195 km = 6:24 min/km = 384 sec/km.

  2. 2

    Get course profile: total ascent and total descent in meters.

    Boston Marathon: ~262m total ascent, ~390m total descent over 42.195 km.

  3. 3

    Compute per-km averages: ascent_m_per_km, descent_m_per_km.

    Boston: 262 / 42.195 = 6.2 m/km ascent; 390 / 42.195 = 9.2 m/km descent.

  4. 4

    Apply formula with appropriate constants.

    Adjusted = 384 + (6.2 × 0.013) − (9.2 × 0.005) = 384 + 0.081 − 0.046 = 384.04 sec/km. Boston nets close to flat pace.

  5. 5

    Recompute target time. Beware: even Boston's net downhill DOES add quad damage that costs in later miles. Add 30-60s overall for fatigue compounding.

    Pace 384 sec/km × 42.195 = 4:30:08. Add 60s for cumulative quad fatigue → 4:31:08 realistic target.

Worked Example

Runner with 4:30 flat-marathon ability targeting Boston Marathon

Flat-course goal pace

6:24 min/km (384 sec/km)

Course ascent

262m (6.2 m/km)

Course descent

390m (9.2 m/km)

Adjusted = 384 + (6.2 × 0.013) − (9.2 × 0.005) Adjusted = 384 + 0.081 − 0.046 = 384.04 sec/km Total time = 384.04 × 42.195 = 16,205 sec = 4:30:05

Boston's net-downhill profile is roughly equivalent to a flat course on raw pace math. But quad damage from Heartbreak Hill (mile 20) and the prior descents accumulates — add 30-90s realistic adjustment. Final target: 4:31-4:32 instead of 4:30 flat.

Common Variations

Minetti 2002 raw cost: at 0% grade running costs 3.6 J/kg/m. Each 1% uphill adds about 0.4 J/kg/m. The pace conversion approximates this at marathon paces; very fast runners (sub-3 hour) need slightly lower cost coefficients.
Steeper grades break linearity: above 10% grade most runners are walking, and the energetic cost flattens. Marathon courses rarely sustain >5% grade; trail marathons need a different formula (Skiba 2007).
Altitude correction is separate: above 1500m elevation, VO2 max drops ~3% per 300m. NYC Marathon is sea level so no correction. Mexico City, Denver marathons need ~5-8% pace adjustment beyond the per-km formula.

Try These Tools

Run the numbers next

Sources & References

General fitness estimates — not medical advice. Consult a healthcare professional for medical decisions.