Investing & Retirement Dividends & Income Investing Total return with dividends reinvested

Dividend Reinvestment (DRIP) Calculator

This calculator follows a dividend-paying position payment by payment: each dividend buys more shares, those shares earn the next dividend, and the dividend per share itself grows year after year. You get the ending share count, the ending portfolio value, the dividend income you would collect in the final year, and your yield on cost. It also shows what the same position would be worth if you banked the dividends as cash instead, so you can see exactly how much of the outcome came from reinvesting rather than from the share price.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Starting investmentThe cash you put in on day one; it is converted to shares at the share price below.25000 $
Share price todayThe price you pay per share now; it sets your opening share count.50 $
Annual dividend per shareThe total dividend one share is expected to pay over the next twelve months, not per quarter.2 $
Payments per yearHow often the dividend is paid and therefore how often it is reinvested.4 — quarterly
Dividend growth rateHow fast you expect the dividend per share to rise each year; use the company's five-year record as a starting point.6 %/yr
Share price growth rateAnnual capital appreciation excluding dividends; over long horizons it tends towards the dividend growth rate.5 %/yr
Years to projectThe holding period; reinvestment needs time before the compounding is visible.20 yr
New money added each yearFresh cash you add at the end of every year, bought at that year's share price; leave at zero for a buy-once position.0 $
Reinvest dividends automaticallyUntick to see the same position with every dividend taken as cash instead.Yes

It returns

  • Portfolio value after the projection — Ending shares valued at the final share price, plus any dividends held as cash.
  • Shares held at the end
  • Dividend income in the final year
  • Yield on cost in the final year — Final-year dividend income divided by every dollar you contributed.
  • Value added by reinvesting — Ending value if every dividend is reinvested, minus the ending value if the same dividends are banked as cash without interest. Reported whether or not reinvestment is switched on.
  • Total cash you put in
  • Annualised return on contributions — The internal rate of return on your contribution schedule.

The formula

Sk+1=Sk(1+dkPk)
YoC=final-year incometotal contributed×100
SnS0=(1+y)n

In plain text: S(k+1) = S(k) · (1 + d(k)/P(k)), with d(k) = D₀(1+g_d)^y⁻¹/f and P(k) = P₀(1+g_p)^(k/f); V = S(N) · P(N)

  • S(k)Shares held immediately before payment k (shares)
  • d(k)Cash dividend per share paid at payment k ($)
  • P(k)Share price at payment k, the price the reinvestment buys at ($)
  • D₀Annual dividend per share today ($)
  • P₀Share price today ($)
  • g_dAnnual dividend growth rate (decimal)
  • g_pAnnual share price growth rate (decimal)
  • fPayments per year (count)
  • NTotal payments over the projection: years × f (count)
  • VEnding portfolio value ($)

The dividend per share steps up once a year, so every payment inside year y uses D₀(1+g_d) raised to y−1 and divided by f. The share price compounds smoothly between payment dates, so the payment at index k buys at P₀(1+g_p)^(k/f). Reinvestment is assumed free of commission and to buy fractional shares, which is how sponsored DRIPs and most brokers operate.

Updated Category Dividends & Income Investing Verified against published test cases Reading time 13 min

What dividend reinvestment actually does to a position

A dividend reinvestment plan turns every cash distribution back into shares of the same company, automatically and usually without commission. The effect is easy to state and easy to underestimate: your share count rises even when you never send another dollar to your broker, and because dividends are paid per share, a larger share count collects a larger dividend next time. That feedback loop is what income investors mean by the dividend snowball.

Three separate engines drive the ending value, and this calculator keeps them apart so you can see which one is doing the work. The first is share-count growth from reinvestment. The second is dividend growth — the company raising the payment per share, which lifts your income without changing your share count at all. The third is price growth, which changes what each share is worth and, importantly, also changes the price your reinvestments pay.

Those engines interact in a way that surprises people. A rising share price is good for your portfolio value but bad for your reinvestment: each dividend buys fewer shares. A flat or falling price does the opposite. Over a long holding period, a moderate price and a rising dividend often produce more income than a fast-rising price does, which is why dividend-growth investors watch yield on cost rather than the quote screen.

The output you should read first depends on why you are here. If you are building a retirement income stream, look at the final-year dividend income and the yield on cost. If you are comparing this position with an index fund, look at the annualised return. If you are deciding whether to switch the DRIP on at all, look at the value added by reinvesting.

The formula, one payment at a time

There is no simple closed-form expression for a DRIP with both dividend growth and price growth, because the number of shares each payment buys depends on the price at that moment, and the price is moving. So the calculator iterates. For payment k it computes three things in order.

The dividend per share for that payment. The company's annual dividend in year y is D₀ × (1 + g_d)^(y−1), so year 1 uses today's dividend unchanged. Dividing by the number of payments per year gives the cheque for one share. Companies raise dividends once a year, not continuously, which is why the growth exponent steps rather than glides.

The price at that moment. P(k) = P₀ × (1 + g_p)^(k/f). Here the exponent is fractional, because a share price does move continuously between dividend dates. After a full year of quarterly payments, k/f = 1 and the price has grown by exactly one year of g_p.

The shares bought. Total dividend received is shares held times the dividend per share; divide that by the price and you have the new fractional shares. Add them and move to the next payment. Written as a recursion, S(k+1) = S(k) × (1 + d(k)/P(k)) — the term d(k)/P(k) is simply the yield for that period, so a DRIP grows the share count at exactly the periodic dividend yield.

That last observation gives you the one case you can do in your head. Hold price and dividend constant at a yield of y per year with annual payments, and the share count after n years is (1 + y)^n times what you started with. A 4% yield doubles your share count in about eighteen years with no help from the company and no new money.

Annual contributions are handled separately: they arrive at the end of each year and buy shares at that year's closing price. The annualised return figure is the internal rate of return on the resulting cash-flow schedule, which is the only correct way to summarise a return when money goes in at several different dates — the same arithmetic used by the internal rate of return calculator.

Worked example: $10,000, a $4.00 dividend growing 5%, price growing 6%

Set payments per year to 1 so you can follow every step on paper. You invest $10,000 at $100 a share, so you own 100 shares. The annual dividend is $4.00 per share (a 4.00% starting yield), the dividend grows 5% a year, the share price grows 6% a year, and you hold for three years with no new contributions.

  1. Year 1 dividend. The dividend per share is $4.00, so income is 100 × $4.00 = $400.00.
  2. Year 1 reinvestment price. $100 × 1.06 = $106.00. The $400 buys 400 ÷ 106 = 3.7736 shares, taking you to 103.7736 shares.
  3. Year 2 dividend. The company raises the payment 5%: $4.00 × 1.05 = $4.20. Income is 103.7736 × $4.20 = $435.85.
  4. Year 2 reinvestment price. $100 × 1.06² = $112.36. That buys 435.85 ÷ 112.36 = 3.8790 shares, taking you to 107.6526 shares.
  5. Year 3 dividend. $4.20 × 1.05 = $4.41 per share. Income is 107.6526 × $4.41 = $474.75.
  6. Year 3 reinvestment price. $100 × 1.06³ = $119.1016. That buys 474.75 ÷ 119.1016 = 3.9861 shares, ending at 111.6387 shares.
  7. Ending value. 111.6387 × $119.1016 = $13,296.35. Carry the unrounded price through the last two steps; rounding it to $119.10 puts you a couple of dollars out.

Now the comparison. If you had taken the dividends in cash you would still own 100 shares, worth 100 × $119.1016 = $11,910.16, plus $400 + $420 + $441 = $1,261 in the bank, for $13,171.16. Reinvesting was worth $125.19 more over three years — about 0.9% of the ending value. That is the honest scale of the effect over a short horizon, and it is why the argument for DRIPs is always an argument about decades.

Two more readings. Your income in year 3 is $474.75 against a $10,000 outlay, a yield on cost of 4.75%, up from the 4.00% you bought at. And the annualised return is (13,296.35 ÷ 10,000)^(1/3) − 1 = 9.96%, which is close to but not equal to the 6% price growth plus the 4% starting yield, because the yield falls as the price runs ahead of the dividend.

How to read the results

Yield on cost is the number retirees care about. It answers "what does this position pay me relative to what I paid for it?" A position bought at a 3% yield whose dividend grows 8% a year reaches a 6% yield on cost in about nine years and a 12% yield on cost in about eighteen — and reinvestment accelerates it further, because the rising dividend is collected on a share count that is itself growing. Yield on cost tells you nothing about whether to buy more today; for that you need the current yield, which the dividend yield calculator gives you.

The value added by reinvesting is not always positive. The figure is an exact identity: the ending value of the extra shares reinvestment bought, minus the dividends the cash version banked. When the final price is at least as high as every price you reinvested at — which is guaranteed whenever price growth is zero or positive — each purchase is worth at least the cash it replaced, and the dividends those extra shares collect sit on top, so the figure cannot come out negative for any positive dividend. Model a falling price and it can go either way: each purchase ends worth less than the cash it replaced, and whether the extra dividends cover that shortfall depends on the yield and the horizon. The calculator states the direction and prints both halves of the identity so you can see which effect dominates.

Compare the annualised return with a benchmark, not with zero. A 9% projected return sounds excellent until you remember that broad equity indices are usually quoted on a total-return basis — that is, with dividends reinvested, exactly the convention this calculator uses. The comparison is only fair when both sides reinvest.

Sanity-check the dividend assumption against the payout ratio. A dividend can only grow faster than earnings for as long as the payout ratio has room. If you assume 10% dividend growth for twenty years, you are implicitly assuming earnings grow at roughly the same rate, since the payout ratio would otherwise pass 100%. Work out the current payout ratio from the earnings per share calculator and check the coverage against the free cash flow calculator — cash, not accounting profit, is what actually funds a dividend.

How much reinvestment alone multiplies your share count

Share count after n years of annual reinvestment at a constant price and constant dividend. The multiple is (1 + yield)^years — no dividend growth, no price growth, no new money.
Starting yield10 years20 years30 years
2%1.219×1.486×1.811×
3%1.344×1.806×2.427×
4%1.480×2.191×3.243×
5%1.629×2.653×4.322×
6%1.791×3.207×5.743×

Read this as the pure reinvestment effect stripped of everything else. At a 4% yield you own 3.24 shares in thirty years for every share you own today, and each of those shares also collects whatever dividend growth the company delivered.

Mistakes that make a DRIP projection wrong

  • Entering the quarterly dividend as the annual dividend. This is the single most common error and it overstates income fourfold. The field wants the total expected over twelve months.
  • Extrapolating one good year of dividend growth. A 15% raise after a bad year is a recovery, not a trend. Use the five- or ten-year compound growth rate, and haircut it for the next twenty years.
  • Assuming price growth and dividend growth are independent. They are not. Over long periods a share price broadly tracks the dividend, because a permanently falling yield implies an ever-rising valuation. Setting price growth far above dividend growth for thirty years is an implicit bet on multiple expansion.
  • Ignoring tax. This calculator reinvests the gross dividend. In a taxable account you reinvest the after-tax amount, and in the United States you owe tax on reinvested dividends in the year they are paid even though you never see the cash. In a tax-sheltered account the gross figure is correct.
  • Forgetting that dividends are discretionary. No board is obliged to maintain a dividend. Deep recessions produce broad cuts across even long-standing payers, and a single cut resets the whole projection.
  • Treating fractional shares as guaranteed. Sponsored plans and most modern brokers buy fractions. Some plans round down and hold the remainder as cash, which slightly slows the compounding relative to this model.

What this model assumes

Reinvestment is at the market price with no commission and no discount, and shares are divisible. Some company-sponsored plans buy at a stated discount to the market price; the discount is set out in that plan's own prospectus and the calculator does not model it. You can approximate it by lowering the share price input, but only the reinvestment purchases actually receive the discount. Dividends are assumed paid in equal instalments and raised once a year. Any dividends not reinvested are held as cash earning nothing, which understates the cash alternative slightly. Special dividends, share buybacks, splits and spin-offs are outside the model.

Where this sits among the alternatives

The convention this calculator follows — dividends reinvested at the market price on the payment date — is the same one index providers use to build total-return indices, and it is why an S&P 500 total-return figure is materially higher than the price-index figure over any long window. When you compare a stock to "the market", make sure you are comparing total return to total return.

For valuing a share rather than projecting a position, the classic tool is the Gordon dividend growth model, which prices a stock as next year's dividend divided by the difference between your required return and the perpetual dividend growth rate. It answers a different question: this calculator asks what a position becomes, the Gordon model asks what a position is worth. If you want the required-return input for that model, the CAPM cost of equity calculator is the standard route.

If your interest is a lump-sum decision rather than an income stream — should I buy this at all — discounting the projected dividends and terminal value with the net present value calculator is more informative than a projection of ending value, because it prices the delay. And if you are assessing the company behind the dividend rather than the dividend itself, sustainable growth is bounded by return on equity times the retention ratio; the return on equity calculator gives you the first half of that product.

One last framing. Over the very long run the reinvested-dividend component has dwarfed the capital-gain component of real equity returns across the national markets Dimson, Marsh and Staunton assemble in Triumph of the Optimists. That evidence is what moved dividend reinvestment from a habit to a discipline. The projection above shows you the mechanism; the historical record is what makes it worth switching on.

Frequently asked questions

Should I enter the quarterly dividend or the annual dividend?

Enter the annual dividend per share — the total you expect one share to pay over the next twelve months — then set payments per year to 4 for a quarterly payer. The calculator divides the annual figure by the frequency itself. If a company pays $0.55 a quarter, enter $2.20 and select 4, not $0.55 and 4. Entering the quarterly figure in the annual field overstates your income and ending value by a factor of four.

Does reinvesting dividends always beat taking the cash?

No, though it cannot lose while the share price holds up. The value added is the ending worth of the extra shares reinvestment bought, less the dividends the cash version banked. If the final price is at least as high as every price you reinvested at — certain when price growth is zero or positive — each purchase is worth at least the cash it replaced and the dividends those shares collect are a bonus on top, so reinvesting wins for any positive dividend. Model a falling price and shares bought at $50 that end at $30 are worth less than the $50 you gave up, and the extra dividends may not cover the shortfall. Untick the reinvest box to see both paths side by side on your own assumptions.

What dividend growth rate should I use?

Start with the company's five-year compound dividend growth rate, then reduce it for the projection horizon. Mature payers with high payout ratios typically grow the dividend roughly in line with earnings; a business paying out most of its cash flow cannot outgrow earnings for long. Anything above 15% a year is flagged as a warning because it implies the payout ratio is either very low today or heading for 100%. When in doubt, run the projection twice at a low and a high rate and treat the gap as your uncertainty.

Why is my annualised return not just the yield plus the price growth?

Because the yield does not stay constant. If the price grows faster than the dividend, the yield falls every year, so the income component of your return shrinks over time and the total lands below the naive sum. If the dividend grows faster than the price, the yield rises and the total lands above it. The annualised figure shown is the internal rate of return on your actual contribution schedule, which handles both cases and any mid-stream contributions correctly.

How is yield on cost different from dividend yield?

Yield on cost divides your current income by what you originally paid; dividend yield divides the current dividend by the current price. Yield on cost rises over time for any company that raises its dividend, and it can reach double digits after twenty years even on a stock that yields 3% today. It is a useful measure of how a long-held position is performing, but it is useless for deciding what to buy now — for that, compare current yields.

Does this account for taxes on reinvested dividends?

No. It reinvests the gross dividend, which is correct inside an IRA, 401(k) or other tax-sheltered account. In a US taxable account, reinvested dividends are still taxable in the year they are paid, and they add to your cost basis — see IRS Publication 550. To approximate a taxable account, reduce the annual dividend per share by your effective dividend tax rate before entering it.

What happens if I model a negative price growth rate?

The projection still runs: the price falls each year, each dividend buys more shares than the last, and your share count grows faster than it would at a flat price. Ending value may still fall because those shares are each worth less. This is the scenario in which reinvestment can end behind taking cash, and the calculator says so explicitly when it does.

Can I model adding money every month rather than every year?

Not directly — new contributions are applied once a year, at that year's ending price. For monthly saving, enter twelve times the monthly amount as the yearly contribution. The difference against a true monthly schedule is small over long horizons because it only shifts each contribution by an average of six months, but it slightly understates the result when prices are rising.

Why does the share count grow at exactly the dividend yield?

Because each reinvestment buys the dividend received divided by the price, and dividend divided by price is the definition of yield. So one payment multiplies your share count by (1 + periodic yield). With a constant price and dividend, n years of annual reinvestment multiply the share count by (1 + yield) to the power n — the relationship behind the reference table above.

References

  • Triumph of the Optimists: 101 Years of Global Investment Returns — Dimson, Marsh & Staunton — Princeton University Press
  • Publication 550: Investment Income and ExpensesInternal Revenue Service
  • Index Mathematics Methodology (total return index construction) — S&P Dow Jones Indices
  • Dividends, Earnings, and Stock Prices, Review of Economics and Statistics, 1959 — Myron J. Gordon