Splitting a Gallon: Pump Price Math by Hand
This page is a calculator in the old sense: a short formula you can run on paper or in a spreadsheet. It takes one posted gasoline price and splits it into the four parts the U.S. Energy Information Administration uses when it explains what drivers pay for: the cost of crude oil, refining costs and margins, distribution and marketing, and taxes. Nothing here predicts prices. It only rearranges numbers you already have.
What the calculation needs
- The pump price you saw, in dollars per gallon.
- A crude benchmark price in dollars per barrel. For U.S. Gulf Coast or Midwest refiners, WTI is a reasonable proxy; for coastal markets that import, Brent is often closer.
- The tax load where you bought the fuel: the federal excise tax (18.4 cents per gallon for gasoline) plus your state’s excise and any local or sales taxes.
- A wholesale gasoline price, if you can find one, such as the RBOB futures price or a regional spot quote. This lets you separate refining from distribution.
The formula, step by step
- Crude per gallon = crude price per barrel ÷ 42. A barrel holds 42 U.S. gallons, so this converts the benchmark into the same unit as the pump.
- Taxes = federal excise + state excise + any local per-gallon tax. If your state uses a percentage tax, multiply the pre-tax price by the rate.
- Refining share = wholesale gasoline per gallon − crude per gallon. This is a gross margin: it pays for running the refinery and leaves profit or loss.
- Distribution and marketing = pump price − taxes − wholesale price. This covers pipelines, terminals, trucks, the station and its margin.
Illustrative example
The figures below are assumptions chosen to show the arithmetic. They are not current prices.
| Input (assumed) | Value | Working |
|---|---|---|
| Pump price | $3.40 / gal | given |
| Crude benchmark | $75 / bbl | 75 ÷ 42 = $1.79 / gal |
| Taxes (federal + an assumed state rate) | $0.18 + $0.30 | = $0.48 / gal |
| Wholesale gasoline | $2.35 / gal | refining = 2.35 − 1.79 = $0.56 |
| Distribution & marketing | 3.40 − 0.48 − 2.35 = $0.57 |
In this made-up case, crude is a little over half of the pump price, taxes are about a seventh, and the rest splits roughly evenly between refining and getting fuel to the nozzle.
Limits of the method
The biggest error comes from timing. A station’s price today reflects fuel it bought days or weeks ago, while the benchmark and wholesale quotes are today’s. When crude is moving fast, the shares can look strange or even negative for a while. The method also assumes the crude benchmark matches what the refinery actually ran, which is rarely exact, and it treats ethanol blending as part of the wholesale price. Use the result as a rough picture of where the money goes, not as an audit of any company.
Sources
- U.S. Energy Information Administration (EIA), “Gasoline explained” and “Diesel fuel explained”
- Internal Revenue Service and Federal Highway Administration, federal motor fuel excise tax
- CME Group, RBOB gasoline futures contract specifications