Skip to content
All posts

5 min read

How to calculate fuel margin per gallon at a gas station

Fuel margin per gallon is what you sold a gallon for minus what that gallon cost you. Use the landed cost of the fuel actually in your tank (rack plus freight, taxes and fees), not today's rack. Work it out per grade, weight it by gallons sold, and take card fees off to see what you keep.

The formula

Margin per gallon = selling price per gallon − cost per gallon. Most owners talk about it in cents per gallon. For a day or a month, use totals instead of a single posted price, because the price can change during the day: margin per gallon = (fuel sales dollars − gallons sold × cost per gallon) ÷ gallons sold.

Make sure both sides include the same taxes. If your cost per gallon includes fuel taxes, your selling price has to be the posted price that includes them too, or the margin will look far too big or too small.

Which cost to use

The cost that matters is what you paid for the fuel you sold, which is the landed cost of the load in your tank: rack, freight, federal and state taxes, and any fees on the invoice. Today's rack tells you what the next load will cost. It doesn't change what the last one cost. Our post on landed cost walks through building that number from an invoice.

Tanks are rarely empty when a truck arrives, so after a drop you're selling a mix of the old load and the new one. A volume-weighted average cost keeps that honest.

Work it out by grade

Regular, premium and diesel are bought at different prices, sold at different prices and move at different speeds, so each grade has its own margin. One station-wide number can hide a grade that's losing money.

If your dispensers blend midgrade from regular and premium, there's no midgrade load to look up. Its cost comes from the regular and premium costs at your blend ratio. Our midgrade post shows how.

Combine grades by gallons, not by averaging

To get one number for the station, add up the gross profit for every grade and divide by the total gallons. A plain average of the grade margins overstates the grades that sell least.

Take card fees off

Card processing is usually a percentage of the sale, so it grows as your pump price goes up. Gross margin doesn't include card fees, so take them out to see what you actually keep.

Common mistakes

  • Using today's rack instead of the cost of the fuel in the tank.
  • Leaving freight, taxes or fees out of the cost.
  • Comparing a cost that includes taxes with a price that doesn't, or the other way round.
  • Averaging grade margins instead of weighting them by gallons sold.
  • Using the posted price when the price changed during the day, instead of the day's fuel sales dollars.
  • Waiting for month-end, when a bad load or a short drop is already weeks old.

Doing it every day

On paper, a daily margin means pulling gallons and sales by grade from your POS, the cost of each load from its invoice, and keeping a running weighted cost per tank. MyFuelHQ does that from your supplier invoices, your tank gauge and your Gilbarco Passport or Verifone Commander sales, and shows profit per gallon by grade every day, with midgrade at your own blend ratio.