Stock return calculator

Enter a ticker, an amount and a start date (or a number of years ago). The calculator reads the stock's real price history and shows what the amount is worth now, the price return, the total return with dividends reinvested, and the compound annual rate, with an optional comparison such as SPY.

Calculator

A stock or fund, e.g. AAPL or VOO.
Optional. SPY tracks the S&P 500. Clear it to compare with nothing.
Worth now, on price alone
—
Loading price history…
Total return
—
dividends reinvested
Price return
—
share price only
Per year
—
Value on price alone
—
dividends not included
Latest price
—

Side by side

AAPL against SPY
TickerWorth nowTotal returnPrice returnPer year
AAPL…———
SPY…———

Price return — dividends not included: the source gave no dividend-adjusted closes for this ticker. Prices can be delayed, and a weekly or monthly history buys at the first close on or after a date. Past returns say nothing certain about future ones.

How it is calculated

Two returns

The price return compares the share price on the start date with the latest price. It ignores dividends.

The total return compares the dividend-adjusted closes on the same two dates. The adjusted close lowers past prices by every dividend and split since, so the ratio of two adjusted closes is the return of a holder who reinvested each dividend in more shares on the day it was paid. Where the data source gives no adjusted closes, only the price return is shown and the page says so.

Which prices are used

Up to about fifteen years back the calculator uses weekly closes; further back it uses monthly closes to the listing. The purchase is made at the first close on or after the start date, and that date is shown. The latest price comes from the same history and can be delayed.

A start date before the history begins gives no result rather than a guess.

What is left out

Taxes on dividends, trading costs and currency changes. A stock that trades in another currency is shown in that currency.

The formula

price return  = close_end ÷ close_start − 1
total return  = adjusted_end ÷ adjusted_start − 1
value now     = amount × (1 + total return)
per year      = (1 + return)^(1 ÷ years) − 1

A worked example (hypothetical prices)

The calculator's defaults read live prices, so this example uses fixed, made-up numbers. $1,000 is invested on 4 January 2016 at $40.00 a share; on 4 January 2026 the share is $160.00. Over the same ten years the dividend-adjusted close rose from $32.00 to $160.00.

Price return: 160 ÷ 40 − 1 = +300%, or 14.87% a year. Total return: 160 ÷ 32 − 1 = +400%, or 17.46% a year. The $1,000 is worth $5,000 with dividends reinvested and $4,000 on price alone.

Questions and answers

What is the difference between price return and total return?

Price return counts only the change in the share price. Total return also counts dividends, assumed reinvested in more shares when paid. For a company that pays a dividend the total return is higher, and over many years the gap can be large.

Where do the prices come from?

From the same market data feed as the rest of the site (Yahoo Finance): weekly closes for about fifteen years, monthly closes further back, and dividend-adjusted closes where the feed has them. Prices can be delayed.

Why does my start date show a different day?

The calculator buys at the first close on or after the date you choose. With weekly or monthly history that can be a few days, or a few weeks, later.

Does it include taxes or fees?

No. Dividends are reinvested in full with no tax and no trading costs, so a real account would usually end a little lower.

Why is there no result for my date?

If the date is before the first price in the history — for example before the company listed — there is no price to buy at, and the calculator says so instead of estimating one.

Sources

Updated . Results are arithmetic on the figures you enter, not advice.

Cite this page

Funkfolio, “Stock return calculator: price and total return”. https://funkfolio.com/tools/stock-return-calculator