Everyday Calculators

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.

Designed for Everyday driving and travel
Measurements U.S. and metric units
Method Clear formulas and assumptions
Automotive, Travel & Distance

Everyday tools for driving costs, fuel use, mileage, journey planning, speed, time and distance.

Browse Everyday Calculators

Formulas & Calculation Method

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.

Distance

Find distance

Distance = speed × time

Multiply average speed by travel time. For example, 60 mph for 2 hours gives a distance of 120 miles.

Time

Find travel time

Time = distance ÷ speed

Divide the distance by average speed. A 180-mile drive at an average 60 mph takes 3 hours of driving time.

Fuel economy

Find gas mileage

MPG = miles driven ÷ gallons used

Divide the miles traveled by the gallons of fuel used. Driving 300 miles on 10 gallons gives 30 mpg.

Fuel cost

Estimate fuel cost

Fuel cost = (distance ÷ MPG) × price per gallon

First estimate the gallons needed, then multiply by the price of one gallon of gas.

Core relationship

Speed, distance and time

These three values are directly connected. If you know any two, you can usually calculate the third.

The basic idea

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.

Find speed Speed = distance ÷ time

150 miles ÷ 3 hours = 50 mph.

Find distance Distance = speed × time

50 mph × 3 hours = 150 miles.

Find time Time = distance ÷ speed

150 miles ÷ 50 mph = 3 hours.

Simple examples

Three common driving calculations

These examples show how the same basic values can answer different travel questions.

Example 1

Estimate fuel needed

360 miles 30 mpg
Fuel needed = 360 ÷ 30 = 12 gallons

The trip would use about 12 gallons if the vehicle averages 30 mpg over the trip.

Example 2

Estimate fuel cost

12 gallons $3.50/gal
Fuel cost = 12 × $3.50 = $42.00

At $3.50 per gallon, the estimated fuel cost is $42.00.

Example 3

Estimate driving time

360 miles 60 mph average
Time = 360 ÷ 60 = 6 hours

The estimated driving time is 6 hours, before adding stops or delays.

Fuel calculations

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.

Common automotive and travel measurements
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
Vehicle costs

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.

Cost per mile

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.

Formula Cost per mile = total cost ÷ miles driven

Use the total cost that matches what you want to measure.

Example $90 ÷ 300 miles = $0.30/mile

The average cost is 30 cents for each mile.

Important Define what “total cost” includes

Fuel-only cost per mile will be lower than a calculation that also includes other vehicle or trip expenses.

Electric vehicles

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.

Step 1

Find energy needed

Energy = distance × kWh per mile

For 200 miles at 0.30 kWh per mile: 200 × 0.30 = 60 kWh.

Step 2

Apply electricity price

Charging cost = kWh × price per kWh

At $0.16 per kWh: 60 × $0.16 = $9.60.

Real-world use

Charging losses can matter

Battery energy ≠ always wall energy

Real charging can use more electricity than reaches the battery. A detailed calculator should state whether charging losses are included.

Calculation process

How the calculators handle your values

Individual tools use different formulas, but they should follow the same basic calculation process.

1 Define

Identify what you know and what you want to calculate.

2 Validate

Check that required values are present and make sense.

3 Normalize

Convert values to compatible units before calculating.

4 Calculate

Apply the correct formula using the full input precision.

5 Present

Show a useful result with the correct unit and sensible rounding.

Real-world results

Why an actual trip can be different

The formulas are straightforward, but real driving conditions can change fuel use, travel time and cost.

Trip calculations are estimates

Traffic, stops, route changes, weather, driving speed and road conditions can change the actual time and fuel or energy used.

Vehicle efficiency is not constant

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.


Calculator Guide

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.

Interactive tool

Automotive Travel Calculator Finder

What are you trying to work out? Choose a goal to see the calculator that best matches the task.

Recommended calculator

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 →
Common driving questions

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.

Quick comparison

Automotive and travel calculator guide

Compare the main input and output of each calculator before choosing the tool you need.

Common automotive, travel and distance calculators
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
Trip planning

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.

1 Find the distance

Start with the number of miles you expect to travel. Use the Distance Calculator when the distance must be calculated.

2 Estimate driving time

Use distance and average speed with the Travel Time Calculator .

3 Estimate fuel cost

Combine miles, MPG and gas price with the Fuel Cost Calculator .

4 Build the trip budget

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.

Everyday examples

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.

Quick summary

Key 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.

Examples & Comparison

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.

Worked examples

Follow the calculation from start to finish

Each example uses a common driving question and keeps the units consistent throughout the calculation.

Fuel cost 1

What will a 420-mile drive cost in gas?

Assume the vehicle averages 30 mpg and gas costs $3.40 per gallon.

420 miles 30 mpg $3.40/gal
Gallons = 420 ÷ 30 = 14
Fuel cost = 14 × $3.40 = $47.60

The trip uses an estimated 14 gallons and costs about $47.60 in gas.

Gas mileage 2

What gas mileage did the vehicle get?

A vehicle travels 336 miles and uses 12 gallons of gas.

336 miles 12 gallons
MPG = miles ÷ gallons
MPG = 336 ÷ 12 = 28

The measured fuel economy for that driving period is 28 mpg.

Travel time 3

How long does a 275-mile drive take?

Assume an average driving speed of 55 mph.

275 miles 55 mph
Time = distance ÷ speed
Time = 275 ÷ 55 = 5 hours

The estimated driving time is 5 hours before stops, traffic or other delays.

Interactive comparison

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.

Your values

Trip Scenario Comparison

Enter positive numbers. The comparison uses U.S. miles, gallons and dollars.

miles
Scenario A
mpg
$/gal
Scenario B
mpg
$/gal

Comparison

Estimated fuel use and cost

Results for a 500-mile trip.

Scenario A
Fuel economy 25 mpg
Fuel needed 20.00 gal
Fuel cost $70.00
Fuel cost per mile $0.140/mi
Scenario B
Fuel economy 35 mpg
Fuel needed 14.29 gal
Fuel cost $50.00
Fuel cost per mile $0.100/mi
Difference Scenario B uses less fuel and costs $20.00 less.

Over 500 miles, Scenario B uses about 5.71 fewer gallons. This comparison covers fuel cost only.

Default comparison

What changes when MPG improves?

With the same distance and gas price, a vehicle with higher MPG needs fewer gallons to complete the trip.

Example comparison for 500 miles at $3.50 per gallon
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
Reading the results

What changes the comparison?

Distance, fuel economy and gas price each affect the result in a different way.

Distance Longer trips increase total fuel use

If MPG and gas price stay the same, doubling the distance doubles the estimated gallons used and fuel cost.

Fuel economy Higher MPG means fewer gallons

A higher MPG value means the vehicle travels farther on each gallon, so less fuel is needed for the same distance.

Gas price Price changes cost, not gallons

Changing the price per gallon changes the estimated dollar cost. It does not change the gallons required when distance and MPG stay the same.


Discover Cars Rental