Gallonly ES

Car fuel cost and MPG calculators

Free calculators built on official EPA ratings and dated EIA fuel prices. For example, a 2026 Honda Civic costs about $1,810 a year to fuel at U.S. average prices, and 30.0 MPG = 7.8 L/100 km. Pick a tool and use your own car, state and mileage.

No EPA rating for your truck? Use your own MPG in the fuel cost calculator, or see the heavy-duty pickup guide with diesel and gasoline prices by state.

What each tool does

ToolYou enterYou get
Fuel cost calculatorA car, state, miles a yearCost per year, month, mile and 100 miles
EV vs gas calculatorAn electric car, a gas car, state, miles, yearsFuel cost difference per year and over time
Trip fuel cost calculatorDistance, a car or your own efficiency, stateTrip cost and fuel or electricity used
MPG converterOne value in any fuel economy unitThe same value in the other four units
Hybrid savings calculatorA model, the hybrid price difference, milesYearly fuel saving and payback time
Compare carsUp to four cars, state, milesSide-by-side efficiency, range and fuel cost

One engine behind every tool

Every calculator uses the same cost formulas and the same EPA and EIA data as the car pages and state pages, so a number on a tool matches the number you see elsewhere on the site for the same car, state and mileage.

Costs are rounded to the nearest $10, and every difference is calculated from the rounded values so the numbers always add up. Prices carry the month they apply to, and nothing is estimated where official data is missing.

Frequently asked questions

Where do the numbers come from?

Vehicle efficiency comes from the EPA and U.S. Department of Energy fueleconomy.gov database for model years 2000 and newer. Gasoline, diesel and residential electricity prices come from the U.S. Energy Information Administration (EIA), by state or region. See the methodology.

Are the results exact?

They are estimates from official ratings and monthly average prices. Real fuel use depends on how, where and in what weather you drive, and the price at your pump can differ from the state average.

Can I use my own prices?

Yes. Every calculator that uses fuel or electricity prices lets you type your own price per gallon or per kWh, which replaces the state average.

Do the tools cover electric and plug-in hybrid cars?

Yes. Electric cars are costed from kWh per 100 miles and plug-in hybrids from EPA's utility factor. Hydrogen and natural gas vehicles are not costed because there is no reliable official price series.

Data and freshness

Where the numbers come from and how fresh they are:

Vehicles: EPA/DOE fueleconomy.gov file of Sep 29, 2026 · Prices: EIA monthly retail gasoline (Sep 2026) and residential electricity (Jul 2026), U.S. average or the state or region you pick · 15,000 miles a year unless you change it · EPA combined rating (55% city, 45% highway)