Gas cost calculator: what your trip costs in fuel

Last reviewed:

Enter the distance, your car’s mpg and the state you fill up in. You get the gas for the trip, each rider’s share, your cost per mile, and what a car with better mileage would save over a year.

By Abiot Y. Derbie, PhD · Reviewed by Eskezeia Y. Dessie, PhD and Armin Allahverdy, PhD · Published · How we check our numbers · Part of Planning tools

Calculator

Starts at the new-vehicle average. Highway trips usually beat the combined figure
Starts at the state average for regular
A hybrid, a rental, or your other car
For the yearly fuel bill and savings

Turn on JavaScript to see your trip’s gas cost.

–
Gas for the trip
–
Each person pays
–
Saved a year at the other mpg
Gas for this trip by fuel economy
Your yearly fuel bill, this car against the other

How to calculate gas cost for a trip

Gas cost = miles ÷ miles per gallon × price per gallon. A 500-mile round trip in a car that gets 25 mpg burns 20 gallons; at $3.50 a gallon that is $70. Split four ways, each person pays $17.50.

Gas prices right now

Regular gasoline averaged $3.64 a gallon nationally in the week of November 23, 2026, down from $3.81 a week earlier (EIA). The West Coast paid $4.80 and the Gulf Coast $3.12.

By state, AAA’s daily average for regular ran from $2.88 in Indiana to $5.58 in Hawaii on November 26, 2026. EIA does not publish every state each week, so state prices come from AAA, and its national figure of $3.56 differs a little from EIA’s because the dates and methods differ.

Gas prices by state

Turn on JavaScript to see every state on the map. The table below has each state’s price.

Average price of regular gas by state

AAA state averages for regular unleaded, November 26, 2026
StateRegular, per gallon
Alabama$3.25
Alaska$4.18
Arizona$3.80
Arkansas$3.18
California$5.39
Colorado$3.31
Connecticut$3.84
Delaware$3.53
District of Columbia$4.02
Florida$3.37
Georgia$3.08
Hawaii$5.58
Idaho$3.77
Illinois$3.75
Indiana$2.88
Iowa$3.31
Kansas$3.32
Kentucky$3.22
Louisiana$3.18
Maine$3.78
Maryland$3.57
Massachusetts$3.73
Michigan$3.67
Minnesota$3.36
Mississippi$3.32
Missouri$3.24
Montana$3.40
Nebraska$3.48
Nevada$4.62
New Hampshire$3.76
New Jersey$3.75
New Mexico$3.37
New York$3.94
North Carolina$2.93
North Dakota$3.39
Ohio$2.90
Oklahoma$3.02
Oregon$4.20
Pennsylvania$4.00
Rhode Island$3.61
South Carolina$3.15
South Dakota$3.37
Tennessee$3.19
Texas$3.07
Utah$3.74
Vermont$3.85
Virginia$3.51
Washington$4.58
West Virginia$3.60
Wisconsin$3.29
Wyoming$3.68

Is a more efficient car worth it?

Fuel savings shrink as mpg rises, because gallons used fall as 1 ÷ mpg. Going from 20 to 30 mpg over 12,000 miles saves 200 gallons a year; going from 40 to 50 saves only 60. Swapping the thirstiest car in the household usually saves the most.

Weigh the yearly saving in the calculator against the extra price of the car, the higher insurance on a newer one, and how long you will keep it.

Questions people ask

How do I calculate gas money for a trip?

Divide the miles by your car’s mpg to get gallons, then multiply by the price per gallon. A 300-mile trip at 30 mpg and $3.50 a gallon is 10 gallons, or $35.

How much gas will a 1,000-mile trip use?

At 25 mpg, 40 gallons. At $3.50 a gallon that is $140. At 35 mpg it falls to about 29 gallons and $100.

What is the average gas price today?

Regular averaged $3.64 a gallon in EIA’s survey for the week of November 23, 2026. State averages ranged from about $2.88 in Indiana to $5.58 in Hawaii in AAA’s survey on November 26.

What is the average mpg of a car?

New vehicles averaged a record 27.2 mpg in real-world driving for model year 2024, according to the EPA. Older cars and pickups usually get less.

How do I split gas money with friends?

Work out the total gas for the trip, then divide by the number of people riding. Some groups leave the driver out, since they supply the car.

How much does it cost per mile to drive?

In gas alone, the price per gallon divided by your mpg: $3.50 at 25 mpg is 14 cents a mile. Insurance, wear and depreciation add more.

Your next decision

Related: Electricity cost · Budget · Grocery budget · Moving cost · All planning tools

Sources

Written by Abiot Y. Derbie, PhD. National and regional prices are EIA’s weekly retail survey; state prices are AAA’s daily averages; the fuel economy default is the EPA Automotive Trends real-world average for new vehicles. Our editorial policy explains how we source numbers and correct mistakes. This is an estimate of fuel only. Prices change daily and your real mpg depends on speed, load and weather.