Triathlon Tools

Common tools used for running, cycling and swimming.

Miles → Kilometers

miles

→ {{(distance.miles/0.62137)| number}} kilometers

Kilometers → Miles

kilometers

→ {{(distance.kilometers*0.62137)| number}} miles

Pace (minutes/km) → Speed (km/h)

minutes
seconds

→ {{ (60.0 / (speed.pacemin + (speed.pacesec/60.0)))| number}} km/h

Speed (km/h) → Pace (minutes/km)

speed

→ {{ Math.floor(60.0 / speed.speed)|number }}:{{ ('0' + (60 * ( Math.round(((60.0 / speed.speed) - Math.floor(60.0 / speed.speed)) * 100 )/ 100)|number:0)).substr(-2) }} minutes/km

Calculate Speed (km/h)

distance
hours
minutes
seconds

→ {{ (race.distance / (race.hours * 3600 + race.minutes * 60 + race.seconds) * 3600 ) |number:2 }} km/h