Skip to content
Fundamental Analysis

Oil refining and marketing: a margin per barrel, and a gain on the crude in the tanks

An oil marketing company earns in two places — the refinery and the fuel pump — and its reported profit mixes both with gains or losses on crude it simply happened to hold. How to read the gross refining margin, why an inventory gain is not a refining profit, what marketing margins on petrol and diesel depend on, and how upstream producers and gas distributors differ.

Fundamental AnalysisIntermediate14 min read
Browse Fundamental Analysis(169)

An oil marketing company reports a quarterly profit several times the previous quarter’s. The refining margin it reports has jumped. Read the notes and a large part of the jump is an inventory gain: crude prices rose during the quarter, and oil bought earlier at lower prices was sold at higher ones. The next quarter crude falls back, the gain reverses into a loss, and the profit collapses. The refinery was run exactly as well in both quarters.

Think of it like this
The shopkeeper with a godown full of sugar

A shopkeeper buys sugar in bulk and sells it over a month. If the market price of sugar jumps mid-month, the sacks already in his godown are suddenly worth more, and that month’s profit looks wonderful — though he did nothing differently. If the price falls, the same godown produces a loss. His real business is the margin he makes on each kilo he sells; the rest is luck with prices.

In the market

A refiner holds weeks of crude and fuel, so every move in oil prices creates exactly this kind of gain or loss. The refining margin — what it earns for turning crude into products — is the business. The inventory effect is the godown.

Three businesses: refining, marketing, and the oil field

BusinessHow it earnsWhat drives profit
RefiningThe gross refining margin (GRM) per barrel processedProduct cracks (product price minus crude), crude sourcing, refinery complexity, utilisation
Fuel marketingA margin per litre at the pump, and on LPG and other productsRetail prices, which have often been held steady, against the moving cost of fuel
Upstream (exploration and production)Selling crude and gas it producesOil and gas prices, production volumes, levies and government pricing formulas
City gas distributionSelling CNG and piped gasThe spread between gas cost and selling price, and volume growth in its licensed areas
GRM ($/bbl) = Value of products per barrel − Cost of crude per barrel
Crack spread
the gap between one product’s price and crude — diesel cracks, petrol cracks; GRM is roughly the weighted sum of the cracks
Reported GRM
core GRM plus or minus inventory gains and losses

Example: A refinery converts crude into a slate of products worth $8 a barrel more than the crude cost. That $8 is its GRM; after about $3 of operating costs, it keeps about $5 a barrel.

Worked example
A year’s refining profit, and a gain on the tanks
Company R, an illustrative refiner
Crude processed× 7.33 barrels a tonne ≈ 110 million barrels15 million tonnes
Core GRM − operating cost: $8 − $3$5 a barrel
At ₹85 to the dollar≈ ₹4,673 crore core refining EBITDA
Crude rises $10 a barrel; 30 days of stock held≈ 9 million barrels revalued
Inventory gain≈ ₹768 crore
Reported GRMagainst a core of $8.00$8.82 a barrel
About a seventh of the reported profit came from holding crude while its price rose. If crude falls $10 next year, the same stock produces a loss of the same size. That is why analysts ask for the core GRM, and why a quarter with a jump in reported GRM deserves a look at the notes before the headlines.
Loading interactive demo…

Separate the core refining margin from the inventory gain, and see how the reported GRM moves with crude.

The pump price that does not move

Petrol and diesel prices in India are formally market-determined — petrol since 2010 and diesel since 2014 — but in practice the state-owned marketing companies have held them unchanged for long stretches. So the marketing margin per litre swings with crude: when crude rises and pump prices do not, marketing margins shrink or turn negative, and when crude falls, they widen. A falling crude price can therefore hurt a refiner’s GRM through inventory losses while helping its marketing arm. Read the two together, and watch LPG, where selling below cost creates under-recoveries that the government may or may not compensate.

Upstream and gas

An upstream producer’s revenue is its production volume times the price it realises, net of levies such as royalty and cess. Its costs are largely fixed once a field is producing, so profits track the oil price closely — but government levies and pricing formulas can cap how much of a price rise it keeps. City gas distributors are different again: they hold exclusive licences for geographic areas, buy gas and sell it as CNG and piped gas, and earn a spread. Their risks are the cost of gas, especially when cheaper domestic allocation is cut, and competition from electric vehicles.

Check yourself

In a quarter when crude oil prices fell sharply, a refiner’s reported GRM most likely:

Simple bhasha mein
Refinery ka margin, aur tanki mein pade crude ka fayda

Refinery ki kamai = GRM: products ki keemat − crude ka kharcha, per barrel. $8 GRM, $3 kharcha = $5 × 11 crore barrel ≈ ₹4,673 crore. Par crude $10 mehenga hua aur 30 din ka stock pada tha, toh ₹768 crore ka inventory gain — yeh refining nahi, godown ki kismat hai. Crude gira toh yahi ghaata ban jaata. Petrol-diesel ke pump daam aksar lambe samay tak nahi badalte, isliye marketing margin crude ke ulta chalta hai. Windfall tax, gas pricing — sarkar ek faisle se munafa badal deti hai.

What to remember
  • GRM is the value of a refinery’s products minus its crude cost, per barrel; compare it with a regional benchmark.
  • Reported GRM includes inventory gains and losses from crude price moves — separate out the core margin.
  • Marketing margins swing with crude because pump prices are often held steady; refining and marketing can move in opposite directions.
  • Upstream profits track oil and gas prices, subject to levies and government pricing formulas.
  • Policy — taxes, windfall levies, gas pricing, LPG compensation — can reset a segment’s profit overnight.
Finished this lesson?

Mark it done to track your progress through the curriculum.

Common questions

Short, direct answers to what people ask about this topic.

GRM meaning in oil refining
GRM, or gross refining margin, is the difference between the value of all the products a refinery makes — petrol, diesel, jet fuel, LPG and others — and the cost of the crude oil it processed, usually expressed in dollars per barrel. It is the refinery’s gross profit per barrel before operating costs. Companies often compare their GRM with a regional benchmark such as the Singapore GRM, and a higher GRM than the benchmark indicates a more complex or better-run refinery.
what are inventory gains for oil marketing companies
Inventory gains arise because a refiner holds weeks of crude and products in stock. When crude prices rise, that stock — bought at the old price — is valued and sold at the new higher price, inflating reported margins; when crude falls, the same effect creates inventory losses. These gains and losses come from holding stock, not from refining, so analysts separate them to see the core GRM.
how do oil marketing companies earn on petrol and diesel
An oil marketing company earns a marketing margin — the difference between the retail price at the pump, after taxes and dealer commission, and the cost of the fuel it supplies, per litre. Although petrol and diesel prices are formally market-determined, in practice they have been held unchanged for long periods, so when crude rises the marketing margin shrinks or turns negative, and when crude falls it widens.