Gas Cost Calculator
By Marko Visic · Updated Nov 22, 2026
Work out what a drive costs in fuel. Each stretch of road is priced at this week’s EIA average for the state it runs through, with your car’s EPA mpg, the cost per person and the CO₂. Prices from the week of Nov 16, 2026.
Trip
Car
22.2 mpg is EPA’s figure for the typical gasoline car on the road.
Price
Example: Los Angeles → Las Vegas
$63.75
for 271 miles at 22.2 mpg, regular
- Fuel
- 12.2 gal
- Per mile
- $0.24
- Drive time
- 4h 24m
- CO₂ from the tailpipe
- 108 kg (239 lb)
The route is colored by the EIA price that pays for each stretch. Tap it for the state, the price and its share of the trip.
| Where | Miles | Price | Cost |
|---|---|---|---|
| California | 227 | $5.387 | $55.04 |
| Nevada West Coast except California average | 43.9 | $4.405 | $8.71 |
How to use the gas cost calculator
- Enter the trip. Search a start and a destination, add up to four stops, and tick Round trip if you are coming back the same way. Or press Enter miles instead and type the distance.
- Set the car. Type your car’s miles per gallon, or press Look up my car’s mpg to pick the year, make and model and use its EPA combined rating. 22.2 mpg, EPA’s figure for the typical gasoline car on the road, is filled in to start.
- Read the cost. The calculator prices each stretch of road at this week’s EIA average for the state it runs through and adds them up. Type your own price to use one price for the whole trip, and the number of people to split it.
What people use it for
Budgeting a road trip
Pricing the fuel state by state matters when the route crosses a price line, as every drive out of California does.
Splitting gas money
Type the number of people and the calculator divides the total.
Choosing which car to take
Look up each car’s EPA rating and compare the totals for the same trip.
Working out a commute
Press Enter miles instead, type one day’s round trip, then multiply by your working days.
Pricing premium against regular
Switch the fuel grade to see what premium adds. EIA’s premium average is $1.029 a gallon above regular this week.
Gas prices by state this week
EIA’s weekly averages for the week of Nov 16, 2026, the prices the calculator uses. States in the same color band share a price; a state EIA doesn’t survey on its own takes its region’s average, and thick white lines mark where the price area changes. The dots are EIA’s ten city averages. Hover over or tap a state or a city for its price.
EIA, week of Nov 16, 2026. U.S. average $3.805 a gallon.
The lowest regular price among EIA’s states and regions is Texas at $3.216; the highest is California at $5.387.
| Area | Regular | Midgrade | Premium | Diesel | Regular, change |
|---|---|---|---|---|---|
| United States | |||||
| U.S. average | $3.805 | $4.435 | $4.834 | $5.937 | −0.190 |
| Regions (PADDs) | |||||
| East Coast (PADD 1) | $3.707 | $4.233 | $4.635 | $5.782 | −0.140 |
| New England (PADD 1A) | $3.908 | $4.587 | $4.933 | $6.225 | −0.152 |
| Central Atlantic (PADD 1B) | $4.064 | $4.598 | $4.935 | $6.309 | −0.082 |
| Lower Atlantic (PADD 1C) | $3.436 | $3.940 | $4.337 | $5.541 | −0.173 |
| Midwest (PADD 2) | $3.604 | $4.106 | $4.722 | $5.967 | −0.264 |
| Gulf Coast (PADD 3) | $3.293 | $3.837 | $4.181 | $5.547 | −0.188 |
| Rocky Mountain (PADD 4) | $3.696 | $4.065 | $4.332 | $6.011 | −0.250 |
| West Coast (PADD 5) | $4.933 | $5.438 | $5.593 | $6.948 | −0.177 |
| West Coast except California | $4.405 | $4.863 | $5.074 | $6.269 | −0.179 |
| States | |||||
| California | $5.387 | $5.733 | $5.858 | $7.733 | −0.175 |
| Colorado | $3.513 | $3.915 | $4.243 | – | −0.233 |
| Florida | $3.525 | $4.021 | $4.357 | – | −0.201 |
| Massachusetts | $3.872 | $4.522 | $4.911 | – | −0.135 |
| Minnesota | $3.608 | $3.999 | $4.551 | – | −0.241 |
| New York | $4.063 | $4.573 | $4.970 | – | −0.053 |
| Ohio | $3.396 | $4.012 | $4.578 | – | −0.372 |
| Texas | $3.216 | $3.752 | $4.088 | – | −0.192 |
| Washington | $4.714 | $5.050 | $5.252 | – | −0.160 |
| Cities | |||||
| Boston | $3.885 | $4.493 | $4.890 | – | −0.135 |
| Chicago | $4.193 | $4.814 | $5.471 | – | −0.268 |
| Cleveland | $3.445 | $4.160 | $4.842 | – | −0.365 |
| Denver | $3.344 | $3.807 | $4.131 | – | −0.298 |
| Houston | $3.298 | $3.942 | $4.282 | – | −0.191 |
| Los Angeles | $5.387 | $5.789 | $5.830 | – | −0.172 |
| Miami | $3.629 | $4.123 | $4.440 | – | −0.162 |
| New York City | $3.960 | $4.583 | $4.919 | – | −0.052 |
| San Francisco | $5.289 | $5.640 | $5.885 | – | −0.158 |
| Seattle | $4.894 | $5.381 | $5.424 | – | −0.176 |
How the gas cost is calculated
cost = Σ (miles in each state ÷ mpg × that state’s price)
CO₂ = gallons × 8,887 g (gasoline) or 10,180 g (diesel)
The road route comes from Valhalla, an open-source router, on OpenStreetMap roads. The calculator follows the route’s line, finds the state of each stretch from Census Bureau state outlines, and sums the miles in each state, scaled so they add up to the router’s total. Each state’s miles are priced at EIA’s weekly average for that state, or for its region where EIA publishes no state figure. A stretch outside the 50 states and DC, such as a shortcut through Canada, is priced at the U.S. average.
EIA’s prices are volume-weighted averages of a sample of stations, surveyed on Monday at 8 a.m. local time: the cash, self-serve price, taxes included. Its regions are the five Petroleum Administration for Defense Districts, with the East Coast split in three, and its city prices cover the counties EIA lists for each city. Fuel economy is the EPA’s combined city and highway rating from fueleconomy.gov; what a car gets on the road varies with speed, load, weather and upkeep.
Related tools and resources
For the distance and drive time alone, use the distance calculator; for a trip with many stops in the best order, the multi-stop route calculator. The halfway point finder picks a town where two drivers can meet, and the drive time map shows how far you get in an hour or two.
To measure a route on Google Maps instead, see how to measure distance on Google Maps.
Frequently asked questions
Data sources & methodology
Fuel prices: U.S. Energy Information Administration, Gasoline and Diesel Fuel Update, weekly retail prices by area for regular, midgrade, premium and diesel, week of Nov 16, 2026, read by this page at most every six hours. Fuel economy: EPA ratings from the fueleconomy.gov web services (U.S. Department of Energy and EPA). Typical car: 22.2 mpg, and CO₂ of 8,887 g per gallon of gasoline and 10,180 g per gallon of diesel, from EPA’s Greenhouse Gas Emissions from a Typical Passenger Vehicle; new-vehicle averages from the EPA Automotive Trends Report 2025. Road routes: Valhalla on OpenStreetMap data, through the FOSSGIS server. State outlines: US Census Bureau, through us-atlas. Place search: Photon.