A 4:00 marathon with 200 m of climbing and 200 m of descent runs at a flat-equivalent pace of 5:38 per km.
Cardio
Marathon Pace + Elevation Calculator
Turn a target race time on a hilly course into your average race pace and the flat-course pace that takes the same effort.
Result
Average vs flat-equivalent pace
Race-day pace vs the flat-course pace that takes the same effort.
The formula, worked through
- Formula Race-Week Taper Formula + Carb Loading (Burke)
Race-week taper formula: cut volume 41–60% over about 2 weeks while holding intensity and frequency (Bosquet 2007); performance usually improves about 3%.
Related calculators
- Nutrition TDEE Calculator
Estimate your daily energy expenditure with Mifflin-St Jeor + activity factors.
- Nutrition Macro Calculator
Convert calorie targets into protein, carbs, and fat grams for your goal.
- Planning Calorie Deficit Calculator
Estimate required daily calorie deficit for a target timeline and bodyweight change.
- Planning Body Recomposition Planner
Plan body-fat reduction pace, deficit targets, and protein needs around a timeline.
Articles
- 12 min read Marathon Pace and Elevation Adjustments
Marathon pace and elevation: a validated correction for total climb / descent — Strava grade-adjusted pace, Naismith's rule, where they break.
- 7 min read Marathon Pace on a Net-Downhill Course: Boston-Style Walkthrough
Marathon pace math for a Boston-style profile: 145m gain, 290m loss, 200-minute target. The 4:44/km flat-equivalent split and where the model breaks.
- 8 min read The Minetti Curve: Why Downhill Running Is Cheap Then Brutal
How Minetti's 2002 J Appl Physiol paper defines energy cost across grades, where the eccentric load tax dominates, and the practical pacing rule.
Receipt
A 4:00 marathon with 200 m of climbing and 200 m of descent runs at a flat-equivalent pace of 5:38 per km.
- Distance
- 42.2
- Target time
- 240
- Total elevation gain
- 200
- Total elevation loss
- 200
Method and sources. Minetti A.E., Moia C., Roi G.S. et al. (2002) Energy cost of walking and running at extreme uphill and downhill slopes, J Appl Physiol 93(3):1039-1046.
Use it from an agent or code
Any agent can run this calculator by URL: put the inputs in the query string and get JSON back, with the inputs that used defaults and a line to cite (add format=md for markdown). MCP clients reach it through https://aifithub.io/mcp.
The example's answer as JSON, from a shell:
curl -s 'https://aifithub.io/api/run/marathon-pace-elevation?target_distance_km=42.195&target_time_minutes=240&total_elevation_gain_m=200&total_elevation_loss_m=200' Over MCP (POST https://aifithub.io/mcp):
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"run_calculator","arguments":{"calculator":"marathon-pace-elevation","input":{"target_distance_km":42.195,"target_time_minutes":240,"total_elevation_gain_m":200,"total_elevation_loss_m":200}}}} In code, import the same module; it runs where you import it, with no request or key.
import { compute } from "https://aifithub.io/engines/marathon-pace-elevation.js"; Input and output contract, TypeScript types and the guide for agents.