Automotive, Travel & Distance Calculators
Plan a drive, estimate fuel costs, work out mileage, or solve speed, time and distance problems. Choose the calculator that matches what you need to find.
What do you want to work out?
Start with the task that best matches your trip or vehicle.
Everyday tools for driving costs, fuel use, mileage, journey planning, speed, time and distance.
How automotive, travel and distance calculations work
Most everyday driving calculations come from a few simple relationships. Distance, time, speed, fuel use, fuel economy and price can be combined to answer common trip-planning questions.
Find distance
Multiply average speed by travel time. For example, 60 mph for 2 hours gives a distance of 120 miles.
Find travel time
Divide the distance by average speed. A 180-mile drive at an average 60 mph takes 3 hours of driving time.
Find gas mileage
Divide the miles traveled by the gallons of fuel used. Driving 300 miles on 10 gallons gives 30 mpg.
Estimate fuel cost
First estimate the gallons needed, then multiply by the price of one gallon of gas.
Speed, distance and time
These three values are directly connected. If you know any two, you can usually calculate the third.
One relationship, three calculations
Distance tells you how far you travel. Speed tells you how quickly you cover that distance. Time tells you how long the journey takes.
150 miles ÷ 3 hours = 50 mph.
50 mph × 3 hours = 150 miles.
150 miles ÷ 50 mph = 3 hours.
Three common driving calculations
These examples show how the same basic values can answer different travel questions.
Estimate fuel needed
The trip would use about 12 gallons if the vehicle averages 30 mpg over the trip.
Estimate fuel cost
At $3.50 per gallon, the estimated fuel cost is $42.00.
Estimate driving time
The estimated driving time is 6 hours, before adding stops or delays.
Fuel economy can be written in different ways
U.S. drivers commonly use miles per gallon. Other countries often use kilometers per liter or liters per 100 kilometers. These values describe fuel use differently, so the formulas must match the unit system.
| Measurement | Common unit | Basic calculation | What it tells you |
|---|---|---|---|
| Distance | Miles (mi) or kilometers (km) | Speed × time | How far the vehicle travels |
| Speed | mph or km/h | Distance ÷ time | Average rate of travel |
| Travel time | Hours, minutes | Distance ÷ speed | Estimated time spent traveling |
| U.S. fuel economy | mpg | Miles ÷ gallons | How many miles are traveled per gallon |
| Fuel needed | Gallons | Miles ÷ mpg | Estimated fuel required for a trip |
| Fuel cost | U.S. dollars | Gallons × price per gallon | Estimated amount spent on fuel |
| Cost per mile | $/mile | Total cost ÷ miles driven | Average travel or vehicle cost for each mile |
| EV energy use | kWh | Distance × energy use per mile | Estimated electricity needed for a trip |
Fuel cost and total driving cost are not the same
A fuel calculator normally looks only at fuel. A broader vehicle cost calculation can also include expenses such as tolls, parking, maintenance or other costs entered by the user.
Spread a total cost across the miles driven
Cost per mile is useful when comparing trips or looking at the average cost of driving over a known distance.
Use the total cost that matches what you want to measure.
The average cost is 30 cents for each mile.
Fuel-only cost per mile will be lower than a calculation that also includes other vehicle or trip expenses.
EV trip costs use electricity instead of gallons
The same basic idea still applies: estimate how much energy the trip requires, then multiply that amount by the electricity price.
Find energy needed
For 200 miles at 0.30 kWh per mile: 200 × 0.30 = 60 kWh.
Apply electricity price
At $0.16 per kWh: 60 × $0.16 = $9.60.
Charging losses can matter
Real charging can use more electricity than reaches the battery. A detailed calculator should state whether charging losses are included.
How the calculators handle your values
Individual tools use different formulas, but they should follow the same basic calculation process.
Identify what you know and what you want to calculate.
Check that required values are present and make sense.
Convert values to compatible units before calculating.
Apply the correct formula using the full input precision.
Show a useful result with the correct unit and sensible rounding.
Why an actual trip can be different
The formulas are straightforward, but real driving conditions can change fuel use, travel time and cost.
Traffic, stops, route changes, weather, driving speed and road conditions can change the actual time and fuel or energy used.
A vehicle’s real fuel economy or energy use can change with speed, load, temperature, terrain, tires and driving behavior. Use a realistic efficiency value when planning a trip.
Which travel calculator should you use?
Many driving calculations use similar information, such as miles, gas mileage, speed, time or fuel price. Start with the question you want to answer, then choose the calculator designed for that job.
Automotive Travel Calculator Finder
What are you trying to work out? Choose a goal to see the calculator that best matches the task.
How much will gas cost for my trip?
Fuel Cost Calculator
Uses trip distance, vehicle MPG and gas price to estimate the amount of fuel needed and its cost.
Open Fuel Cost Calculator →Choose tools based on the type of trip
Road trips, commuting, business travel and EV driving can require different calculations. These are useful starting points.
Road Trips
- How much will gas cost?
- How much fuel will the trip use?
- How long will the drive take?
- What is the total trip cost?
Daily Commuting
- How much does commuting cost each month?
- How many miles do I drive each year?
- How much gas does my commute use?
Business Travel
- What is the mileage reimbursement amount?
- How many business miles were driven?
- What was the travel distance?
Electric Vehicles
- How much will charging cost?
- How much energy will the trip use?
- What is the electricity cost per mile?
Automotive and travel calculator guide
Compare the main input and output of each calculator before choosing the tool you need.
| Calculator | Best for | Typical inputs | Typical output |
|---|---|---|---|
| Fuel Cost Calculator | Estimating gas expenses | Miles, MPG, gas price | Fuel needed and fuel cost |
| MPG Calculator | Checking fuel economy | Miles driven, gallons used | Miles per gallon |
| Distance Calculator | Finding distance from speed and time | Speed, travel time | Distance traveled |
| Travel Time Calculator | Simple trip-time estimates | Distance, average speed | Travel time |
| Average Speed Calculator | Finding average travel speed | Distance, time | Average speed |
| Road Trip Cost Calculator | Broader trip budgeting | Distance, fuel, tolls and other entered costs | Estimated trip cost |
| Commute Cost Calculator | Regular driving expenses | Commute distance, frequency, MPG, fuel price | Estimated monthly or yearly cost |
| Mileage Reimbursement Calculator | Work-related mileage estimates | Miles driven, reimbursement rate | Reimbursement amount |
| EV Charging Cost Calculator | Electric vehicle charging | Energy use, electricity price | Estimated charging cost |
Use several calculators for a complete trip estimate
One calculator may answer one part of a travel question. For a road trip, you can work through several calculations in order.
Start with the number of miles you expect to travel. Use the Distance Calculator when the distance must be calculated.
Use distance and average speed with the Travel Time Calculator .
Combine miles, MPG and gas price with the Fuel Cost Calculator .
Add fuel and other planned expenses with the Road Trip Cost Calculator .
Route distance and travel time can change because of the route, traffic, stops and road conditions. Use these calculations as planning estimates rather than guaranteed journey times.
Typical U.S. driving situations
The right tool depends on whether you are planning a road trip, commuting to work, tracking business miles or charging an EV.
Weekend Road Trip
Distance Calculator Fuel Cost Calculator Travel Time CalculatorFamily Vacation
Road Trip Cost Calculator Fuel Cost CalculatorDaily Commute
Commute Cost Calculator MPG CalculatorBusiness Travel
Mileage Reimbursement CalculatorEV Travel
EV Charging Cost CalculatorKey takeaways
Start with the question you need answered, then choose the tool built for that calculation.
Different driving and travel questions need different calculators.
Fuel cost calculations usually need distance, MPG and the price per gallon.
Simple travel-time calculations use distance and average speed.
Mileage reimbursement uses business miles and the reimbursement rate that applies to the calculation.
Several calculators can work together when you need a more complete trip estimate.
See how driving numbers change a trip
Small changes in distance, gas mileage or fuel price can change the amount of gas a trip uses and what it costs. These examples show the math, then you can compare two trip scenarios yourself.
Follow the calculation from start to finish
Each example uses a common driving question and keeps the units consistent throughout the calculation.
What will a 420-mile drive cost in gas?
Assume the vehicle averages 30 mpg and gas costs $3.40 per gallon.
The trip uses an estimated 14 gallons and costs about $47.60 in gas.
What gas mileage did the vehicle get?
A vehicle travels 336 miles and uses 12 gallons of gas.
The measured fuel economy for that driving period is 28 mpg.
How long does a 275-mile drive take?
Assume an average driving speed of 55 mph.
The estimated driving time is 5 hours before stops, traffic or other delays.
Compare two fuel-cost scenarios
Use the same trip distance and compare two MPG and gas-price combinations. This makes it easy to see how fuel economy and price affect the estimated trip cost.
Trip Scenario Comparison
Enter positive numbers. The comparison uses U.S. miles, gallons and dollars.
Estimated fuel use and cost
Results for a 500-mile trip.
Over 500 miles, Scenario B uses about 5.71 fewer gallons. This comparison covers fuel cost only.
What changes when MPG improves?
With the same distance and gas price, a vehicle with higher MPG needs fewer gallons to complete the trip.
| Measure | Scenario A | Scenario B | Difference |
|---|---|---|---|
| Fuel economy | 25 mpg | 35 mpg | 10 mpg |
| Fuel needed | 20.00 gal | 14.29 gal | ≈ 5.71 gal less for B |
| Fuel cost | $70.00 | $50.00 | $20.00 less for B |
| Fuel cost per mile | $0.140 | $0.100 | $0.040 less per mile for B |
What changes the comparison?
Distance, fuel economy and gas price each affect the result in a different way.
If MPG and gas price stay the same, doubling the distance doubles the estimated gallons used and fuel cost.
A higher MPG value means the vehicle travels farther on each gallon, so less fuel is needed for the same distance.
Changing the price per gallon changes the estimated dollar cost. It does not change the gallons required when distance and MPG stay the same.
