Gas Calculator

Estimate the fuel cost of a trip from the distance, your vehicle's MPG, and the gas price — and split it among passengers.

mi
mpg
$/ gal
people
Trip fuel cost
$37.50
Gallons needed
10.7
Cost per mile
$0.13

Estimate for a one-way trip. Double the distance for a round trip. Real mileage varies with terrain, speed, and load.

How to use this calculator

Enter the trip distance, your vehicle's fuel efficiency in MPG, the gas price per gallon, and how many people are splitting it. You'll get the total fuel cost, gallons needed, and the per-person share.

How it works

Fuel needed is distance divided by MPG; cost is gallons times price. Splitting divides the total evenly — handy for carpools and road trips.

Worked example

A 300-mile trip at 28 MPG with gas at $3.50 uses about 10.7 gallons and costs roughly $37.50 — about $18.75 each for two people.

Frequently asked questions

How do I calculate the gas cost of a trip?

Divide the trip distance by your vehicle's MPG to get gallons needed, then multiply by the price per gallon. For 300 miles at 28 MPG and $3.50/gallon, that's about 10.7 gallons and $37.50.

How do I split gas costs with friends?

Enter the number of people and the calculator divides the total fuel cost evenly, showing the per-person share for road trips and carpools.

Is this for one way or round trip?

It calculates the distance you enter. For a round trip, double the one-way mileage before entering it.

Why is my real cost different?

Actual fuel use varies with driving speed, terrain, traffic, air conditioning, cargo weight, and how fuel prices change along the route. This is a planning estimate.

Related calculators