ForHosting KIT · Health & fitness

Marathon time predictor calculator

A 10 km race run in 40 minutes points to a marathon of about 3:04:00, at 4:22 per kilometre. Enter one shorter race you trust, in kilometres and seconds, and get a goal time you can check by hand. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Known distance km
10
Known time seconds
2,400
You get
Predicted marathon seconds
11,040.4783998
Predicted marathon formatted
3:04:00
Known time formatted
40:00
Marathon distance km
42.195

A marathon time predictor calculator turns one trusted shorter race into a realistic 42.195 kilometre goal before you write a sixteen-week plan. Pete Riegel's endurance model scales a known distance D1 and finish time T1 to the official marathon with a single power: T2 equals T1 times the ratio 42.195 over D1, raised to one point zero six. The exponent a little above one is why a forty-minute ten-kilometre does not simply multiply by 4.22 into a marathon; average pace slows as the race lengthens. This capability locks the target at the World Athletics marathon, accepts kilometres and seconds only, and rejects missing or non-numeric fields so a blank form never invents a Boston-qualifying fantasy. Use it after a five-kilometre, ten-kilometre, fifteen-kilometre, or half-marathon result when you want a transparent clock time you can recompute by hand.

How the Riegel marathon time predictor works

Start from one completed race that is shorter than a marathon and that you trust: a measured course, a chip or gun time you would write in a training log, and no huge downhill that made the clock unrealistic. Convert that finish into total seconds so the arithmetic stays unit-clean. A twenty-five-minute five-kilometre is one thousand five hundred seconds; a forty-minute ten-kilometre is two thousand four hundred seconds; a ninety-minute half marathon is five thousand four hundred seconds.

Send the race length in kilometres, not miles, because the official marathon is defined as 42.195 kilometres and mixing units would inflate the projection by about sixty percent. Riegel's 1977 endurance rule then sets the predicted marathon time T2 equal to T1 multiplied by the quantity 42.195 divided by D1, all raised to the classic exponent one point zero six.

When D1 is a five-kilometre the ratio is large and the predicted pace is noticeably slower than 5K pace, which matches how recreational and elite athletes actually slow from 5K to 42.2 kilometres. When D1 is a half marathon the ratio is exactly two, so the formula reduces to T1 times two to the one point zero six, a number coaches have used for decades as a first marathon goal.

The exponent is fixed at one point zero six for reproducibility; this page does not fit a custom exponent from a multi-race history and does not age-grade the result. After the power is evaluated the response cleans floating-point noise to stable significant digits, formats both the known race and the predicted marathon as clock strings, and reports the distance ratio plus seconds-per-kilometre paces so you can audit every intermediate step on paper.

Where a marathon time predictor calculator earns its keep

First-time marathoners constantly ask what a recent ten-kilometre or half-marathon says about a spring or autumn 42.2 kilometre goal, and a single trusted oracle that returns seconds plus a readable clock string speeds plan writing and family conversations. Club coaches who write sixteen-week schedules need a documented formula athletes can recompute by hand rather than a black-box machine-learning estimate that changes when the vendor retrains.

Race directors and charity-team apps that show projected finish bands for pacing groups want the official marathon distance baked in so nobody types 26.2 miles against a kilometre 10K by mistake. Data engineers preparing synthetic marathon datasets for pacing dashboards need deterministic finish labels from known shorter races without network calls or model drift. If you later need a free target distance, pure pace unit conversion, age-graded scoring, or multi-race custom exponent fitting, treat those as separate search intents and landings rather than overloading this marathon time predictor calculator.

Always frame results as educational planning estimates, not medical or performance guarantees; course hills, weather, fueling, taper quality, and fitness changes can move a real marathon well away from any closed-form projection.

First marathon goal setting

Turn a recent 5K, 10K, or half-marathon finish into a transparent 42.195 km goal time with classic Riegel scaling before you write the long-run progression.

Club coaching and pacing bands

Coaches and charity teams project marathon finish bands from shorter tune-up races so pace-group signs and sixteen-week plans share one auditable number.

How does this marathon time predictor calculator work?

It applies Riegel's endurance model T2 = T1 × (42.195 / D1)^1.06. Send the shorter race in kilometres and its finish in seconds; the target is always the official marathon.

Which shorter races can I use as input?

Any positive distance strictly under 42.195 km. Common pairs are a 5K, 10K, 15K, 10 mile converted to kilometres, or a 21.0975 km half marathon with the matching finish time in seconds.

What units should I send?

Distance must be kilometres. Time must be total finish seconds (2400 for a 40-minute 10K, 5400 for a 1:30:00 half). Miles and clock strings are not accepted.

What happens if a field is missing or not a number?

The same error applies to zero, negative, non-finite values, and a known distance at or above 42.195 km.

What does the marathon time predictor cost?

The browser tool is free and runs locally.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/health/marathon-time-predict

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/health/marathon-time-predict \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"known_distance_km":10,"known_time_seconds":2400}'
{
  "known_distance_km": 10,
  "known_time_seconds": 2400
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "health.marathon_time_predict",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

How the Riegel marathon time predictor works

The pipeline is deterministic floating-point arithmetic only: no random seeds, no wall-clock timestamps, no network calls, and no model drift, so the same shorter-race pair always returns the same JSON.

What you send, what you get back, and how errors behave

Send two required fields. Typical pairs are five kilometres in one thousand five hundred seconds, ten kilometres in two thousand four hundred seconds, and 21.0975 kilometres in five thousand four hundred seconds. A known distance at or above 42.195 kilometres also fails, because this calculator predicts a marathon from a shorter race rather than echoing a marathon you already ran. Convert hours and minutes to total seconds in your form before calling if athletes type 1:30:00; the published contract does not parse locale clock strings. Known_distance_km is the length of the completed shorter race in kilometres and must be a finite number strictly greater than zero and strictly less than 42.195; aliases distance_km, d1_km, race_distance_km, and known_km are accepted. Known_time_seconds is the finish time of that race in total seconds and must be a finite number strictly greater than zero; aliases known_time, time_seconds, t1, seconds, and finish_time are accepted. Missing fields, empty strings, non-numeric text, NaN, Infinity, zero, and negative values fail with invalid_input and are not charged. On success the response returns predicted_marathon_seconds as a cleaned second count, predicted_marathon_formatted as an H:MM:SS clock string, the cleaned known_distance_km, known_time_seconds, and known_time_formatted, marathon_distance_km fixed at 42.195, the distance_ratio 42.195 over D1, the fixed exponent one point zero six, pace_known_sec_per_km and pace_predicted_sec_per_km, pace_predicted_formatted as a per-kilometre clock, formula T2 equals T1 times open parenthesis 42.195 over D1 close parenthesis to the one point zero six, method riegel, unit_time seconds, and unit_distance km. Pricing for successful API calls is the published base of $0.002 per item; validation failures do not consume prepaid balance.

Where a marathon time predictor calculator earns its keep

Sports-science classrooms still teach Riegel scaling next to VDOT tables and critical-speed models, so matching hand arithmetic to API output matters more than asymptotic cost when students check a forty-minute 10K against a three-hour-class marathon. Because this capability is a pure parse engine, API pricing is the published base of $0.002 per successful item and failed validation does not consume balance.

Classroom and API fixtures

Sports-science courses and race apps pin deterministic marathon predictions in homework keys and regression tests without network calls or model drift.

Read the full KIT documentation →