Methodology
Every metric on DIY Wealth is computed from public historical data with a documented formula. This page explains the core calculations, the analysis windows, and the limits you should keep in mind.
CAGR and trailing returns
Compound annual growth rate is (end / start)^(1 / years) − 1, where years = calendar_days / 365.25. Trailing returns use the latest available Total Return Index (TRI) level and the level at the start of the window. TRI assumes dividends are reinvested; price returns exclude them.
Rolling returns
A rolling return is the annualised return for every start date that has a full window to its end date. The page reports the average, median, minimum, maximum, quartiles, and the share of windows above 0%, 10%, 12% and 15%. Rolling distributions are more useful than a single trailing number because they show consistency and worst-case periods.
Volatility, Sharpe and Sortino
Annualised volatility is the standard deviation of daily log returns multiplied by √252. Sharpe is (annualised return − risk-free rate) / annualised volatility. Sortino uses downside deviation instead of total volatility. The risk-free rate is an assumption; it is not a guarantee of any future return.
Maximum drawdown and recovery
Maximum drawdown is the minimum of value / running_peak − 1 over the history. The recovery period is the number of days from the trough back to the previous peak. Underwater and sideways views use the same series to show how long an investor waited to break even.
Valuation percentile
The valuation percentile ranks the current P/E, P/B or dividend yield within its own trailing history. A low percentile is not a buy signal; it may reflect slower earnings growth, a change in index composition, or a regime shift.
Analysis windows
| Tier | Analysis window |
|---|---|
| Public / Free | 3 years of interactive history |
| Plus | 10 years |
| Professional | Full available history |
The window limits charts, heatmaps, rolling distributions and deep analytics. The static trailing-return summary stays visible so the page remains useful and indexable. See pricing for the current plans.
Limits
Historical data can contain vendor revisions, missing days and corporate-action adjustments. Some indices have sparse constituents or valuation history. Where data is incomplete, the page should say so instead of filling the gap. Nothing on the site is a forecast or a guaranteed outcome. Read the disclaimer and data sources.
Who writes this
Written and maintained by Prabakaran and reviewed by the DIY Wealth editorial team under the editorial standards and corrections policy. Methodology questions and corrections: prabakaran AT diywealth DOT in. We publish the formula, the source and the as-of date so you can check the number yourself.