Workspace /D5 Commodity Swaps
D5

Commodity Swaps

Price and value a fixed-for-floating commodity swap: one side pays a fixed price per unit, the other pays the floating market price, and only the difference is settled each period. See the swap price, the value to each side, every period's payments, the sensitivity to the forward curve and a settlement calculator.

Learning focus: a commodity swap is a strip of forward contracts at one fixed price, so the swap price is the average of the forward prices weighted by quantity × discount factor, and the swap is worth zero only at that price.

Swap
Discounting
%
Settlement
Net payment
35,000.00
The fixed receiver pays the fixed payer
Net to you
35,000.00
You receive
Realised − fixed
3.5000
per barrel on 10,000

The fixed payer who buys the physical commodity at the floating price P and receives P − K from the swap pays K overall: the swap locks in the fixed price whatever P turns out to be, ignoring any basis between the physical purchase price and the swap's floating index.

Settlement dates
#Time (yrs)Forward priceDF usedQuantityRemove
10.990050
20.980199
30.970446
40.960789

One row per settlement date, nearest first. The forward is the forward or futures price for that date's floating price. Leave quantity blank to use the quantity per period.

Swap price
76.9088
per barrel
Swap value to you
15,947.40
As the fixed payer (floating receiver)
Value to the counterparty
−15,947.40
The fixed receiver (floating payer)
Fixed price − swap price
−0.4088
per barrel
Simple average of forwards
76.9000
Weighted − simple = 0.0088
PV of 1 unit per period
3.901483
Value change for +1.00 on the forward curve
39,014.83
To you; Σ Qᵢ × DFᵢ = 39,014.83
Total quantity
40,000
WTI crude (barrel), 4 settlements
Per-period payments
#ForwardDFWeightFixed paymentExpected floatingNet to youPV of net
178.000.99005025.38%765,000.00780,000.0015,000.0014,850.75
277.200.98019925.12%765,000.00772,000.007,000.006,861.39
376.500.97044624.87%765,000.00765,000.000.000.00
475.900.96078924.63%765,000.00759,000.00−6,000.00−5,764.74
Sum = swap value to you15,947.40

Fixed payment = Q × K; expected floating = Q × F, the floating payment if the price ends at today's forward. Net is from your side; PV = net × DF. Weight is Qᵢ × DFᵢ ÷ Σ Q × DF, each forward's share of the swap price.

Forward curve and swap price

The swap price is a single fixed price that sits inside the forward curve, where the discounted gains on the periods above it offset the losses on the periods below it.

Where the value comes from

Each bar is one settlement's expected net payment discounted to today, and the line adds them up to the swap's value to you.

Shape of the curve

The forward curve slopes down (−2.80 per barrel per year): backwardation. Later deliveries are cheaper than nearer ones, which happens when holding the physical commodity is valuable (a high convenience yield, often when inventories are tight) relative to financing and storage costs.

Why a weighted average: the swap is a strip of forward contracts, all at the same fixed price K. Each one is worth Qᵢ × DFᵢ × (Fᵢ − K) today, so the K that makes their sum zero is Σ Qᵢ × DFᵢ × Fᵢ ÷ Σ Qᵢ × DFᵢ. Each forward is weighted by its quantity times its DF, so periods with larger quantities count more, and nearer dates, with larger DFs, count a little more; so here the swap price is 76.9088 against a simple average of 76.9000. In backwardation the fixed payer expects to receive net payments on the early settlements and to make them on the later ones, so once the early ones are paid the fixed receiver is owed value and carries the credit exposure.