Rolling Returns Calculator

One start date tells you little. This calculator works out the return for every possible starting month: type a ticker and a holding period to see the best, worst and median result, how often investors lost money, and a chart of every rolling return. Add a second ticker to compare. Free, and you can add it to your own website.

Free · no sign-up · updated

How to use the calculator

  1. Enter the stock or ETF, and optionally a second ticker to compare.
  2. Pick the holding period: 1, 3, 5, 10, 15 or 20 years.
  3. Choose returns with dividends or price only. Hover over the chart to see the return of each period.

What rolling returns are

A trailing return, such as “10% a year over the last 5 years”, depends heavily on where it starts and ends. Start just before a crash and the same stock looks terrible; start at the bottom and it looks brilliant. Rolling returns avoid this by calculating the return for every period of the chosen length: January 2010 to January 2015, February 2010 to February 2015, and so on, one month apart.

rolling return  = (value at the end / value 12 × n months earlier)^(1 / n) − 1
n               = holding period in years (returns are per year for n > 1)

The result is a distribution of outcomes: the best and worst an investor could have had, the median, and the share of periods that lost money. Because the periods overlap, neighbouring results are not independent, but together they show the range of experiences far better than one number.

Why the holding period matters

The table All holding periods shows the pattern that long-term investors rely on: as the holding period lengthens, the range between best and worst narrows and the share of losing periods usually falls. For broad stock index funds, one-year returns have ranged from big gains to deep losses, while most 10- and 20-year periods have been positive. Single stocks can stay negative much longer, and some never recover.

Ways to use it

  • Set expectations: the median is a fair “typical” outcome, and the worst shows what to be ready for.
  • Compare two funds over the same windows rather than over one convenient start date.
  • Check whether a recent strong run is unusual compared with the stock’s own history.

To see the depth and length of declines, use the drawdown calculator. For the return between two months you choose, use the stock return calculator.

Frequently asked questions

What are rolling returns?

The returns of every period of a fixed length, such as every 5-year period starting one month apart. They show the range of results investors actually had, rather than the result of one start date.

How are rolling returns calculated?

For each month, the value is divided by the value n years earlier and turned into a yearly rate: (end / start)^(1/n) − 1. The calculator repeats this for every month in the history.

Why are rolling returns better than trailing returns?

A trailing return depends on one start and end date and can change a lot from one month to the next. Rolling returns show the whole distribution, which is a fairer picture of risk and reward.

Are the returns annualized?

Yes, for holding periods longer than one year the figures are returns a year. One-year rolling returns are simple returns.

Do the results include dividends?

By default, yes: dividends are reinvested. Choose Price only to exclude them.

Why is the history for some tickers shorter?

Rolling returns need a full holding period of history before the first result. A stock with 8 years of data has no 10-year rolling returns.

Can I put this calculator on my website?

Yes. It is free for any site. Use the embed code generator at the bottom of this page and keep the credit line under the calculator.

Related calculators

See all free investing calculators, or add live stock quotes to your site with the free stock widgets.

Add this calculator to your website

The calculator is free to embed on any website, personal or commercial, and works on WordPress, Blogger, Wix, Squarespace, Webflow, Ghost and plain HTML. Choose the options, copy the code and paste it into your page.

Layout
Theme

Preview: this is how the calculator and the credit line will look on your page

Free for personal and commercial websites. Please keep the “by Quotelinks” credit line under the calculator visible and unchanged, and don’t modify the calculator or present it as your own. The <script> line is optional: it sizes the frame to fit the calculator; if your platform removes scripts, the calculator still works at the fixed height. Past returns and past risk don’t predict the future. Results are for illustration only, not financial advice.