Fuel Cost Calculator

The fuel calculator answers the two questions every driver asks: how much a trip costs, and how far a budget will take you. Enter your car’s fuel economy (miles per gallon), the distance and the gas price per gallon — the calculator shows how much fuel you need and what it costs. Switch to the second mode, enter a budget instead of a distance, and see your range. The calculation is instant and runs on your device.

How to use the calculator

Pick a mode. “Trip cost” is the classic: fuel economy, distance, gas price — the result is gallons and dollars, plus the cost per mile for comparing cars and routes. “Range on a budget” is the reverse problem: how many miles a given amount buys. Enter fuel economy as an exact number (decimals work, like 27.4) or nudge it with the steppers. Units switch between miles + US gallons and kilometers + liters.

How the trip cost is calculated

The formula: fuel = distance ÷ fuel economy, cost = fuel × price per gallon. Example: 25 mpg over 200 miles at $3.50 per gallon takes 8 gallons (200 ÷ 25) and costs $28 (8 × $3.50). The reverse problem works through volume: the budget divided by the price per gallon gives gallons, and those gallons carry you distance equal to gallons × fuel economy.

What affects real fuel economy

The figure on the window sticker comes from lab tests; real-world results usually run 10–20% lower. Aggressive acceleration can add up to 15%, speeds above 70 mph raise consumption sharply, a roof box adds 5–15%, and underinflated tires, cold winter warm-ups and a poorly maintained engine all cost extra. For a personal figure: fill the tank, reset the trip odometer, drive 200–300 miles of your normal driving and fill up again — miles driven divided by gallons used gives your true mpg.

How to save fuel

Keep highway speed near 65–70 mph — every 5 mph above costs roughly 7% more fuel. Check tire pressure every couple of weeks. Take the roof box off when you are not using it. Every 100 lb of extra load adds about 1%. In winter, short trips never let the engine warm up, raising consumption 20–30% — combine errands into one run. Gas station apps show nearby prices: the difference between stations a block apart is often 20–30 cents per gallon.

This is an estimate. Actual fuel use depends on your car, the roads and your driving style.

Frequently asked questions

How do I calculate the cost of a car trip?
Divide the distance by your fuel economy to get gallons, then multiply gallons by the price per gallon. Example: 200 miles at 25 mpg = 8 gallons, and 8 × $3.50 = $28. The calculator does this automatically.
How do I find my car’s real fuel economy?
Fill the tank, reset the trip odometer, drive 200–300 miles of your normal driving and fill up again. Divide miles driven by gallons used — that is your real mpg. It usually runs 10–20% below the EPA rating.
How many miles can I drive on $50?
Divide the budget by the price per gallon, then multiply by your fuel economy. Example: $50 ÷ $3.50 ≈ 14.3 gallons, and 14.3 × 25 mpg ≈ 357 miles. The “range on a budget” mode does this instantly.
Why is my real fuel economy lower than the EPA rating?
EPA figures come from standardized lab tests. Real driving adds aggressive acceleration (up to +15%), speeds over 70 mph, extra weight, roof racks (+5–15%), cold-start warm-ups and maintenance issues. Use your own measured figure for trip planning.
How do I convert mpg to liters per 100 km?
Divide 235.2 by the mpg figure. Example: 30 mpg = 235.2 ÷ 30 ≈ 7.8 l/100 km. To go the other way: 235.2 ÷ 7.8 ≈ 30 mpg. Note that the imperial gallon is larger than the US one, so UK mpg figures are about 20% higher for the same car.
How can I save fuel?
Keep highway speeds near 65–70 mph, keep tires properly inflated, take off the roof rack, drop extra cargo, and combine short winter trips into one. Each step saves 1–15% — together they add up to real money on a long drive.

Updated: Oct 16, 2026

Related calculators

Convert 55 currencies at official central bank rates: pick any date, track the pair over a week to a year, compare all currencies at once.
Free VAT calculator: add VAT to a net amount or extract it from a gross amount. Instant results with your country's rates.
Calculate the sale price and your savings. Three modes: simple discount, price before the discount, and stacked discounts (why −20% and −10% make −28%).
Free tip calculator: work out the tip from your bill by percentage or enter the amount manually, see the total to pay and how much each person owes when splitting.
Calculate how much past money is worth today and how much your savings will lose to inflation. Equivalent amounts by year and purchasing power.