MADE FOR EVERYDAY MATH · FREE TO USE
← Back to calculators
Everyday Calc Lab / Free Tool

Gas Cost Calculator – Estimate Road Trip Fuel Costs

Gas Cost Calculator – Estimate Road Trip Fuel Costs

Wondering how much gas your road trip will cost?
Enter the driving distance, your car's gas mileage, and the price per gallon. This free gas cost calculator estimates fuel expenses for a one-way or round trip. You can also add tolls and split the total with friends.

Free travel cost calculator

Gas Cost Calculator

Estimate your gas budget before you hit the road. All distances use miles and U.S. gallons.

The calculator runs in your browser. Your trip details are not submitted to Everyday Calc Lab.

How to use the gas cost calculator

  1. Enter the one-way distance in miles. Use your planned driving route, not just the straight-line distance on a map.
  2. Choose One way or Round trip. A round trip doubles the distance you enter, assuming the return route is the same length.
  3. Enter your vehicle's MPG. MPG means miles per gallon. Use a realistic estimate for the car you'll drive.
  4. Enter the gas price per gallon. Use the price you expect to pay at the pump. The default is an example, not a live price.
  5. Add any tolls for the entire trip. If you selected Round trip, include both directions in this field.
  6. Choose how many people will split the cost. The calculator divides gas and tolls evenly and handles leftover pennies.
  7. Click Calculate trip cost. You'll see estimated gallons, fuel cost, trip total, and each person's share.

How to calculate gas cost for a trip

You'll need three numbers: how far you're driving, how many miles your car gets per gallon, and how much a gallon of gas costs. Divide your trip distance by MPG to estimate gallons used. Then multiply the gallons by the price per gallon.

Gallons needed = Total driving miles / MPG
Gas cost = Gallons needed x Gas price per gallon
Trip total = Gas cost + Total tolls

For a round trip, double the one-way distance first. The calculator rounds the estimated gas cost to the nearest cent before adding the tolls you've entered.

Example: A 360-mile round trip with friends

Let's say your destination is 180 miles away. You're driving there and back in a car that averages 30 MPG, and you're budgeting $3.50 per gallon. You expect to pay $8 in tolls for the entire round trip.

Trip detailExample
One-way distance180 miles
Round-trip distance360 miles
Fuel economy30 MPG
Gas price$3.50 per gallon
Gas needed12 gallons
Estimated gas cost$42.00
Tolls (both directions)$8.00
Trip total$50.00
Split among 3 peopleTwo pay $16.67; one pays $16.66

Everyone's contribution adds up to exactly $50.00. The prices in this example are made up for illustration and do not represent current gas prices in any state.

What if you don't know your car's MPG?

You can check your vehicle's fuel economy information at FuelEconomy.gov, or use a number you've measured from recent fill-ups. A car's real-world MPG can differ from its published estimate because of speed, traffic, weather, road conditions, and driving habits.

If your route includes lots of stop-and-go traffic or mountain roads, consider using a lower MPG to make a more cautious budget. The U.S. EPA explains why actual fuel economy varies.

How much does gas cost for a 500-mile trip?

For a 500-mile total driving distance, a vehicle averaging 25 MPG would use about 20 gallons. At an example price of $3.75 per gallon, the estimated gas cost is $75.00, before tolls. You can enter 500 miles with One way selected to calculate a 500-mile total route.

Frequently asked questions

Does the calculator include the drive back?

Yes, if you choose Round trip. The tool doubles the one-way distance. If you have already entered your full travel distance, select One way instead to avoid counting those miles twice.

Can I split gas money with friends?

Yes. Enter the number of people sharing the cost. The calculator splits the estimated gas and toll total evenly. When the amount doesn't divide perfectly into whole cents, it shows an exact penny-by-penny split.

Does it look up live gas prices?

No. Enter the price per gallon yourself. Gas prices change by location and station, so the example price is only a starting point.

Does MPG mean miles per gallon?

Yes. This calculator uses U.S. miles per U.S. gallon. It is intended for vehicles fueled by gas or diesel, not electric vehicles measured in kilowatt-hours.

Are tolls doubled for round trips?

No. Only the distance is doubled automatically. Enter the total toll amount for the entire trip, including the return drive if applicable.

Does this include parking, food, or hotel costs?

No. The result includes only estimated fuel cost and the tolls you enter. Add any other trip expenses separately when planning your full travel budget.

Know your gas budget before you go

A road trip is a lot more fun when nobody has to guess what the gas money will be. Put in your route distance, MPG, and expected pump price, then work out a fair split before you leave. One less thing to figure out on the road.

Fuel economy reference: FuelEconomy.gov and the U.S. Environmental Protection Agency. This calculator provides estimates, not live fuel prices or route data.

Just a little heads-up

Our calculators are here to make everyday math easier. For important decisions, check the relevant official details, too.