Hull-White Model Calculator
Inputs
- Inputs: short rate 3.00%, flat initial curve 3.00%, mean reversion a 0.100, volatility 1.00%, maturity 5.0 years.
- B(0,T) = (1 - e^-aT) / a = 3.9347; on a flat curve the forward rate is 3.00% at every horizon.
- ln A(0,T) = -R x T + B x R = -0.0320, so A(0,T) = 0.9685.
- Bond price = A e^(-B r) x 100 = 86.07 per 100 face, a continuously compounded yield of 3.00%.
Vasicek's model has an embarrassing habit: its long-run mean is a parameter, so the curve it implies today rarely matches the curve the market is actually trading. Hull and White fixed that in 1990 by letting the reversion level drift with time so the model reproduces the initial term structure exactly. This calculator uses the flat-curve case, where the fit is visible in closed form: enter the current short rate, the flat curve rate, the mean-reversion speed, the volatility and a maturity, and it returns the model's zero-coupon bond price with its A and B factors and implied yield.
Worked examples
Short rate on the curve, 5-year bond
(3 % · 3 % · 0.1 · 1 % · 5 years)
| Zero-coupon bond price (per 100 face) | 86.07 |
| Continuously compounded yield | 3.00% |
| B(0,T) rate sensitivity | 3.9347 |
| A(0,T) curve factor | 0.9685 |
Short rate below the curve, 10-year bond
(2 % · 3.5 % · 0.05 · 1.5 % · 10 years)
| Zero-coupon bond price (per 100 face) | 79.30 |
| Continuously compounded yield | 2.32% |
| B(0,T) rate sensitivity | 7.8694 |
| A(0,T) curve factor | 0.9281 |
Fast reversion, 2-year bond
(5 % · 4 % · 0.3 · 0.8 % · 2 years)
| Zero-coupon bond price (per 100 face) | 90.93 |
| Continuously compounded yield | 4.75% |
| B(0,T) rate sensitivity | 1.5040 |
| A(0,T) curve factor | 0.9804 |
Why the Hull-White model exists
A one-factor short-rate model is a machine for turning today's rate and a handful of parameters into prices for every bond and option on the curve. The Vasicek machine is elegant but its output curve is whatever the parameters imply - if the market's 5-year yield is 3.5% and the model's is something else, every price it produces starts from a fiction. Hull and White's extension keeps the Vasicek dynamics but replaces the constant reversion level with a function of time chosen so that the model's initial curve is the market's curve, point for point.
On a flat initial curve the machinery becomes transparent. The forward rate is the same at every horizon, the time-dependent reversion level collapses to a constant again, and the bond price reduces to the affine form A exp(-B r) with A and B in closed form. That is the case this calculator prices - and it is also the case that exposes the model's logic most clearly, because when the short rate starts on the curve the model must hand the curve's own yields back, as the first worked example confirms.
- Fits the initial term structure exactly, by construction
- Keeps Vasicek's Gaussian, analytically tractable dynamics
- Allows negative rates - a feature, or a bug, depending on the decade
- Prices bonds and European options in closed form
The A and B functions
B(0,T) = (1 - e^-aT)/a measures how much of a short-rate shock survives into a bond of maturity T. At a = 0.1 and T = 5 it is 3.9347, so a 1 percentage point rise in the short rate knocks roughly 3.93% off the 5-year bond's price. Faster reversion shrinks B: at a = 0.3 the 2-year bond in the third example has B of only 1.5040, because the market expects the shock to be pulled back before it can do much damage. As maturity grows, B approaches 1/a and stops growing - long bonds in this model are all, roughly, equally exposed.
A(0,T) carries the curve fit. It is built from the initial forward rates, and on a flat curve its logarithm is simply -R x T + B x R, where R is the flat rate: in the first example ln A is -0.03 and A itself 0.9685. When the short rate starts away from the curve, A does the quiet work of reconciling them - in the second example, with the short rate at 2% against a 3.5% curve, A falls to 0.9281 and the bond's implied yield of 2.32% lands between the two, exactly where mean reversion says it should.
Worked examples
Example 1: Current short rate r 3; Flat initial curve rate 3; Mean reversion speed a 0.1; Short-rate volatility sigma 1; Bond maturity 5. Zero-coupon bond price (per 100 face) = 86.07. Supporting values: Continuously compounded yield 3.00%; B(0,T) rate sensitivity 3.9347; A(0,T) curve factor 0.9685. Inputs: short rate 3.00%, flat initial curve 3.00%, mean reversion a 0.100, volatility 1.00%, maturity 5.0 years. B(0,T) = (1 - e^-aT) / a = 3.9347; on a flat curve the forward rate is 3.00% at every horizon. ln A(0,T) = -R x T + B x R = -0.0320, so A(0,T) = 0.9685. Bond price = A e^(-B r) x 100 = 86.07 per 100 face, a continuously compounded yield of 3.00%.
Example 2: Current short rate r 2; Flat initial curve rate 3.5; Mean reversion speed a 0.05; Short-rate volatility sigma 1.5; Bond maturity 10. Zero-coupon bond price (per 100 face) = 79.30. Supporting values: Continuously compounded yield 2.32%; B(0,T) rate sensitivity 7.8694; A(0,T) curve factor 0.9281. Inputs: short rate 2.00%, flat initial curve 3.50%, mean reversion a 0.050, volatility 1.50%, maturity 10.0 years. B(0,T) = (1 - e^-aT) / a = 7.8694; on a flat curve the forward rate is 3.50% at every horizon. ln A(0,T) = -R x T + B x R = -0.0746, so A(0,T) = 0.9281. Bond price = A e^(-B r) x 100 = 79.30 per 100 face, a continuously compounded yield of 2.32%.
Example 3: Current short rate r 5; Flat initial curve rate 4; Mean reversion speed a 0.3; Short-rate volatility sigma 0.8; Bond maturity 2. Zero-coupon bond price (per 100 face) = 90.93. Supporting values: Continuously compounded yield 4.75%; B(0,T) rate sensitivity 1.5040; A(0,T) curve factor 0.9804. Inputs: short rate 5.00%, flat initial curve 4.00%, mean reversion a 0.300, volatility 0.80%, maturity 2.0 years. B(0,T) = (1 - e^-aT) / a = 1.5040; on a flat curve the forward rate is 4.00% at every horizon. ln A(0,T) = -R x T + B x R = -0.0198, so A(0,T) = 0.9804. Bond price = A e^(-B r) x 100 = 90.93 per 100 face, a continuously compounded yield of 4.75%.
Reading the bond price and yield
The headline number is the price per 100 of face value: 86.07 in the first example, for a bond whose yield comes out at exactly 3.00% - a necessary self-check, since a short rate sitting on a flat 3% curve can imply nothing else. The second example's 79.30 and the third's 90.93 show the two levers at work: maturity lengthens the discounting, and a short rate above the curve (5% against 4% in the third example) drags the yield of 4.75% up with it, though reversion at a = 0.3 keeps it well short of the spot rate.
Volatility, notably, does not appear in the bond price at all. In a Gaussian affine model the bond price depends on the curve and on B, and sigma enters only when an option on the bond is priced - through the variance term in the full A function, which is zero for the bond itself when the initial curve is an input rather than an output. Users comparing this page with the Vasicek calculator will find the same structure with one difference: there, the long-run mean is a parameter and the curve is implied; here, the curve is given and the drift follows it.
Hull-White vs Vasicek and CIR
The three one-factor models on this site form a family tree. Vasicek is the parent: Gaussian shocks, constant reversion level, analytic prices, negative rates possible. Hull-White is Vasicek with a curve-fitting drift - same tractability, same negative rates, but calibrated to today by construction. CIR changed the diffusion instead, making volatility proportional to the square root of the rate, which keeps rates positive and volatility level-dependent at the cost of a non-central chi-square distribution where Vasicek has a Gaussian.
Which to use is a question about what must be true. A trading desk that must reproduce today's curve before it prices anything exotic has no real choice - the fitting models (Hull-White and its two-factor descendants) exist for that reason. A long-horizon risk study that finds negative rates implausible for its scenario may prefer CIR's boundary behaviour. What none of the three can do is move different parts of the curve independently: one factor means one shock, perfectly correlated across maturities, and the decorrelation the market shows must wait for multi-factor extensions.
Calibration and limits
In production the model is calibrated in two steps: the drift function is solved from the initial curve (here, trivially, because the curve is flat), and a and sigma are fitted to swaption or cap volatilities. The flat-curve version on this page keeps the first step visible and honest: choose a curve rate away from the short rate and the model's whole story is the tension between them, resolved by reversion at speed a. The second example's decade-long pull from 2% toward 3.5% is that story told slowly.
The limits are the family's limits. Gaussian dynamics put real probability on negative rates - defensible in a world that has seen them, awkward in one that has not. A single factor forces the whole curve to breathe together. And a flat initial curve is a teaching device, not a market: real curves slope and bend, and the production model's drift function exists precisely to absorb that shape. Within those limits the model remains what it has been since 1990 - the simplest short-rate model a desk can actually calibrate, which is why it is still the first one taught and the first one reached for.
FAQs
What price does the first worked example give for the 5-year bond?
86.07 per 100 face. With the short rate at 3% on a flat 3% curve, the implied yield comes out at exactly 3.00%, as it must.
What yield does that bond carry in the first example?
3.00%. When today's short rate sits on the initial curve, the model hands the curve's own yield back - the basic self-check of the fitting construction.
What is B(0,T) in the first example?
3.9347. A 1 percentage point shock to the short rate moves this bond's price by roughly 3.93%, because B is the shock's survival factor over 5 years at a reversion speed of 0.1.
What is the A(0,T) factor in the first example?
0.9685. On a flat curve ln A = -R x T + B x R; A carries the curve fit while B carries the rate sensitivity.
What price does the second example give when the short rate starts below the curve?
79.30. The short rate of 2% against a flat 3.5% curve produces a yield of 2.32% - between the two, pulled toward the curve by reversion.
What price does the fast-reversion third example give?
90.93. With a = 0.3 the 2-year bond's B is only 1.5040, so the 5% short rate against a 4% curve yields 4.75% rather than anything near 5%.