portfolios.tools

Total Return Calculator

Calculate price return, cash dividend contribution, and total return after dated stock splits over a holding period.

Position and events

Ticker selection may request a current quote. It fills sale price only when the quote currency matches the result currency and the field is empty. It is not a historical sale price and is not saved.

Use values in the currency shown in the results. The displayed currency follows the selected locale; amounts are not converted when the language changes.

Cash dividends

Stock splits

Events on the purchase or sale date are included. A split is applied before a dividend dated on the same day. Dividends use the shares held after splits effective on or before the payment date.

Calculated results

Enter purchase and sale values, share count, and dates to calculate a return.

How it works

Enter the purchase price, sale price, initial share count, and purchase and sale dates. Add each cash dividend as an amount per share on its payment date. Add each split as new shares divided by old shares on its effective date.

The calculator adjusts shares for splits within the holding dates. Each dividend uses the shares after splits dated on or before its payment date. It then compares ending market value plus cash dividends with the initial investment. Events outside the holding dates are excluded and counted in the result.

For example, 10 shares purchased at $100 become 20 shares after a 2 for 1 split. At a sale price of $60, the ending market value is $1,200. Cash dividends of $2 per share before the split and $1 per share after it total $40, producing a 24% total return on the $1,000 initial investment.

The annualized rate is an endpoint summary, not a cash flow return calculation. It treats all dividends as cash added to ending value and does not account for their timing or reinvestment.

Step by step

  1. Enter purchase and sale prices, initial shares, and calendar dates.
  2. Add each cash dividend and split with its date and per share amount or share ratio.
  3. Review price return, dividend contribution, total return, and the annualized endpoint rate when available.

Worked example

Buy 10 shares at $100 on January 1, 2020. A 2 for 1 split takes effect on January 1, 2021. Receive $2 per share on June 1, 2020, then $1 per share on June 1, 2021. Sell the 20 adjusted shares at $60 on January 1, 2022. The initial investment is $1,000, ending market value is $1,200, and cash dividends total $40.

Price return is 20%, dividend contribution is 4%, and total return is 24%. The annualized endpoint rate uses ending market value plus the $40 cash dividends and a 365.25 day year. Dividends are added as cash once and are not reinvested. The unit test checks these values.

When to use this calculator

Use this calculator to review one completed position with a known purchase, sale, cash dividends, and stock splits. It separates price return from dividend contribution and shows the combined holding period result.

Use a portfolio cash flow calculation for multiple purchases or withdrawals. Benchmark comparisons should include distributions, and dividends entered here are treated as cash received rather than automatically reinvested.

Common entry mistakes

Enter the purchase price and share count from the original purchase, then enter the actual sale price. Do not also adjust a historical purchase price for a split that you enter separately.

Enter each dividend as cash per share on its payment date, not as total cash received. Events outside the purchase and sale dates are excluded and shown in the results.

Formula and units

splitFactor = product of split ratios within the holding period

adjustedShares = initialShares × splitFactor

endingValue = salePrice × adjustedShares

totalDividends = sum of dividend per share × shares held on payment date

totalReturnPct = (endingValue + totalDividends − initialInvestment) ÷ initialInvestment × 100

annualized rate = ((endingValue + totalDividends) ÷ initialInvestment) ^ (365.25 ÷ elapsedDays) − 1

Dates are interpreted as UTC calendar dates. The holding period uses elapsed days divided by 365.25. Same day split events are applied before dividends dated that day. Cash dividends are not reinvested.

Assumptions and limitations

The model covers one purchase and one sale in one currency. It includes dated cash dividends and splits, but does not model reinvestment, additional purchases or sales, taxes, fees, foreign exchange, spin offs, or other corporate actions. The annualized endpoint rate uses a 365.25 day year and treats cash dividends as part of ending value without timing them. Inputs whose intermediate or output values exceed the supported finite numeric range are unavailable. The result is not a prediction or an internal rate of return.

Key terms

Total return
The combined change in market value and cash dividends relative to the initial investment.
Split ratio
New shares divided by old shares for a stock split. A 2 for 1 split has a ratio of 2.
Annualized endpoint rate
The endpoint return expressed as a constant annual rate using elapsed days and a 365.25 day year.

Compare related methods

This calculator summarizes one purchase and one sale with dated cash dividends and stock splits. Use a cash flow return method when there are additional purchases or withdrawals. Use a total return index when comparing against a benchmark that includes distributions.

Compare values for the same dates and use the same currency. This calculator does not convert currencies or model dividend reinvestment.

FAQ

What does this total return include?

Total return combines the change in market value with cash dividends received during the holding period. Stock splits change the share count used for dividends and the ending market value, without changing the position value by themselves. This calculator reports dividends as cash and does not reinvest them.

How are stock splits and dividend dates handled?

Enter each split as new shares divided by old shares, such as 2 for a 2 for 1 split. The split is included when its date falls on or between the purchase and sale dates. It adjusts the share count from that date. If a dividend has the same date as a split, the split is applied first, so the dividend uses the adjusted shares.

How is the annualized rate calculated?

The calculator adds cash dividends to ending market value, divides by the initial investment, and annualizes that endpoint ratio using elapsed days divided by 365.25. It is not an internal rate of return and does not model when cash dividends were received or reinvested. A same day holding has no annualized rate. A zero ending value with no dividends is a full loss with a −100% annualized rate when the holding period is positive.

Are dividends reinvested?

No. Each dividend amount is treated as cash received on its payment date. It is added once to ending market value for total return. The calculator does not buy additional shares or compound those cash payments.

Can I enter fractional shares?

Yes. The share count can be fractional. Enter the number of shares held at purchase. Splits then adjust that count for later dividends and the sale value.

Related methods

Use a cash flow return method for positions with additional purchases or withdrawals. Compare against a benchmark that includes distributions when dividends are part of the period return.