Black-Scholes Draws a Flat Line
In the Black-Scholes model every strike is priced with one volatility, so the volatility read back from each price is the same number; with the example inputs the call at 100 costs 10.45 and all nine strikes read back 20%.
The question
The Black-Scholes model prices a European call from the spot, the rate, the time and one number, the volatility. Take the model as given, price calls at nine strikes, and turn each price back into a volatility. What does the line of volatilities against strike look like?
The example is a model with made-up inputs: spot 100, rate 5% continuously compounded, no dividends, one year and a volatility of 20%. The strikes run from 70 to 130 in steps of 7.5. It is a description of an arithmetic model and not investment advice.
Work it by hand
For the call at strike 100, with σ = 0.2 and T = 1, the model gives d1 = (ln(100/100) + (0.05 + 0.02)) / 0.2 = 0.35 and d2 = 0.15. The price is 100 N(0.35) − 100 e^(−0.05) N(0.15), with the normal distribution function N. From a table, N(0.35) is 0.6368 and N(0.15) is 0.5596, so the price is 63.68 − 53.23 = 10.45, to the cent.
Every strike uses the same σ, so turning any of the nine prices back into a volatility finds 0.2 again. That is not a finding: the volatility went in at the start and comes out at the end. The line is flat because the model has one volatility.
Run it
The program takes the strikes as a list, the spot, the rate, the volatility vol and one strike. Line 1 builds the model. Line 3 asks the engine, calibration.smile, for the volatility implied by the model at each strike. The loop from line 5 does it the long way: it prices the call (line 7) and asks calibration.implied_vol for the volatility of that price (line 9); line 8 stores the first route. Lines 11 and 15 price the call at strike and return it in whole cents.

let m = model.black_scholes(spot, rate, 0.0, vol);
let engine = pricing.analytic();
let s = calibration.smile(m, strikes, 1.0);
let flat = float_list(); let back = float_list();
for (i in range(0, strikes.len())) {
let c = instrument.european_call(strikes.at(i), 1.0);
let px = pricing.price(c, m, engine).price();
flat.add(lmf.round(s.at(i), 4));
back.add(lmf.round(calibration.implied_vol(c, m, engine, px), 4));
}
let one = instrument.european_call(strike, 1.0);
let p = pricing.price(one, m, engine).price();
lmcode_return_put("flat", flat);
lmcode_return_put("back", back);
let answer = int(math_round(lmf.round(p, 2) * 100.0));
{
"answer": 1045,
"flat": [
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
],
"back": [
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
}You can change the spot, the rate, strike and the strikes. The spot must be positive: 0 stops at line 1 with "model.black_scholes: spot must be positive". Each strike in the list must be positive, or the run stops at line 3 with "calibration.smile: strikes must be positive, got 0 at index 1" (a strike of 0 at index 1); a strike of 0 stops at line 11 with "option strike must be positive".
vol must be positive: a vol of 0 stops at line 1 with "model.black_scholes: volatility must be positive". With the rate of the example, keep vol between 0.06 and 5: change it and the whole line moves to the new level and stays flat. A higher or lower rate moves the lower limit (at a rate of 0.2 the strike 70 already reads 0.0001 at a vol of 0.06).
At 0.05 the run stops at line 9 with "price 33.4139 is outside the range reachable with volatility in [0.0001, 5]", above 5 it stops there with a similar message, and at 0.04 or less the long way reads 0.0001 at some strikes (a price at its lower limit carries no information about the volatility), while the engine's smile call still shows vol.
Your turn
A desk keeps a quoted smile as two lists: strikes and vols, the volatility quoted for each strike. It wants the Black-Scholes price of the call at strike, in whole cents, with the volatility quoted for that strike. The program below is meant to return it for one year, the stated spot and the rate. Decide whether it does, and find the candidates that do. Check runs each candidate on the lists shown and on five others.

let m = model.black_scholes(spot, rate, 0.0, 0.2);
let v = vols.at(0); let best = 1000000.0;
for (i in range(0, strikes.len())) {
let gap = abs(strikes.at(i) - spot);
if (gap < best) { best = gap; v = vols.at(i); }
}
let c = instrument.european_call(strike, 1.0);
let p = pricing.price(c, m.with_vol(v), pricing.analytic()).price();
let answer = int(math_round(lmf.round(p, 2) * 100.0));
{
"answer": 1670
}The lists strikes and vols are a quoted smile, one volatility per strike, and strike is one of the strikes. Return the Black-Scholes price, in whole cents, of the one-year call at strike with the volatility quoted for that strike. Use the spot and the rate given.
Read the result carefully
The flat line is an assumption that was put in and read back; it is not evidence about any market. The volatility of 20% and the nine strikes are made-up inputs. When a table of quotes has a different volatility for each strike, the quote at one strike says nothing about the others.
The model leaves out everything that could make the volatility move: a changing variance, jumps and costs. The next lesson takes quoted prices and looks at what volatilities they need. It is a description of an arithmetic model and not investment advice.
Recap
- In the Black-Scholes model the volatility is one input and is the same at every strike.
- Turning a model price back into a volatility returns the input: the line against strike is flat.
- The engine's smile call and the long way through
implied_volagree on a flat line in the example. - With the example inputs the call at 100 costs 10.45 and the volatility is a made-up number.