Pace Converter
Convert running pace between min/km, min/mile, km/h, and mph.
About this tool
Running pace is one of the most important metrics for runners of all levels, yet it comes in different units depending on your location and training context. A pace converter helps you translate between the main formats: minutes per kilometer (min/km) or per mile (min/mile) for steady-state running, and kilometers per hour (km/h) or miles per hour (mph) for speed-based measurements. Whether you're training in Europe using metric units, following a training plan from an English-speaking coach, or simply understanding your performance across different systems, this tool makes those conversions instant and accurate.
To use the pace converter, simply enter your pace or speed in any of the four supported formats and the other values update automatically. If you run at a 6-minute-per-kilometer pace, for example, the tool shows you that this equals roughly 10 km/h, 6:00 per mile, or 6.2 mph. Runners often need this conversion when comparing workout data from different apps, adjusting training zones based on coach recommendations, or traveling internationally and adapting to local race formats and training literature.
The converter handles fractional seconds and high speeds with precision, making it useful for both casual joggers and competitive athletes tracking interval work or tempo runs. Whether you're planning a 5K race strategy, calculating easy run paces for base-building, or simply curious about your current fitness level expressed in different units, this tool provides the clarity you need without needing a calculator or mental math.
Frequently Asked Questions
Code Implementation
# Pace Converter: min/km β min/mile β speed
KM_PER_MILE = 1.60934
def min_km_to_min_mile(min_km: float) -> float:
"""Convert pace from min/km to min/mile."""
return min_km * KM_PER_MILE
def min_mile_to_min_km(min_mile: float) -> float:
"""Convert pace from min/mile to min/km."""
return min_mile / KM_PER_MILE
def pace_to_speed_kmh(min_km: float) -> float:
"""Convert pace (min/km) to speed (km/h)."""
return 60.0 / min_km
def speed_kmh_to_pace(kmh: float) -> float:
"""Convert speed (km/h) to pace (min/km)."""
return 60.0 / kmh
def format_pace(minutes: float) -> str:
"""Format decimal minutes as MM:SS string."""
m = int(minutes)
s = round((minutes - m) * 60)
return f"{m}:{s:02d}"
# Examples
pace_km = 5.0 # 5:00 min/km
pace_mile = min_km_to_min_mile(pace_km)
speed = pace_to_speed_kmh(pace_km)
print(f"Pace: {format_pace(pace_km)} min/km")
print(f" = {format_pace(pace_mile)} min/mile")
print(f" = {speed:.2f} km/h")
# Output:
# Pace: 5:00 min/km
# = 8:03 min/mile
# = 12.00 km/h
# Marathon finish time (42.195 km)
target_hours = 4.0
required_pace = (target_hours * 60) / 42.195
print(f"Sub-4h marathon pace: {format_pace(required_pace)} min/km")
# Sub-4h marathon pace: 5:41 min/kmComments & Feedback
Comments are powered by Giscus. Sign in with GitHub to leave a comment.