Turn a spot or par curve into discount factors, spot, par and forward curves, price forward-rate agreements, and stress the curve with parallel, slope and curvature shocks.
By Prof. V. Ravichandran · Interactive teaching tool · Illustrative Indian money-market and G-Sec curve · Companion to the yield curves guide
Spot zero curve, par yield curve, implied forward rates and shock simulations
Input baseline
Compounding
Parallel shift
Slope shock (10Y − 2Y)
Curvature (butterfly)
10Y spot rate–
10Y − 2Y spread (slope)–
Spot curve, basis points
30Y − 10Y spread–
Long-end steepness
10Y − 91D spread–
Term premium over T-bills
Spot zero, par yield and implied forward curves
Forward rate agreement calculator
The rate agreed today for borrowing from t1 to t2, implied by the curve. Discount factors between curve points use linear interpolation of the spot rate.
Whiteboard formula
An FRA locks in today’s implied forward rate. Under pure expectations it would equal the expected future spot rate; with a term premium it lies above it.
Forward rate matrix
Each cell is the forward rate for a loan starting in the row year and lasting the column length, f(t, t + n).
Curve schedule and editing
Edit any input yield (in the chosen compounding). In par mode, spot rates are bootstrapped from the par yields; in spot mode, par yields are derived from the spot curve. Shocks are added to the inputs.
Pure expectations theoryForward rates are unbiased forecasts of future spot rates: (1 + S2)2 = (1 + S1) × (1 + f1,2). An upward curve means rates are expected to rise.
Liquidity preference theoryInvestors demand a premium for lending longer: ft1,t2 = E(S) + liquidity premium. Even with flat expectations the curve slopes up.
Preferred habitat / segmentationBanks, insurers and pension funds prefer particular maturities. Supply and demand in each segment can bend the curve; a premium is needed to pull investors out of their habitat.
Ordering ruleUpward curve: forward > spot > par. Inverted: forward < spot < par. Flat: all equal. Par is a blend of spots; forward is the marginal rate.
Shocks in this toolParallel: every input moves by the same bps. Slope: −½X at ≤2Y rising linearly to +½X at ≥10Y, so 10Y−2Y moves exactly X. Curvature: X × (1 − |t − 5| ÷ 15), peaking at 5Y.
ConventionsAnnual: DF = (1 + s)−t. Semiannual: DF = (1 + s/2)−2t, semiannual par coupons. Continuous: DF = e−st. Bills up to one coupon period: par = spot.
Prof. V. Ravichandran · The Mountain Path Academy
How to use this tool: choose whether your inputs are spot or par yields, pick the compounding convention, then shock the curve and watch spot, par and forward rates respond. Learn each formula step by step in the yield curves guide → and in Excel with the companion workbook ↓