Gas Calculator
What will the fuel for this trip actually cost? Enter the miles, your car’s real MPG and the pump price, and this gas calculator returns the gallons, the dollars, and the cost per mile — the three figures every road budget and fuel comparison is built from.
The Three Divisions of Fuel Arithmetic
Every gas question reduces to three operations. Gallons = miles ÷ MPG — the fuel the distance will drink. Cost = gallons × price — the money. Cost per mile = price ÷ MPG — the figure that compares vehicles and eras, because it is the price of motion itself in your car. The chain's honesty lives in the MPG input: the sticker figure is a laboratory result, and real cars in real weather with real loads return 10–20 percent less, which is why the calculator instructs you to use your own observed economy (a month of receipts divided into a month of miles is the gold standard) — the US Department of Energy's fueleconomy.gov publishes both the official ratings and real-world reports for exactly this calibration. With an honest MPG the arithmetic is incorruptible: it has no opinion about your trip, only a quotient.
Worked Example: 900 Miles at 30 MPG and $3.60
The defaults price a long round trip: 900 miles at 30 mpg drinks 30 gallons — 900/30, the cleanest division in the topic — and at $3.60 a gallon the fuel costs $108. The cost per mile is $0.12, the figure to hold onto, because it reprices every other question instantly: a 40-mile detour costs $4.80 in fuel; the commute's 24 miles a day cost $2.88; the vehicle's fuel line in a monthly budget is $0.12 times whatever the month drives. Sensitivity, again the real lesson: at 25 mpg the same trip is 36 gallons and $129.60; at 35 mpg, 25.7 gallons and $92.57 — a $37 swing across the realistic economy range of family cars, which is the entire economics of the MPG figure and why five mpg is worth real money at purchase time. At $4.20 a gallon instead, the defaults' trip becomes $126 — price and economy multiply each other's moods, and the calculator keeps both levers visible.
From Trips to Budgets: The Monthly and Yearly Fuel Figures
The trip calculation scales into the household's standing fuel budget by replacing trip miles with the odometer's monthly confession. A household driving 1,200 miles a month at the defaults' economy and price spends $144 a month — 40 gallons — and $1,728 a year, figures that belong in any honest cost-of-car-ownership accounting beside insurance and depreciation (which usually dwarf them; fuel is the visible cost, not the largest). Commuters should compute their version first: miles are the budget's driver, and the levers ranked by effect are distance (route, carpool, remote days), then economy (the car, its tyres, its roof box), then price (station choice, worth a few percent, never the headline). The cost-per-mile line is the budget's exchange rate: quote any proposed journey, errand consolidation or delivery fee against it, and the household's transport decisions acquire a common currency. Employers' mileage reimbursement rates — the IRS standard rate is the famous one — are this same accounting done officially, bundling fuel with the wear fuel causes; comparing your true cost per mile against the reimbursement rate is a five-minute audit worth doing annually.
Comparing Vehicles and Fuels: Where MPG Misleads
One structural warning belongs in every fuel discussion: MPG differences are not linear in money. Because cost divides by MPG, the saving from 15 to 20 mpg (over 900 miles: 60 gallons down to 45, fifteen saved) dwarfs the saving from 35 to 40 (25.7 down to 22.5, barely three) — the gallons curve is a hyperbola wearing a straight-line costume, and it is why efficiency policy targets the guzzlers and why upgrading a thirsty vehicle pays faster than upgrading an economical one. Countries using litres per 100 km (the consumption form) state the truth linearly, which is why scientists prefer it; the calculator speaks MPG because its readers' pumps do. Alternative fuels slot into the same three divisions with their own units — electricity priced per kWh against miles per kWh, diesel at its own pump price and economy — and the cost-per-mile output is the universal comparator that lets a petrol car, a diesel and an EV stand in one line and be judged, which is the comparison the next purchase will actually turn on.
Splitting the Bill: Passengers, Carpools and Fair Shares
A computed fuel cost is usually a shared cost, and the calculator's outputs support the three fair divisions in common use. Equal split: the trip cost divided by occupants — the defaults' $108 among four travellers is $27 each, the arithmetic of friendship. Cost-per-mile shares: passengers carried for only part of the route pay for their miles at the $0.12 rate — the rider who joins for 300 of the 900 miles owes $36 of fuel by the mile-count method, a figure nobody can argue with because the rate was printed before the trip began. The owner's convention: in many carpools the driver pays nothing toward fuel (the car, insurance and wear are their contribution — recall from the budget section that fuel is the smaller half of true per-mile cost), while rotating-driver carpools simply let the weeks equalise. Whichever convention the group chooses, choosing it from the calculator's figures in advance is what keeps fuel money from becoming the trip's souvenir grievance: the numbers are identical under every convention; only the division is social. Screenshot the calculation before departure and the settlement at the other end takes thirty seconds and no memory at all — the fairest arguments are the ones the arithmetic has already finished before the engine even started.
Related Tools
More from the Everyday Life Calculators hub: the Drive Time Calculator — the same trip in hours — the Grams to Calories Calculator for the other fuel, and the Time Until Calculator for the wait before departure.
Frequently Asked Questions
How much gas does a 500-mile trip take?
At 30 mpg, 16.67 gallons (500 ÷ 30) — costing $60 at $3.60. The division is the whole method: your car's honest economy into your trip's miles. Five hundred miles is a useful standard candle because it spans a tank and a half for most cars, forcing the refuelling question the raw figure hides: 16.67 gallons needed against a 14-gallon tank means one stop, planned where prices are kind rather than where the gauge is desperate.
Is premium fuel worth it in this calculation?
Only if your engine requires or genuinely benefits from it — and the arithmetic exposes the trade: premium at a 60-cent premium over regular raises the 900-mile defaults' cost from $108 to $126 with the same gallons, a $18 toll that only an engine designed for the octane (check the fuel door, not the marketing) can repay in economy or longevity. For the majority of cars rated for regular, premium changes the price input and nothing else, and the calculator's verdict is the receipt's.
How do I find my car's real MPG?
Fill the tank, reset the trip meter, drive normally, and at the next fill divide the trip miles by the gallons that refill took. Two or three cycles averaged give the figure this calculator wants — your car, your roads, your right foot. Dashboard readouts are close seconds (often 5 percent optimistic). The sticker and fueleconomy.gov figures are for comparing cars, not for costing trips; the receipt method is the only one that knows about your roof box, your winters and your commute.
What does a gallon price rise of 50 cents do to my year?
Multiply your annual gallons by 0.50: the defaults' household (480 gallons a year) pays $240 more. The exercise is worth doing at your own figures because it converts pump-price headlines into household numbers — most drivers discover their exposure is a few hundred dollars a year in either direction, real money but a calmer figure than the headlines suggest, and it identifies the true lever: the gallons, which your route and vehicle choices control, matter more than the price, which nobody controls.
How much fuel does idling waste?
A typical car idles away roughly 0.4 gallons an hour, so ten minutes of daily idling — the school-run queue, the winter warm-up — burns about 24 gallons a year, some $88 at the defaults' price, for exactly zero miles: the worst MPG figure in existence, dividing price by nothing. Remote starts and drive-through queues are the usual suspects. The calculator cannot price idling directly (its miles input is zero), but the habit it teaches — gallons are the currency, miles merely one thing they buy — prices it instantly once the hourly rate is known.
How does this work for litres and kilometres?
The same three divisions in metric dress: litres = km × (consumption per 100 km) ÷ 100; cost = litres × price per litre; cost per km = price × consumption ÷ 100. A car at 7 L/100 km driving 900 km uses 63 litres. The calculator's inputs are unit-agnostic in structure — enter miles or km consistently with the economy figure you use — but its labels speak the US gallon dialect, and metric readers should convert their consumption figure to a per-distance economy (km per litre) to use the MPG field honestly: 7 L/100 km is 14.3 km per litre.