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.
— A Controller's View
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.
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.
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.
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.
| Metric | Commercial Team Uses | Controller Uses / Scrutinizes |
|---|---|---|
| Margin per barrel | Realized crack spread (spot vs. spot) | COGS per barrel (inventory cost method) |
| Revenue | Volume × prompt price | Volume × price per ASC 606 recognition |
| Crude cost | Current market price (MTM) | Weighted average / FIFO / LIFO cost pool |
| RIN impact | Often excluded from "clean" metrics | Expensed; period accrual affects reported margin |
| Hedge P&L | Economic hedge result | ASC 815 classification determines income timing |
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.
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.
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.
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
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
- 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
— Grades, Benchmarks & Yield
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.
| Classification | API Gravity | Characteristics | Typical Products | Accounting Implication |
|---|---|---|---|---|
| Light | > 31.1° | Low density, flows easily | High gasoline, naphtha, jet yield | Premium cost; typically higher margin per barrel processed |
| Medium | 22.3°–31.1° | Intermediate | Balanced product slate | Standard reference for yield models |
| Heavy | < 22.3° | Dense, viscous | More residual fuel, asphalt, petcoke | Lower 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.
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
| Benchmark | Region | API / Sulfur | Role | Accounting Note |
|---|---|---|---|---|
| WTI (West Texas Intermediate) | U.S. (Cushing, OK) | 39.6° / 0.24% | U.S. light sweet benchmark | NYMEX front-month used as hedge reference; basis risk vs. actual crude differential |
| Brent | North Sea | 38.3° / 0.37% | Global light sweet benchmark; site default | ICE futures; used in international supply contracts and many hedge programs |
| Maya | Mexico | 22.0° / 3.3% | Heavy sour benchmark | Typically 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. market | Wide differential to WTI historically; pipeline capacity drives pricing volatility |
| Dubai/Oman | Middle East | 31.0° / 2.0% | Medium sour benchmark | Relevant 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.
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.
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
Controller Checklist — Crude Cost Review
- 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
— What Traders See vs. What Controllers Report
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.
Balanced view. Often preferred for refineries with roughly equal gasoline and distillate yield.
Most widely quoted in market commentary. Reflects U.S. refinery bias toward gasoline output.
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.
| Factor | Crack Spread Assumes | Reported Margin Reflects | Impact |
|---|---|---|---|
| Crude cost | Current spot (Brent/WTI) | Inventory cost (WAC/FIFO/LIFO) | Lag of 15–45 days; phantom profit in rising markets |
| Product yield | Fixed 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 slate | Gas + distillate only | All products: jet, naphtha, LPG, coke, sulfur | Byproduct realizations add/subtract from actual margin |
| RIN cost | Excluded | RIN obligation accrued as expense | Reduces reported margin by $1–$3+/bbl at high RIN prices |
| Hedge impact | Excluded (spot-to-spot) | ASC 815 hedge settlements in income | Can add or subtract $1–5/bbl depending on position |
| OpEx | Excluded (gross spread) | All operating costs deducted | Narrows margin; varies with throughput |
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.
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.
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
- 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
— The Core Section
The Three Methods — Side by Side
| Method | COGS Reflects | Inventory Balance Sheet | Best For | Key Risk |
|---|---|---|---|---|
| Weighted Average Cost (WAC) | Blend of all purchases to date | Blended cost — current | Smoothing price volatility; simpler operations | Phantom profit in rising markets; lag obscures economics |
| FIFO | Oldest costs first out | Most recent costs (closest to market) | Inventory tracking by lot; balance sheet quality | COGS lags market in rising prices → inflated reported income |
| LIFO | Most recent costs first out | Oldest costs (often severely understated) | Tax advantage in inflationary environment | LIFO 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.
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.
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:
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.
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.
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.
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.
| Entry | Account | Debit | Credit | Controller Note |
|---|---|---|---|---|
| A1 · Crude Cargo Received (100,000 bbls @ $87.00 landed cost) | ||||
| A1 | Crude Oil Inventory | $8,700,000 | Recorded at all-in landed cost: Brent benchmark ± differential + freight + inspection | |
| Accounts Payable — Crude | $8,700,000 | Invoice accrual at price finalization date. Confirm pricing period per contract. | ||
| A2 · Separate freight/demurrage if capitalized to inventory | ||||
| A2 | Crude Oil Inventory | $320,000 | $0.32/bbl transport cost capitalized to landed cost basis | |
| Accrued Freight / AP | $320,000 | Policy: capitalize all freight to inventory. Not optional once policy is elected. | ||
| A3 · WAC Pool Update (illustration) | ||||
| A3 | No separate entry — WAC pool recalculated: (Opening balance $8,580,000 + New purchase $9,020,000) ÷ (110,000 + 100,000 bbls) = $83.81/bbl new WAC | Prior pool: 110,000 bbls @ $78.00. After this cargo the pool is blended. COGS for next sale uses $83.81, not $87.00. | ||
| Entry | Account | Debit | Credit | Controller Note |
|---|---|---|---|---|
| B1 · Product Sale: 50,000 bbls gasoline/distillate @ avg $109.50/bbl (2:1:1 product blend) | ||||
| B1a | Accounts Receivable | $5,475,000 | Revenue at recognized price per ASC 606. Trigger: custody transfer at pipeline meter. | |
| Revenue — Product Sales | $5,475,000 | Point-in-time recognition. Confirm custody transfer evidence before recording. | ||
| B1b | Cost of Goods Sold | $4,190,500 | COGS = 50,000 bbls × $83.81 WAC. Not market price. This is the accounting-economics gap origin. | |
| Product Inventory | $4,190,500 | Reduces 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. | |||
| Entry | Account | Debit | Credit | Controller Note |
|---|---|---|---|---|
| C1 · Crude price falls $12/bbl after quarter-end. Inventory cost = $87.00; NRV of finished product = $82.00/bbl | ||||
| C1 | Inventory Write-Down Expense (in COGS) | $500,000 | 100,000 bbls × $5.00/bbl excess of cost over NRV. Recognized immediately at balance sheet date. | |
| Crude Oil Inventory (or Allowance) | $500,000 | ASC 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) | ||||
| C2 | Under 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. | ||
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
| Scenario | COGS/bbl | Product Rev/bbl | Reported Margin/bbl | vs. 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
- 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)
— Economic Positions vs. Accounting Treatment
What Refineries Hedge
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.
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.
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 Type | Treatment | Income Statement Impact | Balance Sheet |
|---|---|---|---|
| Cash Flow Hedge (designated) | Mark-to-market to OCI; reclassify to income when hedged item affects earnings | Hedge P&L aligns with the period of the hedged transaction | Derivative asset/liability; AOCI balance |
| Fair Value Hedge (designated) | Both derivative and hedged item at fair value through income | Offsetting gains/losses should be minimal; net = hedge ineffectiveness | Adjusted basis of hedged item |
| Not Designated (economic hedge) | Full mark-to-market through income each period | Timing mismatch — derivative MTM recognized before physical settlement | Derivative 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.
| Entry | Account | Debit | Credit | Controller Note |
|---|---|---|---|---|
| D1 · Inception: Short 100,000 bbls WTI futures @ $87.00 to hedge anticipated crude purchase. Fair value = $0 at inception. | ||||
| D1 | No 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 | ||||
| D2 | AOCI — Unrealized Hedge Loss | $400,000 | MTM loss goes to equity (AOCI), not the income statement. This is the core benefit of cash flow hedge accounting. | |
| Derivative Liability — Crude Futures | $400,000 | Derivative 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. | ||||
| D3a | Cash / AP Settlement | $400,000 | Hedge settles — cash received on futures contract (or variation margin returned). | |
| Derivative Liability — Crude Futures | $400,000 | Closes the derivative position. | ||
| D3b | COGS — Hedge Reclassification | $400,000 | AOCI balance reclassified to income in the same period the hedged item (crude purchase) affects earnings. | |
| AOCI — Unrealized Hedge Loss | $400,000 | Net income effect: higher COGS from $91 crude partially offset by $400K hedge reclassification. This is the intended timing match. | ||
| Entry | Account | Debit | Credit | Controller Note |
|---|---|---|---|---|
| E1 · Same trade as above, but NOT designated as a hedge. Month-end MTM: $400,000 loss on futures. | ||||
| E1 | Unrealized Derivative Loss (Income) | $400,000 | Entire MTM change goes to income immediately. No AOCI buffer. CFO sees a $400K loss this period. | |
| Derivative Liability — Crude Futures | $400,000 | Same 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. | ||||
| E2 | The 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. | ||
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.
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
- 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
— Policy Judgment at Every Turn
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.
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.
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 B — Gross Asset / Gross Liability Approach
Policy C — Inventory / COGS Integration
| Consideration | Policy A (Net) | Policy B (Gross) | Policy C (COGS) |
|---|---|---|---|
| Balance sheet transparency | Moderate | High | Low |
| Income statement volatility | Moderate | High — cost/market spread | Low — integrated into COGS |
| Operational simplicity | Moderate | Complex | Simplest |
| Audit sensitivity | High | Highest | Moderate |
| CFO visibility | Good | Best | Lowest |
| Consistency requirement | ALL policies require consistent application once elected | ||
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."
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.
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
Controller Checklist — RINs
- 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
— When is a Barrel Sold?
ASC 606 — The Five-Step Framework in Refinery Context
| Step | General ASC 606 | Refinery Application |
|---|---|---|
| 1. Identify contract | Written/oral agreement | Term supply agreement or spot sale confirmation; pricing formula usually benchmark-based |
| 2. Identify performance obligation | Distinct goods/services | Typically delivery of specified product at specified volume and quality |
| 3. Determine transaction price | Consider variable consideration | Benchmark + differential; may include quality adjustments, volume rebates |
| 4. Allocate transaction price | To each performance obligation | Usually single obligation per contract; blended product pricing may require allocation |
| 5. Recognize revenue | When/as obligation satisfied | Point in time — typically at custody transfer (pipeline meter, vessel load/discharge) |
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
| Product | Typical Yield (light crude) | Revenue Quality | Controller Note |
|---|---|---|---|
| Gasoline (RBOB) | ~45% | High — drives headline margin | RIN obligation attached; RVP seasonal specs affect pricing |
| Ultra-Low Sulfur Diesel (ULSD) | ~25–30% | High — distillate premium | Subject to LCFS in California market; D4 RIN value if biodiesel-blended |
| Jet Fuel (Jet-A) | ~5–10% | High in strong demand periods | No RIN obligation; typically sold on spot or airline term contract |
| Naphtha | ~5–8% | Moderate — petrochemical feedstock | May be blended into gasoline pool; separate sale to petchem customers |
| LPG (propane/butane) | ~2–5% | Seasonal; propane heating demand | Fractionation required; separate revenue stream |
| Residual Fuel / Fuel Oil | ~5–15% (heavy crude higher) | Low — bunker fuel market | IMO 2020 sulfur limits changed fuel oil economics significantly |
| Petroleum Coke | Varies (coker) | Low | Byproduct; can be negative netback if high sulfur |
| Sulfur | Varies | Low-to-negative | Must be removed/disposed; can be negative value product |
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
- 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
— Bridging the Gap Before It Becomes a Surprise
Why Accounting Results Diverge from Economic Expectations
The fundamental drivers of divergence — in order of impact in most refinery environments:
- Inventory cost lag — the most significant driver. COGS reflects purchase cost from 15–45 days ago, not today's market.
- RIN price movement — particularly at quarter/year-end when obligations must be fully accrued at market.
- Hedge settlement timing — cash flow hedges in OCI reclassify on the physical sale date, not the hedge settlement date.
- Fixed cost absorption — throughput variance below budget spreads fixed costs over fewer barrels.
- Product mix yield — actual yield vs. budget; heavy crude impact on light product yields.
- LCM write-downs — non-cash charge that hits COGS when inventory cost exceeds NRV.
The Controller's Forecasting Model — Key Inputs
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
| KPI | Definition | Controller Notes |
|---|---|---|
| Gross Margin per Barrel | Revenue − Crude COGS / throughput bbls | Compute at both reported (inventory cost) and economic (market cost) basis |
| Operating Cost per Barrel | Total OpEx / throughput bbls | Decompose fixed vs. variable; throughput-normalize for fair period comparison |
| RIN Cost per Barrel | Total RIN expense / throughput bbls | Separate line — significant and volatile |
| EBITDA per Barrel | EBITDA / throughput bbls | Add back D&A — useful for operational comparison across refineries |
| Cash Cost per Barrel | Cash OpEx + RINs + crude cost / throughput bbls | Cash margin = revenue per bbl − cash cost per bbl |
| Utilization Rate | Actual throughput / nameplate capacity | Fixed cost absorption driver; flag planned vs. unplanned downtime separately |
| Inventory Days | Crude inventory / daily crude run rate | Working capital exposure metric; flag increases in rising price environment |
Controller Checklist — Forecasting & CFO
- 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
— Where the Numbers Break Down
The Refinery Systems Ecosystem
| System Type | Examples | What It Tracks | Controller Reliance |
|---|---|---|---|
| Process Industry Modeling (PIMS) | Aspen PIMS, GAMS | Optimal crude slate, yield predictions, unit operations planning | Yield budget and actual comparison; product allocation basis |
| Crude/Product Trading (CTRM) | Allegro, Triple Point, ION | Trade confirmations, pricing, nominations, hedge positions | Revenue and purchase prices; hedge fair value; derivative positions |
| Tank / Terminal Management | Toptech, Implico, Emerson | Physical barrel inventory by tank, movements, custody transfers | Physical inventory reconciliation; revenue cut-off; custody transfer events |
| Plant / Lab Data | LIMS, Honeywell, DCS | Product quality specs, blend component analysis, yields by unit | Quality bank adjustments; blending cost basis; yield accounting |
| ERP / GL | SAP, Oracle | Journal entries, AP/AR, fixed assets, financial reporting | Source of record for financial statements; must reconcile to all above |
| EPA EMTS | EPA system (required) | RIN generation, transfer, and retirement records | RIN compliance position; asset/liability reconciliation |
The Three Most Dangerous Reconciliation Gaps
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.
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.
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
- 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
— From Crude to Cash, With Every Break Point
The Complete Refinery Accounting Flow
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.
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.
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.
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.
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.
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.
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.
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.
- 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)
— Essential Refinery Accounting Terms
— Curated for Refinery Controllers