// Refinery Accounting Handbook — Field Edition

When Crack Spreads Lie
and Accounting Tells the Truth

A controller-grade reference for refinery accounting: crude economics, inventory method distortions, hedge mechanics, RINs policy, and the gap between what the CFO expects and what the P&L shows.

Controller-Grade CFO-Ready Audit-Informed By Kathryn Rivera · Refinery Finance & Accounting
// Controller Scenario Tool — V1
Margin Reality Check: Economics vs. Accounting
Enter market and inventory conditions. The tool shows what a controller should expect on the P&L — and where management may misread the results. Default scenario: 2:1:1 crack spread, rising crude market.
⚠ Directional tool only. Benchmark crack spread ≠ reported accounting margin. Inputs are illustrative; they do not reflect actual market data.
Market Inputs
Accounting Inputs
① Brent benchmark is manually entered for directional analysis. Structure supports future delayed-feed API integration.
② Enter current inventory pool cost: WAC blended average, FIFO oldest-layer cost, or LIFO reference cost.
Benchmark Crack Spread
economic / market view
Accounting Gross Margin
reported on P&L
Econ vs. Accounting Gap
controller explains this
Post-RIN Margin
after compliance cost
Hedge Coverage Signal
impact on margin
Position Signal
controller flag
// Expectation Box — CFO vs. Accounting
CFO / Commercial Expectation
Run scenario to populate.
Accounting Reality
Run scenario to populate.
// Scenario Formula — Showing Your Inputs
Run scenario to populate.
Run the scenario to generate the controller narrative.
// Handbook Contents
Ten Sections. One Controller's Lens.
01
Refinery Business Model
How refineries make money · market vs accounting margin
02
Crude Oil Fundamentals
Light/heavy · sweet/sour · benchmarks · yield implications
03
Crack Spread Deep Dive
2:1:1 default · 3:2:1 · trader vs controller view · timing distortions
04
Inventory Accounting
WAC/FIFO/LIFO · phantom profit · CFO expectation gaps
05
Hedging & Risk Management
Crude vs product hedges · ASC 815 · economics vs accounting
06
RINs & Renewable Credits
Policy judgment · GAAP alternatives · audit sensitivity
07
Revenue & Products
ASC 606 · product mix · blending · byproduct allocation
08
Forecasting & CFO
Why accounting diverges from economics · KPI alignment
09
Systems & Data
PIMS · trading systems · GL reconciliation gaps
10
End-to-End Flow
Crude → inventory → yield → sale → cash → RIN impact
REF
Glossary
25 essential refinery accounting terms
REF
Industry Resources
Curated links: EIA, EPA, ICE, CME, FASB, SEC filings
// SECTION 01
The Refinery Business Model
— A Controller's View
Refineries do not simply convert crude into products. They warehouse price risk, absorb timing mismatches, and operate inside a regulatory framework that imposes real financial costs. The controller's job is to explain why accounting results may look nothing like economics.

How Refineries Make Money

A refinery's core economic activity is the purchase of crude oil, its transformation into refined petroleum products, and the sale of those products at a margin. The margin between the market value of output products and the cost of crude input is commonly called the refinery margin or, in market shorthand, the crack spread.

But this is the commercial team's lens. The controller's task is to translate the economics into accounting results — and to understand, in advance, why those two numbers will differ, sometimes substantially.

Commercial / Economics View
Market Margin

Based on current spot prices for crude and products. Calculated on a prompt-delivery basis. What traders and the CEO watch daily. Subject to intraday movement.

Market Margin = Product Revenue (spot) − Crude Cost (spot) − Variable OpEx
Accounting / Reported View
Reported Margin

Based on actual inventory cost (WAC, FIFO, or LIFO), hedge settlement timing, RIN accruals, and period cut-off. What the P&L shows. Often lags economics by 15–45 days.

Reported Margin = Product Revenue (recognized) − COGS (inventory method) − RIN expense (accrued) ± Hedge settlement

The Throughput Model

Refineries are measured in barrels per day (b/d) throughput. At a fixed cost base, increasing throughput improves per-unit economics dramatically — fixed costs (depreciation, maintenance, overhead) get spread across more barrels. This creates a dangerous pattern: volume changes can mask or exaggerate margin changes in the income statement.

MetricCommercial Team UsesController Uses / Scrutinizes
Margin per barrelRealized crack spread (spot vs. spot)COGS per barrel (inventory cost method)
RevenueVolume × prompt priceVolume × price per ASC 606 recognition
Crude costCurrent market price (MTM)Weighted average / FIFO / LIFO cost pool
RIN impactOften excluded from "clean" metricsExpensed; period accrual affects reported margin
Hedge P&LEconomic hedge resultASC 815 classification determines income timing
// Expectation Box
Rising Market Crude Price — What Should Happen?

Commercial expectation: margin improves as product prices rise with crude. Accounting reality: COGS reflects older, lower-cost crude (under WAC or FIFO) — so reported margin may actually appear to improve, but that improvement reflects inventory timing, not sustainable economics. The controller must flag this as a phantom margin event before management plans capex or distributions on it.

// Controller Watch-Out
Volume Swings Distort Per-Barrel Metrics

If throughput drops due to a planned turnaround or unplanned outage, fixed costs are spread over fewer barrels. COGS per barrel spikes even if crude prices are flat. Management may interpret a margin decline as a pricing problem when it is a volume allocation problem. Always present margin bridges that separate price, volume, and cost-absorption effects.

// CFO Narrative Risk
The Crack Spread Looked Great. Why Did Earnings Miss?

This is the single most common narrative failure in refinery finance. Crack spreads are a real-time economic signal. P&L results reflect a 30-60 day inventory lag, RIN accruals, and hedge settlement timing. When the CFO presents to the board, the controller must supply a written bridge — not just a verbal explanation — showing how each factor contributed to the gap. Without it, management may incorrectly attribute the shortfall to operational failure.

// Audit Focus
Completeness of RIN Accrual + Lower of Cost or NRV

Auditors will focus heavily on (1) whether RIN obligations are fully accrued as of period-end regardless of physical settlement timing, and (2) whether inventory carrying value exceeds net realizable value (NRV) in a declining price environment. LCM/NRV write-downs can be material and must be evaluated as of each balance sheet date, not deferred to actual sale.

Variance Bridge — Economic vs Reported Margin

// Variance Bridge
Illustrative: $10 Crude Price Increase Month-over-Month
Market crack spread improvement (2:1:1 basis)+$4.20/bbl
Inventory cost lag (WAC — crude still reflects older, lower cost)+$2.80/bbl
Hedge — cash flow hedge settled in prior period−$1.10/bbl
RIN accrual increase (D6 RIN prices rose $0.40)−$0.90/bbl
Fixed cost under-absorption (volume down 4%)−$0.60/bbl
Reported margin improvement+$4.40/bbl

Note: Reported margin appears better than economics because inventory lag created phantom profit that offset RIN and hedge headwinds. This is unsustainable and will reverse when higher-cost barrels flow through COGS.

Controller Checklist — Monthly Business Model Review

// Controller Checklist
  • Reconcile market crack spread to reported COGS-based margin — prepare written bridge
  • Identify inventory cost lag vs. current market; quantify phantom profit or real compression
  • Review RIN accrual for completeness against RVO obligation-to-date
  • Confirm hedge settlements are in correct period under ASC 815
  • Calculate fixed cost per barrel at actual vs. budget throughput; isolate volume variance
  • Flag any LCM/NRV exposure if crude or product prices declined near period-end
  • Prepare CFO narrative bridge — price, volume, inventory method, RINs, hedges
// SECTION 02
Crude Oil Fundamentals
— Grades, Benchmarks & Yield
Not all crude is equal. The physical characteristics of a crude grade determine what products can be made from it, at what cost, and at what yield. Controllers who understand crude quality can anticipate yield variances, cost differentials, and margin surprises before they hit the P&L.

API Gravity: The Most Important Number Nobody Explains

API gravity is the industry measure of crude density. High API = lighter crude = more valuable, higher-value products. Low API = heavier crude = more residual products, requires more processing.

ClassificationAPI GravityCharacteristicsTypical ProductsAccounting Implication
Light> 31.1°Low density, flows easilyHigh gasoline, naphtha, jet yieldPremium cost; typically higher margin per barrel processed
Medium22.3°–31.1°IntermediateBalanced product slateStandard reference for yield models
Heavy< 22.3°Dense, viscousMore residual fuel, asphalt, petcokeLower raw cost but needs coking/upgrading — higher OpEx

Sulfur Content: Sweet vs. Sour

Sulfur content determines refinery processing complexity and cost. Sour crudes require hydrotreating to remove sulfur — consuming hydrogen, energy, and catalyst. These costs are real and variable.

Sweet crude: < 0.5% sulfur → Lower processing cost Sour crude: > 0.5% sulfur → Hydrotreating cost, H2 consumption Controller: Track sulfur removal cost as a per-barrel variable cost Crude slate changes → OpEx changes → margin impact
// Controller Watch-Out
Crude Slate Shifts Create Silent Margin Changes

When a refinery shifts from a light sweet slate to a heavier, sourer crude blend to capture a cost discount, processing costs rise. If OpEx tracking is aggregated (not per-barrel by crude type), the refinery may report an apparent "crude cost savings" that is partially or fully offset by invisible processing cost increases. Controllers should insist on a fully-loaded cost-per-barrel model that includes crude acquisition cost, transport, and processing cost by crude type.

Key Benchmark Crude Grades

BenchmarkRegionAPI / SulfurRoleAccounting Note
WTI (West Texas Intermediate)U.S. (Cushing, OK)39.6° / 0.24%U.S. light sweet benchmarkNYMEX front-month used as hedge reference; basis risk vs. actual crude differential
BrentNorth Sea38.3° / 0.37%Global light sweet benchmark; site defaultICE futures; used in international supply contracts and many hedge programs
MayaMexico22.0° / 3.3%Heavy sour benchmarkTypically priced at WTI minus a differential; differential narrows/widens with coker margins
WCS (Western Canadian Select)Canada (Edmonton)20.9° / 3.5%Heavy sour, inland U.S. marketWide differential to WTI historically; pipeline capacity drives pricing volatility
Dubai/OmanMiddle East31.0° / 2.0%Medium sour benchmarkRelevant for Atlantic Basin refineries importing ME crude

Crude Differentials and Accounting Cost Basis

When a refinery purchases crude, the price is typically structured as benchmark ± differential. The differential reflects quality, location, supply/demand, and logistics. Controllers must ensure the all-in landed cost — including transport, inspection fees, and quality adjustments — is correctly captured in inventory cost.

Crude Landed Cost = Benchmark Price (at deal date) ± Quality Differential (API, sulfur) + Transportation Cost (pipeline/vessel) + Port / Inspection Fees + Quality Bank Adjustments (if applicable) = Inventory Cost Basis per Barrel
// CFO Narrative Risk
"We Bought Cheap Crude — Why Didn't Margins Improve?"

Heavy discounted crude looks attractive on the headline acquisition price. But the CFO needs to understand the fully loaded economic spread: the discount on crude must exceed the incremental processing cost (hydrogen, energy, catalyst) plus yield penalty (less high-value light product). The controller must model: Gross Discount vs. Processing Premium vs. Yield Penalty = Net Uplift. This comparison belongs in every board deck when crude slate changes are made.

// Audit Focus
Completeness of Landed Cost Capitalization

Auditors will test whether all inventory capitalization costs are included in the crude cost basis. Common omissions: (1) vessel demurrage charges booked to expense rather than inventory, (2) terminal throughput fees excluded from cost, (3) quality bank adjustments not reflected. Each of these understates COGS in the period inventory is received and overstates it when items are expensed separately.

Variance Bridge — Crude Cost vs. Prior Period

// Variance Bridge
Crude Cost Change — Period-over-Period ($/bbl)
Benchmark price change (Brent +$8.00/bbl)−$8.00/bbl
Crude quality mix — shifted 15% volume to heavier grade (discount +$4.50)+$4.50/bbl
Differential narrowing on heavy crude (coker margins tightened)−$1.20/bbl
Transport cost increase (vessel rate increase)−$0.80/bbl
Net crude landed cost change−$5.50/bbl

Controller Checklist — Crude Cost Review

// Controller Checklist
  • Verify all crude receipts are recorded at fully-loaded landed cost (benchmark ± differential + transport)
  • Confirm quality bank adjustments are reflected in inventory cost, not expensed separately
  • Document crude slate composition at period-end — % by type, average API, average sulfur
  • Reconcile crude volumes per trading system to volumes per tank gauge / custody transfer
  • For each new crude grade introduced, document yield expectations and processing cost premium
  • Review demurrage charges — ensure proper classification (inventory cost vs. period expense)
  • Prepare per-barrel cost bridge separating benchmark change, differential change, and transport
// SECTION 03
Crack Spread Deep Dive
— What Traders See vs. What Controllers Report
The crack spread is the refinery's economic scorecard. This site uses the 2:1:1 crack spread as its primary benchmark — two barrels of crude yielding one barrel of gasoline and one of distillate. But no crack spread formula equals reported margin. The income statement reflects actual inventory costs, actual hedge settlements, actual yields, and RIN accruals.

Crack Spread Formulas — Three Conventions

Crack spreads use simplified product ratios representing a theoretical refinery output. This site defaults to the 2:1:1 spread because it balances gasoline and distillate equally, providing a cleaner read on both sides of the barrel. The 3:2:1 is also widely used and both are valid — the controller's job is to know which convention is being quoted and reconcile it to actual results.

2:1:1 Crack — Site Default
Equal Gas & Distillate Split
2 bbls crude → 1 bbl gasoline + 1 bbl distillate 2:1:1 Crack = (Gas + Distillate) / 2 − Brent Example (defaults): ($106 + $113) / 2 − $87 = $109.50 − $87.00 = $22.50/bbl economic margin

Balanced view. Often preferred for refineries with roughly equal gasoline and distillate yield.

3:2:1 Crack — Industry Benchmark
Gasoline-Heavy Output
3 bbls crude → 2 bbls gasoline + 1 bbl distillate 3:2:1 Crack = (2×Gas + Distillate) / 3 − Brent Example: (2×$106 + $113) / 3 − $87 = $108.33 − $87.00 = $21.33/bbl economic margin

Most widely quoted in market commentary. Reflects U.S. refinery bias toward gasoline output.

1:1 Crack — Simple Gasoline Check
Single Product View
1:1 Crack = Gasoline Price − Brent/WTI Use: Quick single-product signal; not reflective of full barrel economics Limitation: Ignores distillate, RINs, byproducts, actual yield

Why Any Crack Spread ≠ Reported Margin

This is the central tension every refinery controller must be prepared to explain. All crack spread formulas use today's crude price against today's product prices. Reported margin uses inventory cost (which reflects crude purchased days or weeks ago) against recognized revenue. Additionally, crack spreads exclude RIN costs, hedge impacts, actual yields, and byproduct economics.

FactorCrack Spread AssumesReported Margin ReflectsImpact
Crude costCurrent spot (Brent/WTI)Inventory cost (WAC/FIFO/LIFO)Lag of 15–45 days; phantom profit in rising markets
Product yieldFixed ratio (1:1, 2:1:1, 3:2:1)Actual refinery yield (varies by crude, unit ops)Actual yield can over- or under-perform theoretical crack
Product slateGas + distillate onlyAll products: jet, naphtha, LPG, coke, sulfurByproduct realizations add/subtract from actual margin
RIN costExcludedRIN obligation accrued as expenseReduces reported margin by $1–$3+/bbl at high RIN prices
Hedge impactExcluded (spot-to-spot)ASC 815 hedge settlements in incomeCan add or subtract $1–5/bbl depending on position
OpExExcluded (gross spread)All operating costs deductedNarrows margin; varies with throughput
// Expectation Box — Rising 2:1:1 Crack Scenario
2:1:1 Crack Widens $6/bbl — Month-over-Month

CFO Expectation: Gross margin per barrel should improve by approximately $6 — both gasoline and distillate prices improved with the crude rally.

Accounting Reality: Crude inventory was largely purchased 3 weeks ago at lower prices (WAC reflects $78/bbl; current Brent $87/bbl). Product prices rose, so revenue increases but COGS is still based on the older, cheaper crude. Reported margin may improve by more than $6 — but this is phantom margin that will reverse when higher-cost crude flows through. Post-RIN, the improvement is further muted.

// CFO Narrative Risk
"The Crack Spread Collapsed — But Our Margins Held Up"

In a declining price environment, crack spreads may fall sharply. But if inventory was purchased at higher cost, COGS is elevated — reported margin actually compresses more than the crack spread indicates. If the refinery is on LIFO, COGS may spike as current higher-cost purchases flow through immediately. The controller must distinguish between: (1) economic deterioration, (2) inventory method amplification, and (3) timing mismatches from hedges and RINs.

// Audit Focus
Yield Reconciliation — Physical vs. Book

Auditors will test whether the volume of products recognized as revenue is consistent with: (a) crude volumes charged to the refining unit, (b) physical yield data from the process control system, and (c) product inventory movements per tank records. Unexplained yield variances can misstate both revenue and inventory.

Controller Checklist — Monthly Crack Spread vs. Reported Margin

// Controller Checklist
  • Compute month-average market crack spread using site-consistent formula (default: 2:1:1 Brent-based)
  • Compute reported gross margin per barrel (revenue less COGS per barrel throughput)
  • Prepare written bridge: crack spread → reported margin (inventory lag, RINs, hedges, yield, byproducts)
  • Reconcile physical product yield to yield model — investigate variances >0.5% per product
  • Document whether reported outperformance vs. crack spread is structural or timing-driven
  • Calculate "sustainable margin" — what reported margin would be if inventory priced at current market
  • If margin materially exceeds crack spread for multiple periods, escalate to audit/technical accounting
// SECTION 04
Inventory Accounting
— The Core Section
No single accounting choice creates more distance between economics and reported results in a refinery than the inventory cost method. WAC smooths and lags. FIFO front-loads gains in rising markets. LIFO distorts balance sheets and creates reserve liquidation risk. The controller must understand all three — and be able to explain their income statement effects to a CFO who is watching the crack spread in real time.

The Three Methods — Side by Side

MethodCOGS ReflectsInventory Balance SheetBest ForKey Risk
Weighted Average Cost (WAC)Blend of all purchases to dateBlended cost — currentSmoothing price volatility; simpler operationsPhantom profit in rising markets; lag obscures economics
FIFOOldest costs first outMost recent costs (closest to market)Inventory tracking by lot; balance sheet qualityCOGS lags market in rising prices → inflated reported income
LIFOMost recent costs first outOldest costs (often severely understated)Tax advantage in inflationary environmentLIFO liquidation spikes income; reserve can be massive; IFRS does not permit

Phantom Profit — The Most Dangerous Concept in Refinery Finance

Phantom profit occurs when rising crude prices create the appearance of strong margins, but the reported income reflects the benefit of lower-cost inventory purchased earlier rather than current economics. It is not real sustainable margin — it will reverse when the higher-cost crude flows through COGS.

// Phantom Profit Example — WAC Method
January: Buy 1,000 bbls crude @ $70/bbl February: Buy 1,000 bbls crude @ $88/bbl (price rises) February WAC = ($70,000 + $88,000) / 2,000 = $79.00/bbl February: Sell 1,000 bbls of product (yield = 1:1 simplified) Product revenue = $100/bbl (products also rose with crude) COGS (WAC) = $79/bbl (not $88 — the blended cost) Reported Margin = $21/bbl Economic Margin = Product price ($100) − current crude ($88) = $12/bbl Phantom Profit = $21 − $12 = $9/bbl × 1,000 bbls = $9,000 This $9,000 is not real — it will reverse in March when the remaining $88 crude and any new higher-cost crude flows through COGS.

FIFO in an Inflationary Environment

FIFO reports COGS based on the oldest (lowest cost) crude in inventory. In a rising price environment, this means COGS is understated relative to current economics, and reported income is overstated. The balance sheet, however, reflects more current costs — which is why FIFO is considered to provide higher balance sheet quality.

// Controller Watch-Out
FIFO Inflation Gain Is Temporary — And Creates Future Compression

When crude prices rise sharply, FIFO refineries may report exceptional margins because old, cheap crude is being expensed. Management may view this as operational outperformance. The controller must document: "Approximately $X million of current period gross profit reflects inventory cost lag under FIFO. This benefit will not recur and will reverse as higher-cost crude is consumed." This disclosure protects the controller and calibrates management expectations.

LIFO — Tax Advantage with Accounting Complexity

LIFO is used primarily in the U.S. (IFRS does not permit it) and historically provided significant tax benefits in inflationary environments. Under LIFO, COGS reflects the most recently purchased (highest cost) crude. This reduces taxable income when prices rise — but creates two significant accounting risks:

Risk 1
LIFO Reserve — Balance Sheet Distortion

The LIFO reserve is the cumulative difference between LIFO carrying value and FIFO/current cost. In a company that has used LIFO for 20+ years with generally rising oil prices, the LIFO reserve can be hundreds of millions of dollars. Inventory on the balance sheet is severely understated. Any liquidity analysis using inventory as an asset must be adjusted.

Risk 2
LIFO Liquidation — Income Spike

If inventory quantities decline (refinery shutdown, supply disruption), older, lower-cost LIFO layers are dipped into. Those cheap historical costs are charged to COGS instead of current-cost crude — creating an artificial income spike. Auditors and analysts will scrutinize whether it is operational improvement or LIFO liquidation. Disclosure is required under GAAP.

// LIFO Liquidation Example
LIFO Layers: Layer 1 (2004): 100,000 bbls @ $38/bbl Layer 2 (2012): 200,000 bbls @ $60/bbl Layer 3 (2019): 300,000 bbls @ $75/bbl Layer 4 (2024): 200,000 bbls @ $82/bbl (most recent) Current market crude price: $90/bbl Normal LIFO COGS = $90/bbl (uses current purchases) Inventory drops 150,000 bbls (unplanned shutdown): → Dip into Layer 4 (fully consumed) + Layer 3 (partially) → COGS for those 150,000 bbls = $75–$82/bbl (old layer costs) → vs. $90/bbl if bought fresh Artificial income boost = ($90 − avg $78) × 150,000 = $1.8M This is LIFO dip income — not real margin improvement. Disclosure required in footnotes.

Lower of Cost or Net Realizable Value (LCM/NRV)

Under ASC 330, inventory must be carried at the lower of cost or net realizable value. In a sharp crude price decline, a refinery using FIFO or WAC may be carrying crude inventory at a cost that exceeds what the finished products can be sold for — requiring a write-down. This write-down flows through COGS, compressing reported margin in the period of decline — on top of already-declining product prices.

// CFO Narrative Risk
When Prices Fall Fast: The Double Compression Trap

In a rapid crude price decline, a refinery faces two simultaneous margin pressures: (1) product prices fall immediately with crude, compressing revenue; (2) COGS remains elevated because inventory carries old high-cost crude. If NRV is breached, an LCM write-down hits COGS on top of the operating margin compression. The CFO must understand this is a double compression event, not simply a crack spread deterioration.

Inventory Journal Entries — Controller-Grade Examples

The following entries illustrate the key accounting events in the crude-to-product inventory cycle. These are simplified for illustration; actual entries will depend on your cost system, inventory method, and GL structure.

Transaction Set A — Crude Receipt into Inventory
EntryAccountDebitCreditController Note
A1 · Crude Cargo Received (100,000 bbls @ $87.00 landed cost)
A1Crude Oil Inventory$8,700,000Recorded at all-in landed cost: Brent benchmark ± differential + freight + inspection
Accounts Payable — Crude$8,700,000Invoice accrual at price finalization date. Confirm pricing period per contract.
A2 · Separate freight/demurrage if capitalized to inventory
A2Crude Oil Inventory$320,000$0.32/bbl transport cost capitalized to landed cost basis
Accrued Freight / AP$320,000Policy: capitalize all freight to inventory. Not optional once policy is elected.
A3 · WAC Pool Update (illustration)
A3No separate entry — WAC pool recalculated: (Opening balance $8,580,000 + New purchase $9,020,000) ÷ (110,000 + 100,000 bbls) = $83.81/bbl new WACPrior pool: 110,000 bbls @ $78.00. After this cargo the pool is blended. COGS for next sale uses $83.81, not $87.00.
Transaction Set B — Product Sale (Revenue + COGS Recognition)
EntryAccountDebitCreditController Note
B1 · Product Sale: 50,000 bbls gasoline/distillate @ avg $109.50/bbl (2:1:1 product blend)
B1aAccounts Receivable$5,475,000Revenue at recognized price per ASC 606. Trigger: custody transfer at pipeline meter.
Revenue — Product Sales$5,475,000Point-in-time recognition. Confirm custody transfer evidence before recording.
B1bCost of Goods Sold$4,190,500COGS = 50,000 bbls × $83.81 WAC. Not market price. This is the accounting-economics gap origin.
Product Inventory$4,190,500Reduces product inventory at WAC. Economic margin would imply COGS of $87.00/bbl ($4,350,000).
B2 · Phantom Profit Implication (informational, not a journal entry)
Reported gross margin: $5,475,000 − $4,190,500 = $1,284,500 ($25.69/bbl). Economic margin at Brent cost: $5,475,000 − $4,350,000 = $1,125,000 ($22.50/bbl). Phantom profit = $159,500 ($3.19/bbl) — will reverse next period.Present both numbers to CFO. The $3.19 gap is not operational outperformance.
Transaction Set C — LCM / NRV Write-Down
EntryAccountDebitCreditController Note
C1 · Crude price falls $12/bbl after quarter-end. Inventory cost = $87.00; NRV of finished product = $82.00/bbl
C1Inventory Write-Down Expense (in COGS)$500,000100,000 bbls × $5.00/bbl excess of cost over NRV. Recognized immediately at balance sheet date.
Crude Oil Inventory (or Allowance)$500,000ASC 330 — NRV test is mandatory at each balance sheet date. Cannot defer to sale date.
C2 · Price recovery in subsequent period (NRV rises back to $88.00)
C2Under U.S. GAAP (ASC 330), inventory write-downs cannot be reversed in a subsequent period. Once written down, the new cost basis is permanent until the inventory is sold.IFRS (IAS 2) permits reversals. Significant U.S. GAAP vs. IFRS difference — relevant for cross-border comparisons.
// Audit Focus
Inventory Method Consistency + LCM Testing + LIFO Disclosure

Auditors will test: (1) consistent application of cost method period-over-period with no undisclosed changes; (2) completeness of LCM/NRV testing at each balance sheet date, including adequate documentation of NRV calculations; (3) for LIFO companies, adequacy of LIFO reserve disclosure and proper accounting for any quantity decrements. LIFO liquidation must be disclosed in the notes even if management considers it immaterial.

Variance Bridge — Inventory Method Sensitivity

// Variance Bridge
Same Economics, Three Different COGS Results (Rising Price Environment, 2:1:1 Crack Basis)
ScenarioCOGS/bblProduct Rev/bblReported Margin/bblvs. Economic Margin ($22.50)
FIFO (oldest cost = $68)$68.00$109.50$41.50+$19.00 (phantom)
WAC (blended avg = $78)$78.00$109.50$31.50+$9.00 (phantom)
LIFO (current Brent = $87)$87.00$109.50$22.50$0 (tracks economics)

Economic margin = 2:1:1 crack spread = ($106 + $113)/2 − $87 = $22.50/bbl. LIFO most closely tracks current economics but creates balance sheet and liquidation risk.

Controller Checklist — Inventory Accounting

// Controller Checklist
  • Document inventory cost method and confirm consistent application
  • Compute and document phantom profit or phantom loss for each major price movement period
  • For FIFO/WAC: calculate what COGS would be at current market; present "economic margin" alongside reported
  • For LIFO: update LIFO reserve quarterly; test for quantity decrements; prepare liquidation disclosure if applicable
  • Run LCM/NRV test at every balance sheet date — document NRV calculations for all product categories
  • Prepare inventory method sensitivity table for CFO: same economics, three cost methods, three reported margins
  • Identify and document any blending of crude grades affecting WAC pool composition
  • Reconcile inventory cost pool movements: beginning balance + purchases − COGS = ending balance (confirm to GL)
// SECTION 05
Hedging & Risk Management
— Economic Positions vs. Accounting Treatment
Hedging is intended to reduce the refinery's exposure to crude price volatility or crack spread compression. But under ASC 815, the accounting treatment of a hedge depends entirely on its formal designation and documentation — creating situations where economically effective hedges produce income statement volatility, and vice versa.

What Refineries Hedge

Crude Hedges
Protecting Feedstock Cost

A refinery that has not yet purchased crude but has committed to a fixed-price product sale may short crude futures to lock in acquisition cost. Alternatively, a refinery may buy crude call options to cap upside cost risk. Purpose: protect the input cost side of the margin.

Crack Spread Hedges
Protecting the Margin

A crack spread hedge simultaneously shorts product futures and longs crude futures — locking in the margin between them. This is a more sophisticated hedge that targets the refinery margin directly rather than just one leg. Purpose: protect full economic outcome of an anticipated refining run.

Basis Risk — The Hedge That Doesn't Fully Work

Most refinery hedges use WTI or Brent futures as the hedging instrument. But the refinery's actual crude may be Maya, WCS, or a regional grade that does not move perfectly with Brent or WTI. The basis is the differential between the hedged benchmark and the actual crude price. When basis widens unexpectedly, a hedge designed to lock in $80/bbl crude may result in actual crude cost of $85/bbl — because the discount to Brent narrowed.

// Controller Watch-Out
Basis Risk Creates Unexplained Variance Between Hedge P&L and Crude Cost

The hedge gain/loss settles at the Brent/WTI benchmark, but the physical crude is purchased at benchmark minus differential. If the differential moved against the refinery (narrowed from −$8 to −$3), the crude cost is $5/bbl higher than expected even though the hedge performed as designed on the benchmark. Controllers must track basis separately and explain it in the margin bridge.

ASC 815 — How Accounting Treatment Is Determined

Hedge TypeTreatmentIncome Statement ImpactBalance Sheet
Cash Flow Hedge (designated)Mark-to-market to OCI; reclassify to income when hedged item affects earningsHedge P&L aligns with the period of the hedged transactionDerivative asset/liability; AOCI balance
Fair Value Hedge (designated)Both derivative and hedged item at fair value through incomeOffsetting gains/losses should be minimal; net = hedge ineffectivenessAdjusted basis of hedged item
Not Designated (economic hedge)Full mark-to-market through income each periodTiming mismatch — derivative MTM recognized before physical settlementDerivative at fair value

Hedge Journal Entries — Controller-Grade Examples

The entries below illustrate why the accounting treatment of a hedge — designated vs. undesignated — produces dramatically different income statement outcomes even when the economic hedge is identical.

Transaction Set D — Designated Cash Flow Hedge (Short Crude Futures, CFH)
EntryAccountDebitCreditController Note
D1 · Inception: Short 100,000 bbls WTI futures @ $87.00 to hedge anticipated crude purchase. Fair value = $0 at inception.
D1No journal entry at inception — derivative at fair value of zero. Hedge designation memo must be completed at this date. Cannot be applied retroactively under ASC 815.Date-stamp the designation memo. Auditors test this specifically. Late documentation = forced de-designation.
D2 · Month-end: Crude rises to $91.00. Futures position has a loss of $4.00/bbl × 100,000 bbls = $400,000
D2AOCI — Unrealized Hedge Loss$400,000MTM loss goes to equity (AOCI), not the income statement. This is the core benefit of cash flow hedge accounting.
Derivative Liability — Crude Futures$400,000Derivative reported at fair value on balance sheet. Confirm this ties to CTRM fair value.
D3 · Physical crude purchased at $91.00 and sold into product. Hedge settles. AOCI reclassified to COGS.
D3aCash / AP Settlement$400,000Hedge settles — cash received on futures contract (or variation margin returned).
Derivative Liability — Crude Futures$400,000Closes the derivative position.
D3bCOGS — Hedge Reclassification$400,000AOCI balance reclassified to income in the same period the hedged item (crude purchase) affects earnings.
AOCI — Unrealized Hedge Loss$400,000Net income effect: higher COGS from $91 crude partially offset by $400K hedge reclassification. This is the intended timing match.
Transaction Set E — Undesignated (Economic) Hedge — Income Statement Timing Mismatch
EntryAccountDebitCreditController Note
E1 · Same trade as above, but NOT designated as a hedge. Month-end MTM: $400,000 loss on futures.
E1Unrealized Derivative Loss (Income)$400,000Entire MTM change goes to income immediately. No AOCI buffer. CFO sees a $400K loss this period.
Derivative Liability — Crude Futures$400,000Same balance sheet entry — derivative at fair value. But income statement impact is entirely different.
E2 · Next period: physical crude purchased at $91. Product sold. Inventory COGS also $91/bbl.
E2The economics are identical to the designated hedge — the physical and derivative offset each other. But the income statement recognized the $400K derivative loss in Period 1, while the higher-cost crude hit COGS in Period 2. This is the timing mismatch the CFO will ask about.Without hedge designation: derivative P&L and physical P&L hit income in different periods. Creates apparent volatility that does not exist economically.
// CFO Narrative Risk
Crude Rallied — Why Is There a Hedge Loss on the P&L?

An undesignated short crude hedge will be marked to market through income every period. When crude rises, the hedge (short position) shows a loss in the income statement — even though the physical inventory is worth more. The economic offset exists, but accounting does not recognize it simultaneously. The CFO sees a hedge loss; the controller must explain that the offsetting inventory gain is deferred (in COGS, which reflects older, lower inventory cost). This apparent income statement mismatch is entirely an accounting timing issue, not an economic failure. Designation as a cash flow hedge, if criteria are met, solves this problem prospectively.

// Audit Focus
Hedge Documentation + Effectiveness Testing

ASC 815 hedge accounting is only available if formal designation and documentation is in place at inception — not retroactively. Auditors will inspect: (1) hedge designation memoranda dated at or before trade inception; (2) effectiveness testing methodology (quantitative or qualitative); (3) evidence that effectiveness testing was performed; (4) proper OCI reclassification entries and timing. Missing documentation on even one trade can force de-designation, requiring all mark-to-market changes through income.

Controller Checklist — Hedging

// Controller Checklist
  • Confirm hedge designation status for all open positions — cash flow, fair value, or undesignated
  • Verify hedge designation memos exist and are dated at or before trade inception
  • Perform and document effectiveness testing for all designated hedges
  • Reconcile derivative fair value per CTRM/trading system to GL derivative asset/liability accounts
  • Calculate OCI reclassification for period — confirm timing aligns with when hedged item affected income
  • Quantify basis risk: compare hedge benchmark to actual crude purchased; document basis variance in bridge
  • Prepare hedge P&L schedule by instrument type — designated vs. undesignated — for CFO bridge
// SECTION 06
RINs & Renewable Credits
— Policy Judgment at Every Turn
Renewable Identification Numbers (RINs) are among the most accounting-complex, audit-sensitive, and economically significant items in a refinery's P&L. Unlike most line items, RIN accounting involves genuine policy judgment — multiple GAAP-acceptable approaches produce materially different income statement outcomes. The controller must own the policy, document every choice, and be prepared to defend it to auditors and the CFO.

What Are RINs? — Operational Reality First

Under the EPA's Renewable Fuel Standard (RFS), obligated parties — primarily fuel refiners and importers — must blend renewable fuels into the transportation fuel supply each year in quantities specified by the EPA's annual Renewable Volume Obligations (RVOs). If a refinery cannot or does not blend sufficient renewable fuel, it must purchase RINs on the open market from parties that generated them.

Each RIN is a unique 38-digit identification number attached to a gallon of renewable fuel. Once separated from the fuel through sale or use, RINs trade freely on electronic platforms and can be traded, held for future compliance, or retired to meet obligations.

RIN Categories
D-Code Classifications

D3: Cellulosic biofuel (highest value)
D4: Biomass-based diesel
D5: Advanced biofuel
D6: Conventional (corn ethanol — highest volume)

Prices can range from pennies to $2+ per RIN. D6 price drives the largest cost exposure for most refineries given its volume obligation.

Obligation Structure
How the Obligation Arises

RVO is expressed as a percentage of total fuel volume. If a refinery produces 100 million gallons of gasoline and the D6 RVO is 10%, it must demonstrate compliance with 10 million D6 RINs — either generated internally (via blending ethanol) or purchased externally.

Accounting Policy Alternatives — Where GAAP Judgment Lives

Policy A — Net Obligation Approach

// Policy A: Net Obligation
Record LIABILITY as the RVO obligation is incurred (production/import occurs) Record RIN ASSET (intangible) for RINs held above the obligation Net Accrual = RVO obligation (at market or cost) − RINs held (at cost) = Net RIN liability (or asset if over-compliant) Expense recognized as fuel is produced/sold — aligned with obligated volume.

Policy B — Gross Asset / Gross Liability Approach

// Policy B: Gross Recognition
Purchased RINs: Record as INTANGIBLE ASSET at cost Dr. RIN Intangible Asset $X Cr. Cash / Accounts Payable $X Obligation arising: Record COMPLIANCE LIABILITY Dr. RIN Compliance Expense $X Cr. RIN Compliance Liability $X Settlement: Retire RINs to EPA; recognize gain/loss if cost ≠ fair value

Policy C — Inventory / COGS Integration

// Policy C: COGS-Integrated
Treat purchased RINs as a cost component of obligated product sold Allocated as per-gallon cost; recognized in COGS when fuel product is sold Avoids separate intangible/liability accounts Risk: Less balance sheet transparency; RIN exposure less visible to CFO
ConsiderationPolicy A (Net)Policy B (Gross)Policy C (COGS)
Balance sheet transparencyModerateHighLow
Income statement volatilityModerateHigh — cost/market spreadLow — integrated into COGS
Operational simplicityModerateComplexSimplest
Audit sensitivityHighHighestModerate
CFO visibilityGoodBestLowest
Consistency requirementALL policies require consistent application once elected
// Controller Watch-Out
RIN Price Volatility Can Swing Margin by $2–$3/bbl — Not a Footnote Item

D6 RIN prices have traded between $0.10 and $1.80+ in recent years. At a 10% RVO on 100 million gallons, a $1/RIN swing is $10 million. For a mid-size refinery, this is potentially the difference between breakeven and profitability in a tight margin environment. RIN cost must be tracked as a first-class line item in the CFO's P&L presentation, not buried in "other operating costs."

// CFO Narrative Risk
Crack Spread Looks Fine — But RINs Just Cost Us the Quarter

Commercial and trading teams commonly quote crack spreads that exclude RIN costs. When D6 RINs spike from $0.50 to $1.50 mid-quarter due to EPA policy uncertainty, a refinery running at $18/bbl crack spread suddenly faces $2–$3/bbl in incremental RIN cost. If this is not modeled and communicated, the CFO will be blindsided by an earnings miss. The controller must maintain a live RIN exposure model: volume outstanding × current RIN price × coverage of held RINs.

// Audit Focus
Completeness of RIN Obligation + Policy Consistency + Valuation

Key audit risks: (1) obligation not fully accrued at year-end; (2) inconsistent policy application year-over-year without disclosure; (3) RIN asset valuation method not consistently applied; (4) completeness of footnote disclosure. GAAP requires disclosure of significant accounting policies for RINs.

RIN Exposure Tracking Model

// RIN Exposure Model — Monthly Controller View
Annual Production Volume (obligated): 950,000,000 gallons RVO Percentage (D6 example): 10.0% Annual RIN Obligation (D6): 95,000,000 RINs Year-to-Date Obligation (month 8 of 12): 63,333,333 RINs RINs Held (purchased + internally gen.): 48,000,000 RINs Uncovered Obligation (short position): 15,333,333 RINs Current D6 RIN Market Price: $0.92/RIN Mark-to-Market Liability (uncovered): $14,106,667 Stress: If RIN price increases to $1.50: $23,000,000 Incremental exposure if prices spike: $8,893,333

Controller Checklist — RINs

// Controller Checklist
  • Document and maintain written RIN accounting policy memo — signed by CAO/technical accounting
  • Compute RVO obligation monthly based on actual production volumes
  • Reconcile RINs held (per EPA EMTS system) to RIN asset/liability on balance sheet
  • Calculate net open position (obligation vs. RINs held) at current market price
  • Present RIN cost as a separate line in monthly P&L package — not buried in other OpEx
  • Stress-test RIN exposure at +$0.50 and +$1.00/RIN scenarios; present to CFO quarterly
  • At year-end: ensure footnote disclosure of RIN policy, exposure, and significant estimates
// SECTION 07
Revenue & Product Accounting
— When is a Barrel Sold?
Revenue recognition in a refinery appears straightforward — deliver product, recognize revenue — but product mix accounting, blending operations, byproduct treatment, and pricing mechanics introduce complexity that directly affects period-end cut-off, margin analysis, and management reporting.

ASC 606 — The Five-Step Framework in Refinery Context

StepGeneral ASC 606Refinery Application
1. Identify contractWritten/oral agreementTerm supply agreement or spot sale confirmation; pricing formula usually benchmark-based
2. Identify performance obligationDistinct goods/servicesTypically delivery of specified product at specified volume and quality
3. Determine transaction priceConsider variable considerationBenchmark + differential; may include quality adjustments, volume rebates
4. Allocate transaction priceTo each performance obligationUsually single obligation per contract; blended product pricing may require allocation
5. Recognize revenueWhen/as obligation satisfiedPoint in time — typically at custody transfer (pipeline meter, vessel load/discharge)
// Controller Watch-Out
Month-End Pipeline Batches — Revenue or Inventory in Transit?

Pipeline products move in batches that may span the month-end date. A batch that began flowing on the 29th may not complete delivery until the 3rd of the following month. The controller must have a documented policy for how in-transit batches are treated: is the product still in refinery inventory, in a pipeline inventory account, or recognized as revenue at the point of injection into the pipeline? Each treatment has a different revenue and COGS cut-off implication.

Product Mix and Margin Attribution

ProductTypical Yield (light crude)Revenue QualityController Note
Gasoline (RBOB)~45%High — drives headline marginRIN obligation attached; RVP seasonal specs affect pricing
Ultra-Low Sulfur Diesel (ULSD)~25–30%High — distillate premiumSubject to LCFS in California market; D4 RIN value if biodiesel-blended
Jet Fuel (Jet-A)~5–10%High in strong demand periodsNo RIN obligation; typically sold on spot or airline term contract
Naphtha~5–8%Moderate — petrochemical feedstockMay be blended into gasoline pool; separate sale to petchem customers
LPG (propane/butane)~2–5%Seasonal; propane heating demandFractionation required; separate revenue stream
Residual Fuel / Fuel Oil~5–15% (heavy crude higher)Low — bunker fuel marketIMO 2020 sulfur limits changed fuel oil economics significantly
Petroleum CokeVaries (coker)LowByproduct; can be negative netback if high sulfur
SulfurVariesLow-to-negativeMust be removed/disposed; can be negative value product
// CFO Narrative Risk
Gasoline Crack Widened — But Overall Margin Disappointed

Gasoline crack spreads are the most-watched metric, but they tell only part of the story. If distillate cracks compressed simultaneously, or if the refinery ran an unusually high yield of fuel oil or coke due to crude slate changes, overall margin may disappoint even as the headline gasoline number looks strong. Controllers must present a product-weighted margin calculation — not just the gasoline crack — in every earnings narrative.

Controller Checklist — Revenue & Products

// Controller Checklist
  • Document custody transfer point for each major customer and pipeline delivery contract
  • Perform month-end cut-off analysis for in-transit pipeline and vessel deliveries
  • Reconcile product sales volumes to: (a) product inventory drawdown, (b) refinery yield data, (c) customer invoices
  • Track revenue and realized price per barrel by product category — at minimum: gasoline, distillate, jet, other
  • Identify any variable consideration (quality adjustments, volume rebates) and estimate at period-end per ASC 606
  • Review byproduct revenue (coke, sulfur) for completeness and proper classification
// SECTION 08
Forecasting & CFO Expectations
— Bridging the Gap Before It Becomes a Surprise
CFOs and boards understand the oil market intuitively. What they struggle with is why accounting results don't look like what the market says happened. The controller's highest-value contribution is building a forecasting framework that translates market conditions into accounting outcomes — before the month closes.

Why Accounting Results Diverge from Economic Expectations

The fundamental drivers of divergence — in order of impact in most refinery environments:

  1. Inventory cost lag — the most significant driver. COGS reflects purchase cost from 15–45 days ago, not today's market.
  2. RIN price movement — particularly at quarter/year-end when obligations must be fully accrued at market.
  3. Hedge settlement timing — cash flow hedges in OCI reclassify on the physical sale date, not the hedge settlement date.
  4. Fixed cost absorption — throughput variance below budget spreads fixed costs over fewer barrels.
  5. Product mix yield — actual yield vs. budget; heavy crude impact on light product yields.
  6. LCM write-downs — non-cash charge that hits COGS when inventory cost exceeds NRV.

The Controller's Forecasting Model — Key Inputs

// Monthly Margin Forecast Template
REVENUE FORECAST Throughput (b/d) × Days × Yield Mix × Fwd Product Prices (2:1:1 or actual mix) LESS: COGS (Inventory Method-Adjusted) Opening inventory cost pool + Crude purchases at current market (or forward curve) = Available barrels ÷ Total barrels = New WAC per bbl × Volume sold = COGS forecast LESS: RIN EXPENSE Forecasted obligated volume × Fwd RIN price × (1 − hedge coverage) +/− HEDGE P&L Designated CFH: Reclassify from OCI per sale timing Undesignated: MTM change per forward curve LESS: FIXED OpEx (budget, with throughput adjustment) LESS: VARIABLE OpEx × forecasted throughput = FORECASTED OPERATING MARGIN Present alongside: Economic Margin (prompt prices, 2:1:1 basis) Explain the gap before close
// Controller Watch-Out
Rising Crude = Cash Consumed, Even as Margins "Improve"

As crude prices rise, cash consumed by inventory increases even if throughput is constant. A refinery running 100,000 b/d with 20 days of crude coverage requires 2 million barrels in inventory. When crude goes from $70 to $90, the cash tied up in that inventory increases by $40 million — with zero change in operational performance. Controllers must present cash margin alongside GAAP margin.

KPI Alignment

KPIDefinitionController Notes
Gross Margin per BarrelRevenue − Crude COGS / throughput bblsCompute at both reported (inventory cost) and economic (market cost) basis
Operating Cost per BarrelTotal OpEx / throughput bblsDecompose fixed vs. variable; throughput-normalize for fair period comparison
RIN Cost per BarrelTotal RIN expense / throughput bblsSeparate line — significant and volatile
EBITDA per BarrelEBITDA / throughput bblsAdd back D&A — useful for operational comparison across refineries
Cash Cost per BarrelCash OpEx + RINs + crude cost / throughput bblsCash margin = revenue per bbl − cash cost per bbl
Utilization RateActual throughput / nameplate capacityFixed cost absorption driver; flag planned vs. unplanned downtime separately
Inventory DaysCrude inventory / daily crude run rateWorking capital exposure metric; flag increases in rising price environment

Controller Checklist — Forecasting & CFO

// Controller Checklist
  • Prepare monthly forecast of GAAP margin AND economic margin (2:1:1 basis) — both with written bridge
  • Update RIN exposure model with current prices and forward curve — present stress case
  • Calculate inventory days outstanding and cash consumed by working capital at current vs. prior crude price
  • Present CFO with throughput sensitivity: what does each 5,000 b/d variance mean for fixed cost absorption and EBITDA?
  • For planned turnarounds: pre-compute lost throughput margin and working capital release from inventory drawdown
  • Maintain a "CFO Bridge Pack" — standard 1-page document updated monthly showing: crack spread, reported margin, gap, and each driver
// SECTION 09
Systems & Data Challenges
— Where the Numbers Break Down
Refinery accounting sits at the intersection of multiple specialized systems — process control, crude and product trading, tank and pipeline measurement, and general ledger. Each system speaks a different language. The controller is the translator. Understanding where data originates, how it flows, and where it breaks down is essential to closing the books accurately and on time.

The Refinery Systems Ecosystem

System TypeExamplesWhat It TracksController Reliance
Process Industry Modeling (PIMS)Aspen PIMS, GAMSOptimal crude slate, yield predictions, unit operations planningYield budget and actual comparison; product allocation basis
Crude/Product Trading (CTRM)Allegro, Triple Point, IONTrade confirmations, pricing, nominations, hedge positionsRevenue and purchase prices; hedge fair value; derivative positions
Tank / Terminal ManagementToptech, Implico, EmersonPhysical barrel inventory by tank, movements, custody transfersPhysical inventory reconciliation; revenue cut-off; custody transfer events
Plant / Lab DataLIMS, Honeywell, DCSProduct quality specs, blend component analysis, yields by unitQuality bank adjustments; blending cost basis; yield accounting
ERP / GLSAP, OracleJournal entries, AP/AR, fixed assets, financial reportingSource of record for financial statements; must reconcile to all above
EPA EMTSEPA system (required)RIN generation, transfer, and retirement recordsRIN compliance position; asset/liability reconciliation

The Three Most Dangerous Reconciliation Gaps

// Dangerous Gap 1 — Physical Barrels vs. Book Barrels
Tank Gauge vs. GL Inventory

The GL carries inventory in dollar terms. The terminal management system carries inventory in physical barrel terms. When reconciled, unit cost differences (from timing, API gravity temperature corrections, measurement uncertainty) can produce large dollar variances even when volumes agree. Controllers must perform a monthly reconciliation of: physical barrels per tank gauge × current cost = GL inventory balance. Unexplained variances must be resolved before close.

// Dangerous Gap 2 — CTRM Trade Date vs. GL Settlement Date
Trading System vs. Financial Statements

The CTRM system records trades at deal date. The GL records cash settlements at payment date. Between deal date and settlement date, there is an accrued payable or receivable that must be properly reflected in the financial statements. Month-end cut-off errors here can significantly misstate both revenue/COGS and accounts receivable/payable balances.

// Dangerous Gap 3 — Yield Model vs. Actual Production
PIMS Budget vs. Actual Plant Data

The PIMS model produces a theoretical yield by product based on crude input and unit operations. Actual plant data (from DCS and lab) reflects actual yields, which may differ due to unit underperformance, crude quality variation, or blending decisions. When these diverge significantly, it creates unexplained inventory additions or shortfalls in product accounts. Controllers must reconcile theoretical to actual yield monthly.

Controller Checklist — Systems & Data

// Controller Checklist
  • Perform monthly three-way reconciliation: physical barrels (tank system) vs. CTRM book vs. GL inventory
  • Reconcile all crude trades: CTRM trade volume × price vs. AP invoices vs. GL crude payable accruals
  • Reconcile all product sales: CTRM confirmed volumes vs. pipeline nominations vs. customer invoices vs. GL revenue
  • Compare actual product yield per plant DCS/LIMS vs. PIMS model — document and investigate variances >threshold
  • Reconcile EPA EMTS RIN position (by D-code) to GL RIN asset and compliance liability accounts
  • Confirm derivative fair values per CTRM match derivative asset/liability per GL
  • Document inter-system reconciliation in permanent close documentation for SOX/audit purposes
// SECTION 10
End-to-End Flow
— From Crude to Cash, With Every Break Point
The refinery's financial journey begins before a barrel of crude arrives at the gate. Every step — from crude purchase to cash receipt — creates accounting entries, timing differences, and potential mismatches between economics and reported results. This section maps that journey from a controller's vantage point.

The Complete Refinery Accounting Flow

STEP 01 — CRUDE PROCUREMENT
Purchase Order Confirmed

Accounting entry: No entry until receipt (or accrual if title transfers at load). CTRM system records trade. Controller risk: benchmark price vs. delivery price timing; ensure price finalization at correct date.

STEP 02 — CRUDE RECEIPT
Crude Inventory Recognized

Dr. Crude Inventory / Cr. Accounts Payable. Cost = benchmark price ± differential + transport. Tank gauge confirms volume. This is the moment the cost basis is established — under WAC, this purchase blends into the existing pool. Under FIFO/LIFO, a new layer is created.

STEP 03 — REFINING
Crude Charged to Process Units → WIP → Product Inventory

Crude cost transfers from Crude Inventory → Work in Process → Product Inventory accounts based on actual yield. Operating costs are capitalized into product cost or expensed as incurred depending on policy. Yield accounting must reconcile to physical production data.

STEP 04 — RIN OBLIGATION ARISES
RVO Obligation Accrues as Obligated Fuel is Produced

Each gallon of obligated fuel produced adds incrementally to the annual RVO. Under the net obligation approach, a RIN liability accrues as fuel is produced. RINs held offset the liability. The net open position is the key management metric. RIN price changes mark the liability to market if using fair value measurement.

STEP 05 — PRODUCT SALE
Revenue Recognized at Custody Transfer

Revenue: Dr. Accounts Receivable / Cr. Revenue at custody transfer point. COGS: Dr. COGS / Cr. Product Inventory at the inventory cost method amount (WAC/FIFO/LIFO). This is the moment the timing mismatch crystallizes — revenue is at today's market price; COGS is at cost basis established 15–45 days ago.

STEP 06 — HEDGE SETTLEMENT
Derivative Gain/Loss Reclassified from OCI or Taken to Income

For designated cash flow hedges: accumulated OCI reclassifies to income in the period the hedged physical sale occurs. For undesignated hedges: full MTM change recognized in the current period, creating a timing mismatch with the physical. Confirm settlement date, physical delivery date, and ASC 815 hedge documentation are all aligned.

STEP 07 — CASH RECEIPT
Cash Collected; Working Capital Cycle Completes

Dr. Cash / Cr. Accounts Receivable. The working capital cycle closes — but immediately begins again with the next crude cargo. In a rising price environment, each successive crude purchase consumes more cash than the preceding one. Monitor Days Sales Outstanding (DSO) and Days Payable Outstanding (DPO) to assess the true cash cycle duration and working capital requirements.

// CFO Narrative Risk — End-to-End
The Complete Disconnect: What the Market Shows vs. What We Report

At any given moment, the market shows a crack spread (2:1:1 or 3:2:1) based on prompt prices. The income statement shows a margin based on: crude purchased 3–5 weeks ago, processed and yielded this week, generating RIN obligations accrued throughout the period, recognized as revenue at today's market price, with a hedge settlement that reflects a position established weeks ago. The controller's job — every single month — is to write one concise page that translates all of that into: "Here is what the market expected; here is what we reported; here are the reasons for the gap; here is what reverses next period and what is structural." That page is the controller's signature contribution to the organization.

// Month-End Master Close Checklist
  • Crude inventory: physical volume × cost per barrel reconciled to GL; all receipts recorded at landed cost
  • Product inventory: yield reconciliation (physical per plant data vs. book inventory changes); LCM/NRV tested
  • Revenue: cut-off confirmed per custody transfer data; variable consideration estimated at ASC 606
  • COGS: inventory cost method correctly applied; inventory cost pool properly updated for all receipts
  • RINs: obligation computed vs. production volumes; position reconciled to EPA EMTS; liability/asset at appropriate measurement basis
  • Hedges: fair values per CTRM validated; designated hedge OCI reclassification computed; effectiveness testing documented
  • Systems reconciliation: CTRM vs. GL, tank system vs. GL, EPA EMTS vs. RIN accounts — all documented
  • CFO Bridge prepared: market crack spread (2:1:1 basis) → reported margin → each driver quantified in $/bbl and total $
  • Audit support files complete and tied to final GL for all material estimates (RIN liability, LCM, hedge FV)
// REFERENCE
Glossary
— Essential Refinery Accounting Terms
Twenty-five terms every refinery controller, senior accounting manager, and finance professional should own — with a controller's lens on why each one matters to the financial statements.
1:1 Crack Spread
A simplified refinery margin indicator: one barrel of product (typically gasoline) minus one barrel of crude. Calculated as Gasoline Price − Brent/WTI.
Controller: Quickest read on light product margin but ignores distillates, byproducts, RINs, and yield mix. Not suitable as sole benchmark for period reporting.
2:1:1 Crack Spread
Two barrels of crude yields one barrel of gasoline and one barrel of distillate. Formula: (Gas + Distillate) / 2 − Brent. This site's default crack benchmark.
Controller: More balanced than 1:1. Useful when a refinery has roughly equal gasoline and distillate yield. Still a market shorthand — not equal to reported accounting margin.
3:2:1 Crack Spread
Three barrels of crude yields two barrels of gasoline and one barrel of distillate. Formula: (2×Gas + Distillate) / 3 − Brent/WTI. Most widely quoted industry benchmark.
Controller: Reflects U.S. refinery bias toward gasoline. Widely used in market commentary and analyst reports. Always reconcile to actual reported margin — they will differ.
API Gravity
A measure of crude oil density relative to water. Higher API = lighter crude = more gasoline and distillate yield. Light crude: >31.1°. Heavy crude: <22.3°.
Controller: Crude slate API composition directly affects yield and processing costs. Shifts in API can change cost-per-barrel economics without changing headline crude price.
Basis Risk
The risk that the price of the actual crude purchased does not move in perfect correlation with the benchmark used for hedging (e.g., WTI or Brent). The differential between actual crude and the hedge benchmark is the "basis."
Controller: Creates unexplained variance between hedge P&L and crude cost. Must be tracked and quantified separately in the margin bridge.
Benchmark Crude
A globally or regionally recognized reference crude used for pricing. Key benchmarks: Brent (global), WTI (U.S.), Dubai/Oman (Middle East). Actual crude purchased is priced as benchmark ± differential.
Controller: All crude cost basis calculations start from benchmark. Changes in the differential (not just the benchmark) affect landed cost and must be reconciled in cost variance analysis.
EMTS (EPA Moderated Transaction System)
The EPA's electronic system for tracking RIN generation, transfer, separation, and retirement. Required for RFS compliance. All RIN transactions must be recorded in EMTS.
Controller: Primary source for reconciling RIN asset/liability balance on the balance sheet. Discrepancies between EMTS and GL must be investigated and resolved before close.
FIFO (First-In, First-Out)
An inventory cost method where the cost of the oldest inventory is charged to COGS first. In a rising price environment, COGS reflects cheap old crude while inventory on the balance sheet reflects recent, higher costs.
Controller: Creates phantom profit in rising crude markets. Produces high balance sheet quality (inventory at recent cost). Must disclose the phantom profit impact in management commentary.
Hedge Effectiveness
Under ASC 815, a designated hedge must be highly effective at offsetting the risk of the hedged item. Effectiveness must be assessed at inception and on an ongoing basis. Highly effective = 80–125% offset range.
Controller: If a hedge fails effectiveness testing, it must be de-designated and all future MTM changes go through income immediately. Documentation must exist before the trade date.
Inventory Layer (LIFO)
Under LIFO, each period in which inventory quantities increased created a "layer" at the cost prevailing at that time. Older layers carry lower historical costs. Layers are preserved until quantities decline below that period's level.
Controller: LIFO layers from years or decades ago may carry costs far below current market. A volume decline (turnaround, supply disruption) that dips into old layers creates LIFO liquidation income.
LCM / NRV (Lower of Cost or Net Realizable Value)
Under ASC 330, inventory must be written down to net realizable value if market price falls below carrying cost. NRV = estimated selling price in the ordinary course of business minus costs to complete and sell.
Controller: Must test at every balance sheet date in a declining price environment. Write-down is taken through COGS, compressing reported margin. Must be documented with NRV calculations for audit support.
LIFO (Last-In, First-Out)
An inventory cost method where the most recently purchased crude is charged to COGS first. In a rising price environment, COGS reflects current (highest) costs, which reduces taxable income. IFRS does not permit LIFO.
Controller: COGS most closely tracks current economics — minimizing phantom profit. But balance sheet inventory value is severely understated (LIFO reserve). LIFO liquidation creates income spike risk.
LIFO Liquidation
When inventory quantities decline, older LIFO layers with lower historical costs are charged to COGS instead of current-price crude. This produces an artificial boost to reported income unrelated to operational performance.
Controller: Must disclose LIFO liquidation income in financial statement footnotes. Auditors specifically test for undisclosed LIFO dips. Flag to CFO so management commentary does not misattribute the income boost.
LIFO Reserve
The cumulative difference between inventory carrying value under LIFO and what it would be under FIFO or current cost. Represents the understated value on the balance sheet. Can be hundreds of millions at long-standing refineries.
Controller: Must disclose LIFO reserve in footnotes. Analysts and lenders will add back the LIFO reserve to normalize inventory for working capital analysis. Track changes in reserve each period.
Phantom Profit
Income reported under WAC or FIFO that reflects the benefit of lower-cost inventory purchased before a price increase — rather than current sustainable economics. It is not real operating improvement; it will reverse when higher-cost crude flows through COGS.
Controller: The most important concept to communicate to management in rising crude markets. Must be quantified separately: Economic margin vs. Reported margin. The difference is the phantom profit at risk of reversal.
RIN (Renewable Identification Number)
A 38-digit number assigned to each gallon of renewable fuel under the EPA's Renewable Fuel Standard (RFS). RINs are either generated by the renewable fuel producer or purchased on the open market by obligated parties (refiners, importers).
Controller: RIN cost is a first-class income statement item. Price volatility can swing margin by $1–$3/bbl. Policy election (net obligation, gross, COGS integration) affects timing and presentation of expense.
RVO (Renewable Volume Obligation)
The annual EPA-mandated percentage of obligated fuel volume that must be backed by RINs. Each RIN D-code category has its own RVO percentage. Established annually by EPA rulemaking.
Controller: RVO is the foundation of the RIN obligation calculation. Changes in annual RVO percentages directly affect RIN expense forecasts and working capital requirements. Monitor EPA rulemaking calendar.
Sour Crude
Crude oil with sulfur content greater than 0.5%. Requires hydrotreating to remove sulfur before processing. Generally priced at a discount to sweet benchmarks. Examples: Maya, Arab Heavy, WCS.
Controller: Sour crude discount must exceed incremental hydrotreating cost to generate net savings. Track hydrogen consumption and catalyst costs as variable OpEx that scales with sour crude volume.
Sweet Crude
Crude oil with sulfur content less than 0.5%. Easier and less costly to refine. Requires no hydrotreating. Examples: Brent, WTI, Louisiana Light Sweet. Typically commands a price premium.
Controller: Headline crude purchase cost is higher for sweet crude, but fully-loaded processing cost is lower. Ensure landed cost model reflects lower hydrotreating cost when switching from sour to sweet slate.
Throughput
The volume of crude oil processed by the refinery over a period, measured in barrels per day (b/d) or barrels per period. The primary volume metric for a refinery's operational capacity utilization.
Controller: Throughput is the fixed cost absorption driver. Below-budget throughput = fixed costs spread over fewer barrels = COGS per barrel rises. Always separate volume variance from price variance in margin bridges.
Turnaround (T/A)
A planned maintenance shutdown of a refinery processing unit to inspect, repair, and recertify equipment. Major turnarounds occur every 3–7 years, lasting days to weeks. Significant impact on throughput and OpEx.
Controller: Turnaround costs may be capitalized or expensed depending on policy (ASC 360 consideration). Throughput loss creates fixed cost absorption variance. Plan the working capital release from inventory drawdown during T/A.
Utilization Rate
Actual throughput divided by nameplate (design) capacity, expressed as a percentage. A 100,000 b/d refinery running 92,000 b/d has a 92% utilization rate. Industry benchmark typically 90–95%+ for efficient refineries.
Controller: Track actual vs. budget utilization monthly. Each percentage point of lost utilization = lost margin contribution AND higher cost per barrel. Separate planned downtime from unplanned outages for management reporting.
WAC (Weighted Average Cost)
An inventory cost method that blends all crude purchases into a single average cost pool. Each new purchase updates the pool average. COGS reflects this blended cost, not the oldest or newest purchases specifically.
Controller: Most common method in U.S. refining. Smooths price volatility but creates lag. In a rising market, WAC COGS understates current economics — generating phantom profit. Must quantify the lag in CFO bridge.
Yield
The volume of each product produced per barrel of crude processed, expressed as a percentage. A refinery may yield 45% gasoline, 28% distillate, 8% jet fuel, and so on from each barrel of crude input.
Controller: Actual yield vs. budgeted yield must be reconciled monthly. Yield shortfalls in high-value products (gasoline, distillate) directly compress margin. Yield overperformance in low-value products (fuel oil, coke) dilutes blended margin.
Crack Spread vs. Accounting Margin
The fundamental tension of refinery finance. Crack spread uses today's spot prices for both crude and products. Accounting margin uses historical inventory cost for COGS and recognized revenue at today's prices — with RIN and hedge adjustments on top.
Controller: This reconciliation — crack spread to reported margin — is the most important calculation in the monthly close. It must be prepared in writing, quantified per driver, and presented to the CFO. This is where the controller adds irreplaceable value.
// REFERENCE
Industry Resources
— Curated for Refinery Controllers
A practical reference list of primary sources, regulatory systems, market data, and accounting guidance that refinery controllers use regularly. Curated for usefulness — not comprehensiveness.
Market Data & Economics
U.S. Energy Information Administration (EIA)
The authoritative U.S. government source for petroleum statistics, refinery capacity data, crude oil production, imports, product prices, and weekly inventory reports (EIA-814 weekly crude runs).
✦ Controller use: Weekly crude and product inventory data; U.S. refinery utilization; historical price series for LCM analysis; market context for CFO briefings.
Regulatory — RINs & RFS
EPA Renewable Fuel Standard (RFS) & EMTS
The EPA's RFS program page contains RVO percentages, obligated party guidance, compliance deadlines, and access to the EMTS (EPA Moderated Transaction System) for RIN tracking and retirement.
✦ Controller use: Annual RVO percentages for obligation calculations; EMTS reconciliation; policy updates that affect RIN pricing and strategy; compliance documentation.
Market Data — Crude Benchmark
ICE — Brent Crude Futures
Intercontinental Exchange hosts the benchmark Brent crude futures contract. Front-month and forward curve data. Brent is the global light sweet crude benchmark and the default used in this handbook's scenario tool.
✦ Controller use: Brent forward curve for forecast modeling; hedge fair value reference; scenario tool inputs; directional crude cost forecasting for CFO bridge.
Market Data — U.S. Benchmarks
CME Group / NYMEX — WTI, RBOB, HO
CME hosts NYMEX futures for WTI crude, RBOB gasoline, and heating oil (distillate proxy). These are the primary contracts used for crack spread quotation and hedge programs in U.S. refining.
✦ Controller use: WTI front-month for U.S. hedge reference; RBOB and HO prices for crack spread calculations; derivative fair value inputs; hedge effectiveness testing.
Accounting Practice — Public Filings
SEC EDGAR — Public Refiner 10-K Filings
Annual reports from public U.S. refiners (Valero, Marathon Petroleum, Phillips 66, HF Sinclair, PBF Energy) provide real-world examples of inventory method disclosures, RIN accounting policies, hedge accounting, and LIFO reserve reporting.
✦ Controller use: Benchmark accounting policy disclosures; RIN footnote language; LIFO reserve quantification examples; CFO narrative language for earnings materials.
Accounting Standards
FASB Accounting Standards Codification (ASC)
The authoritative source for U.S. GAAP. Key topics for refinery controllers: ASC 330 (Inventory, including LCM/NRV), ASC 815 (Derivatives and Hedging), ASC 606 (Revenue Recognition), ASC 360 (Property, Plant and Equipment — turnaround capitalization).
✦ Controller use: Definitive standard text for audit support; policy memo citations; technical accounting position documentation; SOX compliance reference.
Industry Standards
American Petroleum Institute (API)
Sets technical standards for the oil industry including measurement standards (MPMS — Manual of Petroleum Measurement Standards) used in custody transfer, tank gauging, and volume measurement. Also publishes industry statistics.
✦ Controller use: Measurement standards basis for custody transfer accounting; tank volume calculation references; basis for inventory physical vs. book reconciliation methodology.
Accounting Guidance — Practice
Deloitte / PwC — Oil & Gas Accounting Guides
The Big 4 accounting firms (Deloitte, PwC, EY, KPMG) publish industry-specific accounting guides for oil and gas, including downstream/refining topics: inventory methods, hedge accounting, RINs, revenue recognition, and turnaround accounting.
✦ Controller use: Practical GAAP interpretation for refinery-specific topics; RIN policy alternatives and audit considerations; hedge accounting application guidance; footnote drafting reference.
Market Data — Weekly
EIA Weekly Petroleum Status Report
Published every Wednesday, covering U.S. crude oil stocks, product inventories, refinery inputs, refinery utilization, and crude import volumes. One of the most market-moving data releases in energy markets.
✦ Controller use: Market context for LCM/NRV testing; inventory trend monitoring; utilization benchmarking vs. peers; timing context for crude cost forecasting.
Pricing Reference
OPIS / Platts (S&P Global Commodity Insights)
OPIS and Platts (now S&P Global Commodity Insights) are the primary price reporting agencies for spot petroleum products (rack prices, pipeline prices, terminal prices). Used for product revenue pricing and transfer pricing.
✦ Controller use: Spot product price reference for revenue recognition; NRV testing benchmark; basis for transfer pricing documentation between entities; hedge effectiveness price source.
Regulatory — RIN Pricing
EPA RIN Price Reporting
The EPA publishes RIN trade data and price information through the EMTS system. Third-party data providers (OPIS, Argus) also publish daily D3, D4, D5, and D6 RIN prices used for liability valuation and cost forecasting.
✦ Controller use: Market price for RIN liability fair value assessment; stress-testing RIN exposure model; documenting mark-to-market assumptions in RIN accounting policy memo.
Audit Standards
PCAOB Auditing Standards
For public companies, the PCAOB sets auditing standards applicable to external audits. Relevant for refinery controllers at public companies regarding inventory valuation, derivatives, and internal controls over financial reporting (ICFR/SOX).
✦ Controller use: Understanding auditor expectations for SOX documentation; inventory and derivative substantive testing standards; support for control design and testing around close process.