Iterative Distance to Default
The Iterative Distance to Default is the procedure of Moody’s KMV (Crosbie and Bohn, 2003) as Vassalou and Xing (2004) apply it. Instead of solving the two equations on one day, it solves the asset value of every day of the past year from that day’s market value of the equity, estimates the asset volatility from those asset values and repeats both steps until the volatility settles. It uses the assets’ own expected return, so its probability of default is an actual rather than a risk-neutral one; Vassalou and Xing used it to show that default risk is priced in equity returns.
The formula for the Iterative Distance to Default starts from the asset value \(V_{t}\) of every day t of the past year, solved from that day’s market value of the equity \(E_{t}\) with the current estimate of the asset volatility \(\sigma_{V}\), with D the default point, r the risk free rate of that day, T the horizon in years and N the standard normal cumulative distribution function:
\[E_{t} = V_{t} \cdot N(d_{1}) - D \cdot \exp\left(-r \cdot T\right) \cdot N(d_{2})\] \[\text{where}\;\; d_{1} = \frac{\ln\left(\frac{V_{t}}{D}\right) + \left(r + \frac{\sigma_{V}^{2}}{2}\right) \cdot T}{\sigma_{V} \cdot \sqrt{T}}\] \[\text{where}\;\; d_{2} = d_{1} - \sigma_{V} \cdot \sqrt{T}\]The asset volatility is then re-estimated from the daily log returns of those asset values, annualized over 252 trading days, and both steps repeat until it changes by less than 0.0001; the drift mu of the assets is their annualized mean log return plus half their variance:
\[\sigma_{V} = \sqrt{252} \cdot \operatorname{std}\left(\ln\left(\frac{V_{t}}{V_{t-1}}\right)\right)\] \[\mu = 252 \cdot \operatorname{mean}\left(\ln\left(\frac{V_{t}}{V_{t-1}}\right)\right) + \frac{\sigma_{V}^{2}}{2}\]The distance to default uses that drift in place of the risk free rate, with V the asset value of the last day:
\[\text{Distance to Default} = \frac{\ln\left(\frac{V}{D}\right) + \left(\mu - \frac{\sigma_{V}^{2}}{2}\right) \cdot T}{\sigma_{V} \cdot \sqrt{T}}\] \[\text{Probability of Default} = N(-\text{Distance to Default})\]A larger distance to default means a safer company. As the drift is the past year’s return of the assets, the probability rises after a year of losses and falls after a year of gains.
Merton (1974) saw the equity of a company as a call option on its assets with the face value of its debt as strike price: at the horizon the shareholders receive what the assets are worth beyond the debt, and the company defaults when the assets are worth less than the debt. The market value and the volatility of the assets cannot be observed, but they can be solved from those of the shares, which react to news every day, long before a rating changes. The distance to default is the number of standard deviations by which the asset value is expected to lie above the default point at the horizon, and the probability of default the chance that it ends below it. The default point is the short-term debt plus half of the long-term debt, the convention of Moody’s KMV (Crosbie and Bohn, 2003), as debt that is not yet due gives a company room to continue for a while with assets below its total liabilities.
Also known as: KMV model, Moody’s KMV, expected default frequency, EDF, default likelihood indicator.
In the Finance Toolkit this is get_merton_distance_to_default with method="iterative", the same function as Merton Distance to Default.
Example · F, AAPL · 2021 to 2025
Install the Finance Toolkit with pip install financetoolkit -U, then call get_merton_distance_to_default:
from financetoolkit import Toolkit
toolkit = Toolkit(
["F", "AAPL"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
toolkit.models.get_merton_distance_to_default(method="iterative").loc["F"]
| Parameter | Type | Description | Example |
|---|---|---|---|
method | str | The variant of the model. Options are: “merton” (Merton Distance to Default, Merton’s two equations on the last day of the period, with the recovery rate and expected loss), “iterative” (Iterative Distance to Default, the KMV procedure on a year of daily market values), “naive” (Naive Distance to Default, Bharath and Shumway’s closed form), “black_cox” (Black-Cox Model, default at the first passage of the default point) and “creditgrades” (CreditGrades Model, an uncertain default barrier, with a credit default swap spread). Defaults to “merton”. | "merton" |
time_horizon | float | The horizon in years over which default is measured, and the maturity of the CreditGrades spread. Defaults to 1. | 1 |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the Toolkit’s rounding. | 2 |
transform | str | list[str] | None | Time series steps applied to the result in order, such as “sma:12” (moving average), “ema:12”, “std:12”, “zscore:60”, “percentile:120”, “yoy”, “pct_change:3,annualize:3”, “log”, “diff”, “cumsum” or “hp_trend” and “hp_cycle” (Hodrick-Prescott), along the dates of each series. A window needs that many periods of the result, so its first periods are empty. Defaults to None. | None |
show_columns | str | list[str] | None | The columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column. | None, which keeps every column |
Which returns:
| Item | 2021 | 2022 | 2023 | 2024 | 2025 |
|---|---|---|---|---|---|
| Equity Value | 83,786,200,000.0000 | 46,682,800,000.0000 | 49,259,800,000.0000 | 39,807,900,000.0000 | 52,204,500,000.0000 |
| Equity Volatility | 0.4163 | 0.4912 | 0.3551 | 0.3601 | 0.3313 |
| Default Point | 93,892,000,000.0000 | 94,566,500,000.0000 | 99,450,000,000.0000 | 107,294,000,000.0000 | 111,330,000,000.0000 |
| Asset Value | 176,276,000,000.0000 | 137,531,000,000.0000 | 144,969,000,000.0000 | 142,349,000,000.0000 | 159,043,000,000.0000 |
| Asset Volatility | 0.1569 | 0.1990 | 0.1227 | 0.1182 | 0.0955 |
| Asset Drift | 0.3394 | -0.2308 | 0.0257 | -0.0593 | 0.0922 |
| Distance to Default | 6.0992 | 0.6229 | 3.2207 | 1.8303 | 4.6537 |
| Probability of Default | 0.0000 | 0.2667 | 0.0006 | 0.0336 | 0.0000 |
8 rows
References
- Paper Crosbie, P. and Bohn, J. (2003). “Modeling Default Risk.” Moody’s KMV.
- Paper Vassalou, M. and Xing, Y. (2004). “Default Risk in Equity Returns.” The Journal of Finance, 59(2), 831-868.