Skip to main content
Energy Educational Guide

RIN Costs and the RFS: the Refiner's Hidden Line Item

By Selborne Research ·

How a RIN is generated, separated and retired, who counts as an obligated party, and why a refiner that cannot blend pays a bill the crack spread never shows.

Educational analysis for professional use. This guide is not investment advice or a recommendation to buy or sell any security, and it is not personalised.

Two Refiners, the Same Rule, Very Different Bills

The Renewable Fuel Standard costs a US refiner real money every year, and how much depends less on how well it runs its plants than on whether it owns the equipment that mixes ethanol into gasoline.

That is the whole point of this page. The rule looks like a flat tax on making fuel. It behaves like a transfer from refiners who cannot blend to those who can.

What a RIN Actually Is

Start with the credit, because most explanations start with the obligation and the mechanism never lands.

When an ethanol plant or a biodiesel plant produces a gallon of renewable fuel in the US, that gallon is issued a serial number: a RIN, or Renewable Identification Number. One RIN represents one ethanol-equivalent gallon. The refiner does not create it. The renewable fuel producer does.

The RIN then travels attached to the physical gallon, and it stays attached until that gallon is blended into petroleum fuel. At the moment of blending it separates, and from then on it is a free-standing credit that can be sold to anyone. Separated RINs are what trade; attached ones cannot.

So whoever does the blending ends up holding the credits.

Who Owes What

EPA is required to put a set volume of renewable fuel into the US transport pool each year. For 2025 the total renewable fuel figure was 22.33 billion RINs, of which 7.33 billion had to come from advanced biofuel, 1.38 billion from cellulosic and 3.35 billion gallons from biomass-based diesel. The categories nest: a higher-tier RIN can settle a lower-tier obligation, but not the reverse.

EPA converts those national volumes into percentages. Each obligated party then applies the percentages to its own gasoline and diesel output for the year, and the result is its Renewable Volume Obligation, or RVO. Obligated parties are refiners and importers of gasoline or diesel. There is no size threshold to clear before the rule bites; a refinery running 75,000 barrels a day or less may petition for a small refinery exemption, but it has to show disproportionate economic hardship and EPA decides case by case.

StepWhat happens
EPA sets annual volumes22.33 billion RINs of total renewable fuel for 2025, across four nested categories
A renewable plant makes a gallonA RIN is generated with it and travels attached
The gallon is blended into petroleum fuelThe RIN separates and becomes tradable on its own
A refiner makes gasoline or dieselIts obligation accrues as a percentage of that volume
ComplianceRINs are retired in EPA’s EMTS: ones separated by blending, ones bought, or both

Note the last row. Blending and buying are not alternatives to retirement, they are alternative ways of getting hold of the credits you then retire. Every path ends in EMTS.

Why Blending Decides Who Pays

An integrated refiner with terminals and truck racks blends its own ethanol, separates the RINs and hands them straight back to EPA. Its compliance is largely self-funded.

A merchant refiner that sells product at the gate does none of that. Its obligation accrues on every barrel it makes, and it has to buy the credits from whoever did the blending. It is structurally short, permanently, and the price it pays is set by a market it does not participate in.

Valero is a useful case precisely because it sits on both sides. It runs 2,988 mb/d of refining, which creates the obligation, and it also owns ethanol plants and half of Diamond Green Diesel, which generate RINs. At the 2025 market cost, the obligation on roughly 1.09 billion barrels of throughput was worth about $6.4 billion (1,090.62 million bbl × $5.85). Valero does not write a cheque for anything like that, because a large share comes back through its own renewable businesses. A refiner of the same size with no blending assets would.

The Scale, and How Fast It Moves

Valero prints its RVO cost as a market reference, next to Brent and WTI, defined as the average market price of the RINs in each category multiplied by the quota for that category.

PeriodRVO cost ($/bbl)
FY20243.75
FY20255.85
Q4 2025 alone6.11

The direction is the lesson. RIN prices are a policy market, not a commodity market: the volumes are set by rulemaking and the supply of credits by a farm crop, so prices move on decisions rather than on barrels. D6 RINs traded at $2.37 each on 4 June 2026 and D4 at $2.41, close to their 2021 records and roughly double where they started that year.

Any fixed per-barrel compliance assumption therefore ages badly. The refining model defaults to $3.50/bbl where a company discloses nothing, which sits below both of Valero’s recent prints and flatters the answer in a high-RIN year. Where a filer gives a figure, use it.

Do Not Deduct It Twice

This is where the arithmetic usually goes wrong.

A filed refining margin already carries the cost. Valero’s refining margin is revenue less the cost of materials, and RIN purchases are part of that cost, so the $12.29/bbl it reported for FY2025 is struck after compliance. Valero even publishes its market product margin indicators on an RVO-adjusted basis. Taking $5.85 off $12.29 does not give you a cleaner number, it gives you the cost counted twice.

An indicator crack carries none of it. The 3-2-1 crack is the gap between three barrels of crude and the implied product slate at spot on the same day. There is no compliance in it, no operating cost, nothing. If you are building a margin up from a planning crack rather than starting from a filed one, the RIN line is yours to subtract.

Worked Example: Building Down From the Indicator

Take the $25/bbl planning crack and a merchant refiner that buys every RIN it needs. A real system keeps roughly half of a national crack, which is where to start rather than at the 85-110% capture rate refiners disclose, since that runs against their own internal indicator and not this one.

Compliance belongs above that half-the-crack figure, not below it, because the half is measured off margins that already carry the cost:

Line$/bbl
Planning USGC 3-2-1 crack25.00
Processing margin before compliance, about 73% of the crack18.35
Less compliance, at the 2025 market cost(5.85)
Realised refining margin12.50

Valero calibrates it. It realised $12.29/bbl in FY2025 with $5.85 of RVO cost already inside that figure, so roughly $18 of processing margin per barrel stood behind the number it reported. Run the same build at 2024’s $3.75/bbl and the realised margin comes out at $14.60 rather than $12.50: one year of RIN prices moved it by more than two dollars a barrel on a system where nothing physical changed. Cash operating cost and overhead, roughly $5 to $7/bbl for a large US refiner, come out below that again, which is what leaves about $6/bbl of mid-cycle EBITDA.

Where the Exposure Hurts Most

Most filers fold compliance into cost of sales without breaking it out, which is why a company that does publish the line is worth more than its own numbers.

The swing is what to watch, not the level. RVO cost rose $2.10/bbl between 2024 and 2025. Against Valero’s $12.29/bbl margin that is 17% of it. Against PBF’s $7.72/bbl ($8.77/bbl before special items, in a year hit by a fire at Martinez) it is 27%. Thin margins do not absorb policy shocks, and the systems running thin margins tend to be the ones without blending assets in the first place. The two problems arrive together.

Balance sheets decide how long that can be tolerated. PBF carries roughly $1,620M of net debt against a ~$4.9B market value, Valero about $6.0B against ~$76B. The same cost per barrel weighs differently depending on how much cushion is behind it.

This is also why compliance belongs inside mid-cycle EBITDA normalisation rather than beside it. The crack and the RIN market are driven by different things and do not trough together, so a normalised margin built from a normalised crack alone is missing a cost that has its own cycle.

What This Framework Misses

A cost per barrel is an accounting summary of a policy, and several things sit outside it:

  • Blending capex. Terminals and rack infrastructure turn a net buyer into a net generator. That is a capital decision with a compliance payback, and it never appears in a margin table.
  • Exemptions and litigation. Small refinery exemptions are granted refinery by refinery and have been fought through the courts repeatedly. An exemption granted or withdrawn changes both the recipient’s cost and, by shifting the obligation onto everyone else, the RIN price the rest of the market pays.
  • The category mix. When the obligation tilts towards advanced and biomass-based fuel, D4 and D5 prices drive the bill more than D6 does, and those categories answer to feedstock economics rather than to the corn crop.

The habit worth forming is small. When a refiner quotes a margin, find out whether compliance is disclosed separately. If it is, the number is a live input. If it is not, the cost is already inside the margin, and the thing you still do not know is how much of it came back through the company’s own blending.

Refining Sector Primer

RIN cost eats into merchant refining margin. The primer folds it into the margin bridge behind each archetype valuation.

44 pages
15 sections, 3-2-1 crack
3 worked DCFs
three refiner archetypes + integrated sum-of-parts
6-company screen
capture %, mid-cycle EV/EBITDA, leverage

The Excel model is the primer's three refiner DCFs live across 12 sheets: change the crack spread, capture rate or exit multiple and the valuation moves.

See what's in the Refining Sector Primer → £25 PDF, £59 with the Excel model, or £159 for the full Energy library

Frequently Asked Questions

What are RIN costs for refiners?
Every gallon of renewable fuel made in the US is issued a tradable credit called a RIN (Renewable Identification Number). Refiners and importers must surrender a set number of RINs each year in proportion to the gasoline and diesel they produce. A refiner that blends ethanol itself collects most of the RINs it needs; one with no blending assets buys them. Valero prints the market cost of that obligation alongside Brent and WTI in its results: $3.75/bbl across 2024, $5.85/bbl across 2025 and $6.11/bbl in the fourth quarter of 2025 alone. A filer's reported refining margin is already struck after what it paid, so the figure should not be deducted from it a second time.
How does RFS compliance work for refiners?
EPA sets annual renewable fuel volumes (22.33 billion RINs of total renewable fuel for 2025) and converts them into a percentage each obligated party applies to its own gasoline and diesel output. Obligated parties are refiners and importers of gasoline or diesel, whatever their size, though a refinery running 75,000 barrels a day or less can petition for a small refinery exemption on grounds of disproportionate economic hardship. A RIN is generated by the renewable fuel producer, not the refiner, and travels attached to the physical gallon. It separates when that gallon is blended into petroleum fuel, and only separated RINs trade. Every compliance path ends the same way: RINs are retired in EPA's EMTS against the obligation. D6 covers conventional renewable fuel, in practice mostly corn ethanol; D4 is biomass-based diesel, D5 advanced biofuel, D3 and D7 cellulosic.
Why are RIN costs a hidden line item?
A crack spread is a difference between two market prices and carries no compliance cost at all, so the RIN bill sits below a $25/bbl planning crack rather than inside it. Filed margins are the opposite case: Valero's $12.29/bbl FY2025 refining margin already absorbs what it actually paid, so subtracting the RVO figure from it counts the cost twice. What decides the burden is blending. Valero owns ethanol plants and half of Diamond Green Diesel, so it generates RINs against its own obligation; a merchant refiner with no blending assets buys every one it needs at whatever the market charges.