Margrabe Exchange Option Calculator
Inputs
- Inputs: asset 1 $100.00 at 25.00% volatility, asset 2 $95.00 at 20.00%, correlation 0.60, expiry 1.00 years.
- Composite volatility sigma = sqrt(sigma1^2 - 2 rho sigma1 sigma2 + sigma2^2) = 20.62%.
- d1 = [ln(S1/S2) + sigma^2 T/2] / (sigma sqrt(T)) = 0.352; d2 = d1 - sigma sqrt(T) = 0.146.
- Exchange option value = S1 N(d1) - S2 N(d2) = $10.75: the right to swap asset 2 for asset 1, with no cash strike and no discounting because both legs are assets.
Some options have no cash strike at all: the price of exercising is handing over another asset. Margrabe's 1978 formula prices that exchange option with surprising economy - the two prices, the two volatilities, the correlation and the expiry go in, and the value of the right to swap comes out, with no interest rate anywhere in sight. This calculator implements the formula and reports the composite volatility and the two d terms so the result can be checked against any Black-Scholes implementation.
Worked examples
Asset 1 ahead, moderate correlation
(100 · 95 · 25 % · 20 % · 0.6 · 1 years)
| Exchange option value | $10.75 |
| Composite volatility | 20.62% |
| d1 | 0.352 |
| d2 | 0.146 |
Asset 1 behind, low correlation
(80 · 100 · 30 % · 25 % · 0.2 · 0.5 years)
| Exchange option value | $2.21 |
| Composite volatility | 35.00% |
| d1 | -0.778 |
| d2 | -1.025 |
High correlation, wide gap
(120 · 100 · 15 % · 15 % · 0.9 · 2 years)
| Exchange option value | $20.11 |
| Composite volatility | 6.71% |
| d1 | 1.969 |
| d2 | 1.874 |
Why exchanging assets is an option
An exchange option pays max(S1 - S2, 0) at expiry: receive asset 1, deliver asset 2. Margrabe's insight was that only the ratio S1/S2 matters. Divide through by S2 and the contract becomes a call on the ratio with strike 1, denominated in units of asset 2 - and a call on a single (lognormal) ratio can be priced by the Black-Scholes argument. The interest rate cancels because both legs are assets delivered at the same date; there is no cash leg to discount.
The result is the formula this page computes: value = S1 N(d1) - S2 N(d2), with d1 and d2 built from the composite volatility. It prices outperformance options, many spread structures, and the real-option value of being able to switch a plant between two fuels or a refinery between two crude slates - anywhere the economic right is a swap, not a purchase.
- Payoff at expiry: max(S1 - S2, 0)
- Only the ratio of prices matters, so no interest rate enters
- Higher correlation between the assets lowers the value
- With identical perfectly correlated assets the value is pure intrinsic value
The composite volatility
The volatility of the ratio is sigma = sqrt(sigma1^2 - 2 rho sigma1 sigma2 + sigma2^2). The minus sign on the correlation term is the whole economics of the contract: when the two assets move together, their ratio barely moves, and the right to swap is worth little. In the third worked example, volatilities of 15% each with correlation 0.9 collapse to a composite of just 6.71%, yet because asset 1 starts well ahead, the option is still worth $20.11 - nearly all of it the $20 intrinsic gap.
In the first example, volatilities of 25% and 20% with correlation 0.6 give a composite of 20.62%, d1 of 0.352 and d2 of 0.146, and a value of $10.75 on a $5 intrinsic gap - the remainder is time value bought by the ratio's volatility. The second example starts underwater, asset 1 at 80 against 100, with a composite of 35.00%, and the option keeps $2.21 of value purely from the chance the ratio turns.
| Example | Composite vol | Value | Intrinsic |
|---|---|---|---|
| 1: 100 vs 95, rho 0.6 | 20.62% | $10.75 | $5.00 |
| 2: 80 vs 100, rho 0.2 | 35.00% | $2.21 | $0.00 |
| 3: 120 vs 100, rho 0.9 | 6.71% | $20.11 | $20.00 |
Worked examples
Example 1: Asset 1 price (received) 100; Asset 2 price (given up) 95; Asset 1 volatility 25; Asset 2 volatility 20; Correlation between the assets 0.6; Time to expiry 1. Exchange option value = $10.75. Supporting values: Composite volatility 20.62%; d1 0.352; d2 0.146. Inputs: asset 1 $100.00 at 25.00% volatility, asset 2 $95.00 at 20.00%, correlation 0.60, expiry 1.00 years. Composite volatility sigma = sqrt(sigma1^2 - 2 rho sigma1 sigma2 + sigma2^2) = 20.62%. d1 = [ln(S1/S2) + sigma^2 T/2] / (sigma sqrt(T)) = 0.352; d2 = d1 - sigma sqrt(T) = 0.146. Exchange option value = S1 N(d1) - S2 N(d2) = $10.75: the right to swap asset 2 for asset 1, with no cash strike and no discounting because both legs are assets.
Example 2: Asset 1 price (received) 80; Asset 2 price (given up) 100; Asset 1 volatility 30; Asset 2 volatility 25; Correlation between the assets 0.2; Time to expiry 0.5. Exchange option value = $2.21. Supporting values: Composite volatility 35.00%; d1 -0.778; d2 -1.025. Inputs: asset 1 $80.00 at 30.00% volatility, asset 2 $100.00 at 25.00%, correlation 0.20, expiry 0.50 years. Composite volatility sigma = sqrt(sigma1^2 - 2 rho sigma1 sigma2 + sigma2^2) = 35.00%. d1 = [ln(S1/S2) + sigma^2 T/2] / (sigma sqrt(T)) = -0.778; d2 = d1 - sigma sqrt(T) = -1.025. Exchange option value = S1 N(d1) - S2 N(d2) = $2.21: the right to swap asset 2 for asset 1, with no cash strike and no discounting because both legs are assets.
Example 3: Asset 1 price (received) 120; Asset 2 price (given up) 100; Asset 1 volatility 15; Asset 2 volatility 15; Correlation between the assets 0.9; Time to expiry 2. Exchange option value = $20.11. Supporting values: Composite volatility 6.71%; d1 1.969; d2 1.874. Inputs: asset 1 $120.00 at 15.00% volatility, asset 2 $100.00 at 15.00%, correlation 0.90, expiry 2.00 years. Composite volatility sigma = sqrt(sigma1^2 - 2 rho sigma1 sigma2 + sigma2^2) = 6.71%. d1 = [ln(S1/S2) + sigma^2 T/2] / (sigma sqrt(T)) = 1.969; d2 = d1 - sigma sqrt(T) = 1.874. Exchange option value = S1 N(d1) - S2 N(d2) = $20.11: the right to swap asset 2 for asset 1, with no cash strike and no discounting because both legs are assets.
Reading the result
Decompose any Margrabe value into intrinsic and time value before trusting it. If asset 1 is ahead, most of the price may be the gap itself, which no model dispute can remove; the model's contribution is only the time value, driven by the composite volatility and the expiry. If the assets are near each other, the price is almost all time value, and small changes in the correlation input - the hardest of the inputs to observe - swing it proportionally.
Correlation deserves its reputation as the dangerous input. It is estimated from history, it drifts, and for the real-option applications (fuel switching, input substitution) there may be no traded history at all. Running the calculator at a plausible range of correlations, rather than a point estimate, is the honest way to quote an exchange option's value.
Where exchange options appear in practice
The cleanest market example is the outperformance option on two indices, but the structure is everywhere once recognised: a spark spread is an exchange option between electricity and gas, a crack spread between crude and products, and the equity of a levered firm can be read as an exchange option between the firm's assets and its debt. Margrabe's formula also prices one leg of many basket and best-of structures.
Extensions relax the assumptions in the usual directions: assets paying dividends or convenience yields (handled by replacing each price with its forward value), American exercise, and stochastic correlation. The European, yield-free version on this page remains the benchmark every extension is checked against, and the version whose inputs a non-specialist can actually supply.
Assumptions to keep in view
Both assets are assumed lognormal with constant volatilities and a constant correlation, and exercise is European. If either asset pays a continuous yield, replace its spot price by the present value of the asset delivered at expiry - equivalently, use forward prices for both legs and the formula is unchanged. Jumps, stochastic volatility and early exercise all push value away from the formula, generally upward for the holder.
One more check is free: set the correlation to 1 and the volatilities equal, and the calculator should return exactly the intrinsic value, because the ratio then cannot move. If an implementation fails that test, it is wrong somewhere - Margrabe's formula is unusually rich in such limiting cases, and they are worth using.
A close relative deserves mention because it is so often confused with this contract: the spread option on the difference of two prices with a cash strike. That contract has no exact formula - Kirk's approximation is the market standard - precisely because the cash strike breaks the ratio trick that makes Margrabe's version exact. When the strike is zero the two coincide, and checking a spread pricer at zero strike against this page's formula is the standard validation: an implementation that cannot reproduce $10.75 for the first example's inputs at zero strike has a defect somewhere in its correlation handling.
The real-options reading of the formula rewards a second look. A plant that can switch between two fuels owns an exchange option struck every hour it runs; a shipping firm that can substitute one crude grade for another owns another. Valuing those flexibilities with Margrabe's formula - using the fuels' forward prices and volatilities and an honest correlation - converts an engineering feature into a number that can be compared with the cost of building the flexibility in. Many such flexibilities are built unvalued and valued never; the formula's simplicity is an argument that they should not be.
One more limiting case is worth keeping in a testing toolkit. Set the second asset's volatility to zero and it degenerates into a cash amount growing at no risk; the formula then collapses to a Black-Scholes call on the first asset with that amount as strike, discounted appropriately - a reduction an implementation should reproduce exactly. Formulas with this many honest limits are rare in derivatives, and each limit is a free unit test: ratio invariance, the zero-volatility reduction, the perfect-correlation collapse to intrinsic value. A pricer that passes all three is very likely right; one that fails any is certainly wrong somewhere.
FAQs
What is the exchange option worth in the first example?
It is worth $10.75: a $5.00 intrinsic gap plus time value from the 20.62% composite volatility over one year.
What composite volatility does the first example produce?
Volatilities of 25% and 20% with correlation 0.6 combine to 20.62% - the correlation term removes a large part of the individual volatilities.
What is the option worth in the second example?
Starting underwater at 80 against 100, it is still worth $2.21, entirely time value from the 35.00% composite volatility.
What is it worth in the high-correlation third example?
It is worth $20.11 - almost exactly the $20.00 intrinsic gap, because correlation of 0.9 leaves a composite volatility of only 6.71%.
What is d1 in the first example?
D1 is 0.352 and d2 is 0.146; they play the same roles as in Black-Scholes, with the composite volatility in place of the single-asset one.
What correlation does the first example assume?
It assumes 0.6 - high enough to matter, low enough to leave the ratio with real volatility.