Triathlon Time Calculator Formula
Understand the math behind the triathlon time calculator. Each variable explained with a worked example.
Formulas Used
Total Time (hours)
total_hours = floor(total_min / 60)Total Time (min)
total_remainder_min = round(total_min - floor(total_min / 60) * 60)Swim Leg
swim_time = round(swim_min * 10) / 10Bike Leg
bike_time = round(bike_min * 10) / 10Run Leg
run_time = round(run_min * 10) / 10Variables
| Variable | Description | Default |
|---|---|---|
swim_pace_per_100m | Swim Pace(sec/100m) | 120 |
swim_distance_m | Swim Distance(m) | 1500 |
bike_speed_mph | Bike Speed(mph) | 18 |
bike_distance_mi | Bike Distance(miles) | 24.8 |
run_pace_min | Run Pace(min/mile) | 9 |
run_distance_mi | Run Distance(miles) | 6.2 |
t1_min | T1 (Swim-to-Bike)(min) | 3 |
t2_min | T2 (Bike-to-Run)(min) | 2 |
swim_min | Derived value= swim_pace_per_100m * swim_distance_m / 100 / 60 | calculated |
bike_min | Derived value= bike_distance_mi / bike_speed_mph * 60 | calculated |
run_min | Derived value= run_pace_min * run_distance_mi | calculated |
total_min | Derived value= swim_min + t1_min + bike_min + t2_min + run_min | calculated |
How It Works
How Triathlon Time Is Calculated
Total triathlon time is the sum of all three legs plus transitions.
Formula
Total = Swim Time + T1 + Bike Time + T2 + Run Time
Standard Distances
Worked Example
Olympic distance triathlon: 1500m swim, 24.8mi bike, 6.2mi run.
swim_pace_per_100m = 120swim_distance_m = 1500bike_speed_mph = 18bike_distance_mi = 24.8run_pace_min = 9run_distance_mi = 6.2t1_min = 3t2_min = 2
- 01Swim = 120 * 1500 / 100 / 60 = 30.0 min
- 02T1 = 3 min
- 03Bike = 24.8 / 18 * 60 = 82.7 min
- 04T2 = 2 min
- 05Run = 9 * 6.2 = 55.8 min
- 06Total = 30.0 + 3 + 82.7 + 2 + 55.8 = 173.5 min = 2 hr 54 min
Ready to run the numbers?
Open Triathlon Time Calculator