Calculate Mean and Variance of Vasicek Model
Use this premium Vasicek calculator to estimate the expected short rate and its variance over time under the classic mean-reverting interest rate model. Adjust the starting rate, long-run mean, speed of mean reversion, volatility, and horizon, then visualize the curve instantly.
Vasicek Model Inputs
Mean: E[r(t)] = θ + (r₀ − θ)e−κt
Variance: Var[r(t)] = (σ² / 2κ) (1 − e−2κt)
Results
How to Calculate Mean and Variance of the Vasicek Model
The Vasicek model is one of the foundational continuous-time short-rate models in fixed income mathematics. It is widely taught in quantitative finance, interest rate derivatives, term structure modeling, and risk management because it captures a central economic intuition: interest rates often exhibit mean reversion. Instead of drifting forever in one direction, the model assumes rates tend to move back toward a long-run equilibrium level over time. If you want to calculate mean and variance of the Vasicek model accurately, you need to understand both the stochastic differential equation and the closed-form moments implied by it.
The model is commonly written as:
dr(t) = κ(θ − r(t))dt + σdW(t)
Here, r(t) is the short-term interest rate at time t, κ is the speed of mean reversion, θ is the long-run average level, σ is the volatility parameter, and W(t) is a standard Brownian motion. These inputs allow analysts to derive two of the most useful statistical quantities in the model: the conditional mean and the conditional variance of the short rate at a future time horizon.
Why the Vasicek Mean Matters
The conditional mean tells you the expected future short rate given the current starting level. In practical terms, it answers the question: if the short rate is currently r₀, where should we expect it to be after t years under mean reversion? The closed-form expression is:
E[r(t)] = θ + (r₀ − θ)e−κt
This equation is elegant because it shows how the expected rate transitions from the initial rate r₀ toward the long-run mean θ. The factor e−κt controls how quickly the initial condition fades. If κ is high, mean reversion is fast, and the expected short rate approaches θ rapidly. If κ is low, the effect of the starting rate persists longer.
- If r₀ < θ, the expected rate rises toward the long-run mean.
- If r₀ > θ, the expected rate falls toward the long-run mean.
- If r₀ = θ, the expected short rate remains centered at the equilibrium level.
This is especially useful in bond pricing, scenario design, and interest rate forecasting. Although the Vasicek model is stylized and not a literal forecast machine, the expected path gives a disciplined, mathematically tractable estimate for the future evolution of short rates.
Why the Vasicek Variance Matters
Knowing the expected rate is only half the story. In finance, uncertainty matters just as much as central tendency. The conditional variance of the Vasicek short rate over time is:
Var[r(t)] = (σ² / 2κ)(1 − e−2κt)
This expression quantifies the spread of possible future rate outcomes around the expected value. One of the most interesting features is that the variance does not grow without limit. Instead, it approaches a finite ceiling:
Long-run variance = σ² / 2κ
That bounded behavior is a direct consequence of mean reversion. The random shocks generated by volatility push rates around, but the pull back toward θ prevents variance from exploding indefinitely. This makes the Vasicek process much more stable than a pure random walk.
Parameter Interpretation Table
| Parameter | Meaning | Effect on Mean | Effect on Variance |
|---|---|---|---|
| r₀ | Initial short rate at time zero | Sets the starting point for the expected path | No direct effect on variance formula |
| θ | Long-run equilibrium rate | Determines the asymptotic expected level | No direct effect on variance formula |
| κ | Speed of mean reversion | Faster convergence toward θ | Reduces long-run variance when larger |
| σ | Volatility of shocks | No direct effect on conditional mean | Raises variance proportionally to σ² |
| t | Future horizon | Lets mean drift toward θ over time | Variance rises toward its stationary limit |
Step-by-Step Example of How to Calculate Mean and Variance
Suppose the current short rate is 3%, the long-run mean is 5%, the speed of mean reversion is 0.60, volatility is 2%, and the horizon is 5 years. Then:
- r₀ = 0.03
- θ = 0.05
- κ = 0.60
- σ = 0.02
- t = 5
The mean becomes:
E[r(5)] = 0.05 + (0.03 − 0.05)e−0.60×5
Since e−3 is small, the expected short rate is quite close to 5%. This reflects strong convergence toward the long-run equilibrium over a five-year horizon.
The variance becomes:
Var[r(5)] = (0.02² / (2×0.60))(1 − e−2×0.60×5)
Because the exponential term in the variance formula also decays quickly, the 5-year variance is already close to its long-run value. This is a common pattern in mean-reverting models: long enough horizons essentially wash out the starting condition and reveal the stationary regime.
Reading the Time-Path Chart
The chart in the calculator visualizes the expected short rate, the upper one-standard-deviation band, and the lower one-standard-deviation band over time. This is extremely helpful because a single point estimate at horizon t does not show the full dynamic behavior of the Vasicek process. By plotting the path, you can see:
- How quickly the expected rate converges to the long-run mean.
- How uncertainty accumulates initially and then stabilizes.
- How strong mean reversion compresses the spread of future rate outcomes.
If the initial rate is far below the equilibrium level, the expected curve slopes upward. If the initial rate is above equilibrium, it slopes downward. Meanwhile, the confidence band expands at first but gradually levels out as the variance approaches its long-run ceiling.
Common Use Cases in Quantitative Finance
Professionals and students calculate mean and variance of the Vasicek model for many reasons. In fixed income analytics, the model supports intuition about the evolution of short rates and forms a building block for bond pricing. In risk management, the variance helps quantify uncertainty in future interest-rate scenarios. In academic settings, the model is often the first introduction to affine term structure theory.
| Application | Why Mean Is Useful | Why Variance Is Useful |
|---|---|---|
| Bond pricing education | Shows expected path of the short rate input | Explains uncertainty around discount factors |
| Risk scenario analysis | Defines central expected rate path | Measures spread of plausible outcomes |
| Derivative intuition | Links underlying short-rate dynamics to pricing logic | Highlights how volatility and reversion affect option values |
| Academic research and coursework | Provides tractable closed-form conditional moments | Enables analytical comparison with other models |
Important Limitations of the Vasicek Model
Although the Vasicek model is elegant, it has limitations. The most cited drawback is that the Gaussian specification permits negative interest rates. In some markets and periods, negative rates can occur, but in many settings analysts prefer models that impose non-negativity more naturally. Another limitation is that real-world term structures often require richer dynamics, time-varying parameters, or multiple factors.
Even so, the Vasicek framework remains highly valuable because it is analytically transparent. It teaches the core logic of mean reversion, stationary variance, and closed-form expectations in continuous-time finance. For many users, especially those trying to calculate mean and variance of the Vasicek model for study, valuation intuition, or policy research, that tractability is exactly what makes it so useful.
How to Interpret Each Input Economically
To use this calculator intelligently, think of each parameter in economic terms rather than just plugging numbers into equations:
- Initial rate r₀: where the short end of the yield environment starts today.
- Long-run mean θ: the policy or equilibrium anchor around which rates fluctuate.
- Speed κ: how forcefully market or macroeconomic dynamics pull rates back toward normal.
- Volatility σ: the size of random shocks from data surprises, policy moves, and market sentiment.
- Time horizon t: how far ahead you want to project mean and uncertainty.
When you change these values in the calculator, you are effectively changing the economic character of the rate process. Large κ and modest σ imply a tightly anchored rate regime. Small κ and large σ imply a more dispersed and sluggishly mean-reverting environment.
Connections to Research and Public Data Sources
If you want to ground your assumptions in real-world evidence, it helps to compare model inputs with historical interest rate data and policy documentation. The Federal Reserve Economic Data platform provides extensive rate series that can inform calibration. The U.S. Department of the Treasury offers official information on yields and debt markets. For academic explanations of term structure modeling, educational materials from institutions such as Princeton University can provide deeper theoretical context.
Best Practices When Using a Vasicek Mean and Variance Calculator
- Use consistent units, especially for annualized rates and volatility.
- Ensure κ > 0 when applying the standard variance formula.
- Remember that expected value is not a guaranteed realized outcome.
- Compare the short-horizon and long-horizon variance to understand stabilization.
- Use the chart to see dynamics, not just endpoint values.
In summary, to calculate mean and variance of the Vasicek model, you need only a handful of interpretable parameters and the closed-form formulas shown above. The expected short rate converges toward the long-run mean, while the variance increases toward a finite stationary bound. This combination of mean reversion and bounded uncertainty is the signature of the Vasicek process and one of the reasons it remains a cornerstone model in quantitative finance education and practice.