Driving Distance Calculator
Track your driving distance with our free sports calculator. Get personalized stats, rankings, and performance comparisons.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Driving Distance Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Time = Distance / Speed | Fuel = Distance / MPG | Cost = Fuel x Price
Worked example โ Total time: 8h 15m | Fuel: 15.0 gal ($54.00) | $0.12/mile
Formula
Time = Distance / Speed | Fuel = Distance / MPG | Cost = Fuel x Price
Driving time is distance divided by average speed. Fuel consumption is distance divided by fuel efficiency (mpg). Total trip cost is gallons used multiplied by fuel price per gallon.
Worked Examples
Example 1: Weekend Road Trip Calculation
Problem:Plan a 450-mile road trip at 60 mph average speed, 30 mpg fuel efficiency, $3.60/gallon gas, with 3 rest stops of 15 minutes each.
Solution:Driving time: 450 / 60 = 7.5 hours (7h 30m) Rest stop time: 3 x 15 = 45 minutes Total trip time: 7h 30m + 45m = 8h 15m Fuel needed: 450 / 30 = 15.0 gallons Fuel cost: 15.0 x $3.60 = $54.00 Cost per mile: $54.00 / 450 = $0.12/mile
Result:Total time: 8h 15m | Fuel: 15.0 gal ($54.00) | $0.12/mile
Example 2: Cross-Country Drive Estimation
Problem:Calculate a 1,200-mile cross-country drive at 55 mph average, 25 mpg, $3.80/gallon, with 6 stops of 20 minutes each.
Solution:Driving time: 1,200 / 55 = 21.8 hours (21h 49m) Rest stop time: 6 x 20 = 120 minutes (2 hours) Total trip time: 21h 49m + 2h = 23h 49m Fuel needed: 1,200 / 25 = 48.0 gallons Fuel cost: 48.0 x $3.80 = $182.40 Cost per mile: $182.40 / 1,200 = $0.15/mile
Result:Total time: 23h 49m | Fuel: 48.0 gal ($182.40) | $0.15/mile
Frequently Asked Questions
How is driving time calculated from distance and speed?
Driving time is calculated using the fundamental physics formula: Time = Distance divided by Speed. For example, a 300-mile trip at an average speed of 60 mph takes 300 / 60 = 5 hours of pure driving time. However, real-world driving time is always longer due to rest stops, fuel stops, traffic delays, and speed variations through towns and construction zones. Most trip planners recommend adding 10-15 percent to calculated driving time for these variables. Interstate highway driving typically averages 55-65 mph accounting for speed limit variations, while mixed highway and city driving averages 40-50 mph depending on traffic density.
How do I estimate fuel costs for a road trip?
Fuel cost is calculated by dividing total distance by your vehicle fuel efficiency (miles per gallon) to get gallons needed, then multiplying by the current fuel price. For example, a 500-mile trip in a car averaging 28 mpg requires 500 / 28 = 17.9 gallons. At $3.50 per gallon, fuel cost is 17.9 x $3.50 = $62.50. Keep in mind that highway driving typically achieves better fuel efficiency than city driving, and factors like elevation changes, headwinds, heavy loads, and aggressive acceleration can reduce your actual mpg by 10-25 percent versus EPA estimates. Air conditioning use can also reduce efficiency by 5-10 percent.
What is a good average speed to use for trip planning?
For predominantly interstate highway driving in the United States, 60-65 mph is a realistic average speed that accounts for speed limit variations, occasional slowdowns, and passing through smaller towns. For mixed highway and rural road driving, use 45-55 mph. For trips involving significant city or suburban driving, 30-40 mph is more realistic. In mountainous terrain, reduce estimates by 10-15 mph due to curves, grades, and lower speed limits. European motorway driving averages about 110-120 km/h (68-75 mph), while UK motorway averages are around 60-65 mph. Always check for construction zones or seasonal road closures that might affect your route.
How often should I take rest stops on a long drive?
Safety experts recommend stopping every 2 hours or 100-150 miles for a 10-15 minute break. The National Highway Traffic Safety Administration reports that drowsy driving causes an estimated 100,000 crashes annually. Signs of fatigue include difficulty focusing, frequent yawning, drifting from your lane, and missing exits. For drives over 500 miles, plan at least 3-4 stops including a longer meal break of 30-45 minutes. Professional drivers are legally required to take a 30-minute break after 8 hours of driving. Stretching during stops improves circulation and alertness. If driving with passengers, switching drivers every 2-3 hours significantly reduces fatigue risk.
How do I convert between miles per gallon and liters per 100 km?
To convert miles per gallon (mpg) to liters per 100 km (L/100km), use the formula: L/100km = 235.215 divided by mpg. For example, 28 mpg equals 235.215 / 28 = 8.4 L/100km. The relationship is inverse, meaning higher mpg equals lower L/100km and vice versa. Common equivalencies include: 20 mpg = 11.8 L/100km, 25 mpg = 9.4 L/100km, 30 mpg = 7.8 L/100km, 35 mpg = 6.7 L/100km, and 40 mpg = 5.9 L/100km. European and Japanese markets typically use L/100km, while the United States, United Kingdom, and Canada primarily use mpg (though the UK uses imperial gallons which are 20 percent larger than US gallons).
References
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎRoute Distance Between Coordinates Calculator
Calculate route distance between coordinates with inputs, formulas, and instant results.
๐งฎFlight Distance Calculator
Calculate flight distance with inputs, formulas, and instant results.
๐งฎSpeed Distance Time Calculator
Calculate any of speed, distance, or time when given the other two values.
๐งฎDrive Time Calculator
Estimate driving time between two locations accounting for speed limits and breaks.
๐งฎCarpool Savings Calculator
Calculate how much you save by carpooling based on distance, fuel costs, and passengers.
๐งฎBike vs Car Calculator
Compare the costs, time, and health benefits of cycling vs driving your commute.