Oil Price to Gas Price Calculator

Type a Brent crude oil price below. The calculator estimates what US drivers would pay at the pump, and shows what makes up a gallon: the oil itself, the cost to refine it, fuel taxes, and getting it to your local station. Use it to see how an Iran oil shock or a Strait of Hormuz disruption could hit your gas bill.

$ per barrel
$20$60$100$150$200$250
Advanced assumptions
$ per gallon
$ per gallon
$ per gallon

Defaults reflect typical US averages. Adjust to model regional differences (California taxes are roughly double the US average; refining margins can spike during outages).

Estimated US pump price
$3.61 per gallon
  • Crude (63%) $2.26
  • Refining (15%) $0.55
  • Taxes (14%) $0.50
  • Distribution & marketing (8%) $0.30

Quick scenarios:

Where the pump price comes from

A barrel of oil holds 42 gallons. So if oil costs $84 a barrel and that was the only cost, gas would be $2.00 a gallon. The pump price is higher because three other things get added on top:

Add them all up and the formula is: pump_price = (oil_price / 42) + refining + taxes + station_markup. That is what the calculator above does.

Why gas prices take a few weeks to catch up

When oil prices jump overnight, the gas station does not change its sign the next morning. Stations are still selling gasoline they bought weeks ago, so a new oil price takes a while to show up at the pump. A rough rule: a $10 per barrel jump in oil that sticks around adds about 25 to 30 cents per gallon at the pump within a month. Brief spikes that fade fast often do not fully reach you.

What Iran tensions could do to gas prices

Iran sits right next to the Strait of Hormuz, a narrow waterway that about 20% of the world's seaborne oil passes through (plus about a quarter of the global liquefied natural gas trade). The oil market watches this all the time. When the news sounds warlike, oil prices go up. Peace news brings them back down.

You can see today's IranPeaceDeal probability on the homepage, and how it has tracked Brent and US gasoline futures on the chart there.

To try a scenario, type the oil price the news would suggest and watch the pump price change. A short Hormuz scare that pushes oil $25 to $40 a barrel higher has historically added about 60 cents to a dollar per gallon at the pump over a few weeks. A full closure could push oil into the $130 to $200 range, which would mean US gas prices we have not seen since 2008 and 2022.

What this calculator gets wrong

For how we estimate the daily Iran peace probability that drives this site, see methodology.