Skip to main content
Viralrang

How Much Will Gas Cost for My Trip? Road-Trip Fuel Math

Three numbers set the fuel bill: miles driven, the MPG you actually get, and today's price. Most bad estimates get the middle one wrong.

By Mohamed Zakrya

Updated · 12 min read

Share
How much will gas cost for my trip How much will gas cost for my trip? Miles driven, divided by the MPG you really get, times today's pump price — then split it US market · miles · gallons STEP 1 · DISTANCE DRIVEN one-way miles × 2 if the round-trip toggle is on Use the map app's driving distance, not straight-line miles. 300 mi one way, round trip on = 600 miles driven STEP 2 · GALLONS distance ÷ real MPG your average, not the sticker No fill-up data? Shade the EPA highway figure down 10–15%. 600 ÷ 28 MPG = 21.43 gallons STEP 3 · COST & SPLIT gallons × price per gallon then ÷ travelers to settle up Enter today's local price — it moves day to day and state to state. 21.43 × $3.20 = $68.57 ÷ 2 = $34.29 each WORKED EXAMPLE · 300 MILES ONE WAY · 28 MPG · $3.20 PER GALLON · ROUND TRIP 600 miles driven ÷ 28 real MPG = 21.43 gallons × $3.20 per gallon $68.57 round-trip fuel Split between 2 travelers: $68.57 ÷ 2 → $34.29 each THE MPG LEVER Same 600-mile round trip: 20 MPG $96.00 28 MPG $68.57 40 MPG $48.00 PRICE MOVES DAILY A $0.40 swing across a state line moves this trip by $8.57. Budget with the average price along the route, not home's pump. FUEL ISN'T THE WHOLE COST Fuel here ≈ 11¢ a mile. The IRS all-in rate is 72.5¢ a mile (2026). Tires, wear and depreciation ride along on every trip too.
Three numbers set the fuel bill: miles driven, the MPG you actually get, and today's price. Most bad estimates get the middle one wrong.

Fuel is the one road-trip expense you can price to the cent before you back out of the driveway. Three numbers decide it: the miles you will actually drive, the miles per gallon your car actually returns, and the price at the pumps you will actually use. Divide, multiply, done. At the fuel cost calculator's defaults — 300 miles one way, 28 MPG, $3.20 a gallon — the answer is 10.71 gallons and $34.29. No regional multiplier, no fine print, no mystery ingredient.

And yet trip fuel estimates miss constantly, almost always low, and almost always for one of two reasons. The first is MPG optimism: people type in the window-sticker rating, a lab figure their loaded, roof-boxed, traffic-bound car will never reproduce, and real driving lands 10–20% below it. The second is a legs problem: they price one direction of a there-and-back trip, or price the full round trip and then compare it against a one-way alternative. Both mistakes are boring. Both are avoidable. And the calculator's structure exists specifically to prevent them, which is why it is worth understanding what each field does before you trust the number it gives you.

The quick answer

If you just need a number to budget with, here it is, one way, at $3.20 a gallon:

One-way distance20 MPG28 MPG40 MPG
100 miles$16.00$11.43$8.00
300 miles$48.00$34.29$24.00
600 miles$96.00$68.57$48.00
1,000 miles$160.00$114.29$80.00
2,000 miles$320.00$228.57$160.00
One-way fuel cost at $3.20 a gallon One-way fuel cost at $3.20 a gallon Round trip? Double it. Different price? Every cell scales in step. ONE-WAY DISTANCE 20 MPG 28 MPG 40 MPG 100 miles $16.00 $11.43 $8.00 300 miles $48.00 $34.29 $24.00 600 miles $96.00 $68.57 $48.00 1,000 miles $160.00 $114.29 $80.00 2,000 miles $320.00 $228.57 $160.00 Highlighted cell: the calculator's defaults. At $4.00 a gallon, multiply any cell by 1.25.
One-way fuel cost at $3.20 a gallon. Round trips double every cell; a different price scales every cell in step.

Three things make this table more useful than it looks. First, everything scales linearly. Driving both ways doubles any cell. Gas at $4.00 instead of $3.20 multiplies any cell by exactly 1.25. A 450-mile drive lands halfway between the 300 and 600 rows. You can stretch these fifteen numbers to cover almost any trip in the country with mental arithmetic alone.

Second, read across a row and notice the 20 MPG column is exactly double the 40 MPG column, every time. That is not a coincidence of the numbers chosen; it is the formula. Cost runs on gallons, gallons run on MPG, and doubling your fuel economy halves both. Fuel economy, not price, is the biggest lever on what a long drive costs you.

Third, the table only holds if the MPG column you pick is the MPG you actually get. That is the input people flatter, and it gets its own section below.

The formula the calculator runs

The fuel cost calculator runs four lines, in this order:

  • distance driven = one-way distance × 2 if round trip
  • gallons = distance driven ÷ MPG
  • cost = gallons × price per gallon
  • per person = cost ÷ travelers
Four lines, one answer Four lines, one answer DISTANCE DRIVEN 300 mi × 2 (round trip) 600 mi GALLONS 600 ÷ 28 MPG 21.43 gal FUEL COST 21.43 × $3.20 per gallon $68.57 PER PERSON $68.57 ÷ 2 travelers $34.29 each Skip the toggle for a one-way price; leave travelers at 1 to keep the whole bill.
One-way miles doubled for the return leg, divided by MPG for gallons, times the pump price for the bill, divided by travelers to settle up.

That is the whole engine. No hidden constants, no lookup tables, nothing you could not do on a napkin. The value of the calculator is not that the math is hard; it is that the structure catches the two classic errors. The distance field is one way on purpose, so you can paste in exactly what a map app reports for the route, and the round-trip toggle handles the doubling so you never have to remember to. The travelers field does the split at the end, after everything else, so nobody divides the wrong intermediate number.

The inputs have sensible guardrails: distance from 10 to 3,000 miles one way, MPG from 10 to 60, price up to $20 a gallon, and one to twelve travelers. That range covers everything from a grocery run in a thirsty truck to a coast-to-coast drive in a hybrid, and if your trip falls outside it, you are probably asking a different question than "what will the gas cost."

One habit worth adopting from the start: use the map app's driving distance for the actual route, not the straight-line distance between cities. Roads bend, and the difference on a mountain route can be substantial. The number your navigation gives you when it says "412 miles, 6 hr 18 min" is the number that belongs in the distance field.

Worked example: the default trip, line by line

Run the defaults by hand once, because after this the calculator is just saving you arithmetic.

300 miles one way, 28 MPG, $3.20 a gallon:

  1. Distance driven: one way, so 300 miles. No doubling.
  2. Gallons: 300 ÷ 28 = 10.71 gallons.
  3. Cost: 10.71 × $3.20 = $34.29.

Flip the round-trip toggle and the first line becomes 600 miles, the gallons become 21.43, and the cost becomes $68.57. Add a second traveler and the split brings it back to $34.29 each — a tidy symmetry: a round trip shared by two costs each person exactly what the one-way drive costs alone. That is not numerology, just the ×2 and the ÷2 cancelling, but it is a useful sanity check when you are staring at the result wondering if you set the toggle correctly.

Notice what never entered the calculation: how long the drive takes, how fast you go, or what kind of road it is. Those things matter enormously, but they matter through the MPG number, not alongside it. A car that cruises the interstate at a steady 65 returns better fuel economy than the same car fighting city blocks, and the only place that difference can show up is the MPG field. Which brings us to the input that breaks most estimates.

Your real MPG is not the sticker MPG

The MPG on the window sticker is a lab figure. Your real number is lower in city traffic, with a loaded car, a roof box, winter gas, or a heavy right foot, and higher on a steady highway cruise. Feed the sticker number into any fuel calculation and you get a systematically optimistic answer — real-world driving typically lands 10–20% below the EPA combined rating.

The fix costs nothing. If you track your fuel economy at all, use your own average: the trip computer's long-term figure, or the number from a few fill-ups. Your history with your car beats any published rating. If you have no data, take the EPA highway figure and knock 10–15% off it for a realistic planning number, more if the route is hilly or stop-and-go. A car rated 33 highway, shaded 15%, plans out at 28 — which is exactly where the calculator's default sits.

The sticker MPG is not your MPG The sticker MPG is not your MPG FROM STICKER TO PLANNING NUMBER EPA highway: 33 MPG − city traffic and stop-and-go − loaded trunk and roof box − winter gas and climate control − hills and a heavy right foot Shade it 10–15%: plan at 28 MPG WHAT THE MISS COSTS · 600-MI ROUND TRIP Budgeted at 33 MPG $58.18 Real bill at 28 MPG $68.57 Under-budgeted by $10.39 on one trip, from one optimistic input Track a few fill-ups and use your own average — it beats any sticker. Doubling MPG halves both the gallons and the bill; no other input has that leverage.
A 33 MPG sticker shaded 15% plans at 28. On a 600-mile round trip that honesty is worth $10.39 — the gap between the $58.18 you budgeted and the $68.57 you spend.

Here is what the optimism costs on the default round trip. Budget the 600 miles at the sticker's 33 MPG and you expect 18.18 gallons and $58.18. Drive it at a real-world 28 and you burn 21.43 gallons and pay $68.57. You under-budgeted by $10.39 on a single trip, from one flattering input. Multiply that across a summer of driving and the gap stops being a rounding error.

The flip side is the good news: MPG is the strongest lever in the whole formula. Doubling it halves both the gallons and the bill, which no realistic change in gas price can match. The 600-mile round trip costs $96.00 at 20 MPG, $68.57 at 28, and $48.00 at 40. If two vehicles are parked in the same driveway, running this calculator twice — once per car — answers "which one do we take?" with a dollar figure instead of a hunch.

Gas price: small number, real money

Price is the input that moves day to day and state to state, so enter today's local price rather than trusting a stale guess. A 40-cent swing on a long drive is real money, and prices genuinely vary that much across a single state line.

How much money? The formula answers precisely: a price swing costs you the swing times the gallons. On the default 600-mile round trip you burn 21.43 gallons, so 40 cents a gallon moves the trip by $8.57. Stretch the trip to 2,000 miles at the same 28 MPG — 71.43 gallons — and the same 40-cent swing is $28.57. Not catastrophic, but enough that pretending gas costs the same everywhere quietly erodes a multi-day budget.

The practical routine: check a fuel-price app for your route before you budget, not just the pump near home. For a single-day drive, the local price is fine. For a multi-day road trip that crosses state lines, use the average price along the way, because that is what your receipts will actually average out to. And if the trip is long enough that you will fill up in three states, resist the urge to model each tank separately; the average does the same job with one input, and the calculator's answer will land within a few dollars of the receipt pile.

Free calculator

Fuel Cost Calculator

Fuel cost for any drive — distance, MPG, and today’s gas price, with round-trip and per-person split.

Open the fuel cost calculator

Round trip, one way, and the commute pattern

The distance field is one way on purpose. Map apps report routes one way; the toggle does the doubling; you never multiply by two in your head, which means you never forget to. That design choice sounds trivial until you catch yourself comparing a round-trip drive against a one-way train fare, an apples-to-oranges mistake the field layout makes hard to commit.

One way, round trip, and the split One way, round trip, and the split 300 miles at 28 MPG and $3.20 a gallon, three ways ONE WAY 300 ÷ 28 MPG = 10.71 gallons × $3.20 $34.29 ROUND TRIP ON × 2 → 600 miles = 21.43 gallons × $3.20 $68.57 SPLIT ÷ 2 $68.57 ÷ 2 travelers: 1–12 fuel only $34.29 each THE COMMUTE RECIPE Enter one-way distance, switch round trip on, multiply by driving days. 20 mi each way → $4.57 a day → × 21 workdays = $96.00 a month
The same 300 miles three ways: $34.29 one way, $68.57 with the round-trip toggle on, and $34.29 each when two travelers split the round trip.

The one-way default also unlocks the commute pattern, which is the most common repeat use of this calculator. Enter your one-way commute distance, switch on round trip to capture both legs of a single day, then multiply the result by how many days you drive. A 20-mile each-way commute at 28 MPG and $3.20 works out like this: 40 miles a day ÷ 28 = 1.43 gallons, × $3.20 = $4.57 a day. Over 21 workdays, that is $96.00 a month — a real line item, and one worth knowing before you accept a job across town or debate moving closer.

Stretch it to a year and the commute is about $1,152 in gas — twelve months of $96.00 — the kind of number that belongs in a cost-of-living comparison next to rent, not discovered one fill-up at a time. And if an offer moves the commute to 30 miles each way, the same recipe reprices it in ten seconds: 60 miles a day ÷ 28 = 2.14 gallons, × $3.20 = $6.86 a day, $144.00 a month. Half again the fuel bill, before you have thought about the extra hour of your life.

The same recipe prices any recurring drive: the weekly trip to your parents, the twice-monthly climbing gym two towns over, the every-Sunday league game. One-way distance, toggle on, multiply by frequency. The calculator handles a single occurrence; the multiplication is yours.

Splitting the tank: four people, one bill

Set the number of travelers and the calculator divides the fuel cost evenly, which is the simplest fair method and the one most groups land on anyway. The split handles up to twelve people, covers fuel only, and happens after every other step, so the per-person figure already reflects the round trip if you toggled it.

Time for the second full worked example. Four friends take an SUV that returns a real-world 20 MPG on a 600-mile-each-way trip, gas at $3.20:

  1. Distance driven: 600 × 2 = 1,200 miles.
  2. Gallons: 1,200 ÷ 20 = 60 gallons.
  3. Cost: 60 × $3.20 = $192.00.
  4. Per person: $192.00 ÷ 4 = $48.00 each.

Now rerun it in the 28 MPG default car: 1,200 ÷ 28 = 42.86 gallons, × $3.20 = $137.14, or $34.29 each. Same four people, same route, and the vehicle choice moves each person's share by nearly $14. When a group owns the decision of whose car goes, this is the two-minute calculation that settles it with numbers instead of vibes.

Two conventions keep group splits friction-free. First, agree on what is in the pot: the even split covers fuel, while tolls and parking are usually shared the same way, and snacks tend to sort themselves out. Second, if one person's car is doing all the driving, some groups add a small per-mile premium on top of the even fuel split to acknowledge the owner's wear and depreciation. That is a fairness call, not a formula, but the section after this one gives you the honest per-mile anchor for it. For the rest of the group-trip ledger — where you sleep, mostly — the hotel vs rental calculator does for lodging what this tool does for fuel.

Fuel is not the cost of driving

The calculator's result is fuel only: the gas that goes in the tank. It is deliberately not the true cost of driving, which also includes tires, maintenance, and depreciation. The IRS pegs all-in driving at 72.5 cents per mile for 2026, several times the fuel-only figure. At the calculator's defaults, fuel runs about 11 cents a mile ($3.20 ÷ 28); the all-in rate is more than six times that.

Fuel is the floor, not the whole bill Fuel is the floor, not the whole bill The same 600-mile round trip, priced two ways Fuel only — 28 MPG at $3.20 a gallon (≈ 11¢ a mile) $68.57 All-in driving — 72.5¢ a mile (2026 IRS rate) $435.00 COMPARING DRIVE VS FLY? Use fuel only. The car exists either way; the trip's extra cost is the gas. TRUE COST OF YOUR MILES? Use the per-mile rate. Tires, wear and depreciation ride on every mile.
The 600-mile round trip is $68.57 in fuel but $435.00 at the 2026 IRS all-in rate of 72.5 cents a mile. Different questions, different numbers.

Both numbers are correct. They answer different questions, and using the wrong one produces confidently wrong decisions in both directions.

Use fuel-only when the car exists either way. Comparing the drive against a flight or a train? Fuel cost is the right number, because insurance, depreciation, and most maintenance happen whether the car sits in the driveway or crosses two states. The marginal cost of choosing to drive is, to a good approximation, the gas. The 600-mile round trip at $68.57 versus two airfares is an honest comparison. Notice, too, that the drive's fuel bill does not grow with passengers while airfares do: alone, that round trip is $68.57 against one ticket; with four aboard it is still $68.57, or $17.14 each, against four tickets. Groups tilt the drive-versus-fly math hard toward driving, and the travelers field prices that tilt directly.

Use the per-mile rate when the miles themselves are the cost. Deciding whether frequent long-distance driving is sustainable, charging a client for travel, or working out what a friend should really pay you for borrowing the car for a 600-mile weekend: 600 × $0.725 = $435.00, not $68.57. The gap between those two figures is the wear you do not see at the pump but absolutely see at trade-in time.

For trip planning, fuel is one line of a bigger sheet — lodging, food, and the rest stack on top, and the trip budget calculator is built for exactly that stacking. Get the fuel line right here, then carry it over.

Gas vs electric for the same trip

If there is an EV in the household, the comparison is the same formula wearing different units. A gas car turns miles into gallons and gallons into dollars; an EV turns miles into kilowatt-hours and kilowatt-hours into dollars. Distance, divided by efficiency, times unit price. The structure is identical, which means the same trip can be priced both ways and compared head to head.

The details on the electric side deserve their own treatment, because the unit price swings far more than gas does: what you pay per kilowatt-hour at home overnight and what a highway fast-charger bills are different animals, and charging losses mean you buy more energy than the battery keeps. Our EV charging cost guide works through all of it with the same worked-example approach as this one, and the electricity cost guide covers what a kilowatt-hour actually costs you at home. Run your usual trip through both formulas once and you will know, in dollars, what the drivetrain difference is worth on the routes you actually drive.

Related guide

What does the same trip cost on electrons?

Battery size times the charge window, divided by efficiency, times your rate — the EV version of this article, with home vs public charging worked through.

Read the guide

Common mistakes to avoid

  • Feeding the calculator the sticker MPG. Real driving lands 10–20% below EPA combined. Use your fill-up average, or shade the highway rating 10–15%.
  • Pricing one leg of a two-leg trip. The distance field is one way; the round-trip toggle exists so the doubling never depends on your memory.
  • Budgeting a cross-country route at your home pump's price. Prices swing 40 cents across state lines; use the average along the route.
  • Comparing mismatched legs. A round-trip drive against a one-way fare flatters the fare. Match the legs before you compare.
  • Splitting before agreeing what is in the pot. The calculator divides fuel evenly among up to twelve travelers; tolls and parking are a separate conversation to have before the trip, not after.
  • Mistaking the fuel bill for the cost of driving. Fuel is roughly 11 cents a mile at the defaults; all-in driving is 72.5 cents (2026 IRS rate). Use each for its own question.

Distance from the map app, MPG from your actual fill-ups, price from the route you will drive. Toggle the return leg instead of doubling in your head, split at the end, and treat the result as the fuel bill it is rather than the total cost it is not. That is the entire discipline, and it turns "probably eighty bucks?" into a number you can defend at the gas station and settle up on the spot.

Free calculator

Get your trip's fuel cost in seconds

Enter the one-way distance, your real MPG, and today's price — it doubles the return leg, totals the gallons, and splits the bill per person.

Open the fuel cost calculator

How Are Loan Payments Calculated? Amortization, Explained

One level payment, front-loaded interest — the formula worked by hand, the two levers you control, and why the smaller payment is often the costlier loan.

July 23, 2026 · 13 min read

How Does Inflation Work? The Math That Shrinks Money

One growth factor, two answers — what today's money will buy later, and how many future dollars it takes to keep up.

July 23, 2026 · 13 min read

How Is Sales Tax Calculated? Rates, Rules, and the Reverse Math

The combined-rate reality, the one-multiplication forward formula, and the division that pulls the tax back out of any total.

July 23, 2026 · 13 min read