Skip to content

Fuel Cost Calculator

Use this fuel cost calculator to figure fuel cost for a commute, errand or road trip. Enter the distance, your vehicle's fuel efficiency and the fuel price, choose one way or round trip, and see how much fuel you need, the total cost and the cost per mile or kilometer. It works in US units (miles, MPG, dollars per gallon) or metric units (kilometers, litres per 100 km, price per litre).

How it works

US units: fuel needed in gallons = total miles ÷ miles per gallon (MPG).

Metric units: fuel needed in litres = total kilometers × litres per 100 km ÷ 100.

Total cost = fuel needed × price per gallon or litre. Cost per mile or km = total cost ÷ total distance.

Round trip doubles the one-way distance before anything else is calculated.

Formula & methodology

Fuel cost = (Distance ÷ MPG) × Price per gallon
Distance
Total trip miles (doubled for a round trip)
MPG
Miles per gallon
Metric
Litres = km × (L/100 km) ÷ 100

The result assumes constant fuel efficiency. Traffic, speed, hills, cargo, air conditioning and towing can all change real consumption.

Illustrative example

Illustrative road trip: 600 miles each way

These numbers are illustrative. A round trip of 600 miles each way is 1,200 miles. At 30 MPG the car uses 1,200 ÷ 30 = 40 gallons. At $3.50 a gallon the fuel cost is 40 × $3.50 = $140, or about $0.117 per mile.

Metric version (illustrative): a 500 km one-way drive at 6.5 L/100 km uses 500 × 6.5 ÷ 100 = 32.5 litres. At 1.80 per litre that is 58.50 in your local currency.

Hypothetical figures for illustration only.

How to figure fuel cost in plain words

To figure fuel cost, you only need three numbers: how far you will drive, how far your vehicle goes on a unit of fuel, and what that fuel costs. Divide the distance by the efficiency to get the fuel used, then multiply by the price. If your car's efficiency is listed in litres per 100 km, the step changes slightly: multiply the distance by the litres per 100 km and divide by 100.

Because fuel prices change from station to station and week to week, many drivers run the numbers twice, once at the price they expect and once a little higher, to see a realistic range rather than a single figure.

Plan a road trip budget

Fuel is usually only one part of a trip budget. Lodging, food, tolls, parking and attractions often add more than the fuel itself. Add your fuel estimate as one line in the budget calculator so you can see whether the trip fits your monthly spending.

Unexpected costs such as a flat tire or a repair can turn a planned trip into an expensive one. Having savings set aside helps; the emergency fund calculator estimates how much cushion you may want. If you are saving up for a bigger trip, the savings goal calculator shows how much to put aside each month.

  • Fuel: use this calculator for the round-trip distance.
  • Tolls and parking: check the route and destination ahead of time.
  • Lodging and food: estimate per night and per day.
  • Buffer: add a small amount for detours and price changes.

Fuel cost and the cost of owning a car

Cost per mile from this calculator covers fuel only. Owning a car also involves insurance, maintenance, registration and, if you financed it, a monthly payment. To see what a car loan adds, use the payment calculator. For more everyday money tools, browse the personal finance calculators or the full list of financial calculators.

Frequently asked questions

Related calculators

Personal Finance

Budget Calculator

Build a monthly budget and see where your money goes.

Use Calculator
Personal Finance

Emergency Fund Calculator

Estimate how large your emergency fund should be.

Use Calculator
Personal Finance

Savings Goal Calculator

Find out how much to save each month to reach a goal.

Use Calculator
Loans

Payment Calculator

Estimate a monthly loan payment with an optional down payment and a term in months or years.

Use Calculator
Loans

Loan Calculator

Calculate monthly payments and total interest for any fixed-rate loan.

Use Calculator
Personal Finance

Inflation Calculator

See how inflation affects purchasing power over time.

Use Calculator