Let $I = \int_0^T r_t\,dt$ be the integrated short rate over $[0, T]$. A zero-coupon bond has price $P = \mathbb{E}[e^{-I}]$ and continuously compounded yield $y = -\frac{\ln P}{T}$. Whenever $I$ is Gaussian, the yield decomposes into the average expected short rate minus a convexity adjustment:
$$ y = \frac{\mathbb{E}[I]}{T} - \frac{\operatorname{Var}[I]}{2T}. $$In a Vasicek model with $a = 0.1$, $b = 5\%$, $\sigma = 3\%$, $r_0 = 3\%$, and $T = 10$ years, the average expected short rate is $3.74\%$ and the convexity adjustment is $0.76\%$, giving a $10$-year yield of $2.98\%$.
Origin and scaling of the convexity term
Because $x \mapsto e^{-x}$ is convex, Jensen’s inequality gives $\mathbb{E}[e^{-I}] \ge e^{-\mathbb{E}[I]}$: rate uncertainty raises the bond price above the value discounted at the expected rate, lowering the yield. For Gaussian $I$, the moment-generating function gives the exact identity $\mathbb{E}[e^{-I}] = \exp\bigl(-\mathbb{E}[I] + \frac{1}{2}\operatorname{Var}[I]\bigr)$.
Under the Vasicek [2] dynamics $dr_t = a(b - r_t)\,dt + \sigma\,dW_t$, both moments of $I$ have closed forms [1]:
$$ \begin{aligned} \mathbb{E}[I] &= bT + (r_0 - b)\,\frac{1 - e^{-aT}}{a}, \\ \operatorname{Var}[I] &= \frac{\sigma^2}{a^2}\Bigl(T - \frac{2(1 - e^{-aT})}{a} + \frac{1 - e^{-2aT}}{2a}\Bigr). \end{aligned} $$With the parameters above, $\mathbb{E}[I] = 0.3736$ and $\operatorname{Var}[I] = 0.1513$, so $P = e^{-0.3736 + 0.0756} = 0.7423$ and the convexity gap is $-75.6\text{ bps}$. For short maturities ($T \ll \frac{1}{a}$), the gap scales as $\frac{\sigma^2 T^2}{6}$ ($1.4\text{ bps}$ at $T = 1$); as $T \to \infty$, it saturates at $\frac{\sigma^2}{2a^2} = 450\text{ bps}$. Slow mean reversion and $3\%$ volatility are chosen here to make the effect large.

Run this in sItô
Open sItô with this model pre-loaded to inspect the path distribution, summary statistics, and parameter sensitivities—or change any setting and rerun:
| Quantity ($T = 10$) | Closed form | 100-step run |
|---|---|---|
| Integrated rate $\mathbb{E}[I]$ | 0.3736 | 0.382 |
| Variance $\operatorname{Var}[I]$ | 0.1513 | 0.154 |
| Bond price $P$ | 0.7423 | 0.737 |
Comparing $-\frac{\ln P}{10}$ against $\frac{\mathbb{E}[I]}{10}$ recovers the convexity offset directly; the small discrepancy between the closed form and the run reflects sampling error plus the $100$-step ($\Delta = 0.1$) discretization of Integral(r).
Implications for the yield curve
Even with zero risk premium, a positive expected short-rate path produces a lower long-maturity yield purely through rate variance. Interpreting forward or zero yields as market rate forecasts conflates expectations with this convexity term, which dominates at long maturities and in high-volatility regimes. For curves driven by two factors, see Yield-curve shapes; for the underlying simulation pipeline, see Compiling parametric SDEs into fast Monte Carlo simulations.
Related notes: The zero-coupon bond by Feynman–Kac, Mean, median and typical path of geometric Brownian motion.