Dividend Reinvestment Calculator (DRIP)

Model the compounding power of automatically reinvesting dividends to accumulate additional shares over decades.

Simulate a Dividend Reinvestment Plan (DRIP). See how reinvesting cash dividends into fractional shares creates an exponential snowball effect that dramatically accelerates portfolio wealth compared to taking cash payouts.

How this calculator works

Yearly: New Shares = Annual Dividend / Current Share Price. Portfolio Value = Total Shares * Share Price. Shares compound along with share price appreciation: P_t = P_0 * (1 + g_price)^t.

Key benefits

Assumptions & exclusions

Frequently asked questions

Do I have to pay taxes on reinvested dividends (DRIP)?

Yes. In the United States, reinvested dividends in a taxable brokerage account are considered taxable income in the year received, even though the cash was automatically used to buy more shares.

What is yield on cost, and why does it rise when I reinvest?

Yield on cost is your annual dividend income divided by the total amount you personally contributed. It rises over time because the dividend per share tends to grow and because every reinvested dividend adds more shares that also pay dividends, so the income grows faster than the money you put in.

Can I reinvest dividends inside an IRA or 401(k)?

Yes, most retirement accounts allow automatic reinvestment, and it works especially cleanly there because dividends inside the account are not taxed in the year they are paid. The full amount buys more shares, and taxes follow the account rules when money is eventually withdrawn.

What happens to my reinvestment plan if the company cuts its dividend?

Reinvestment continues, but each payment buys fewer shares and the income stream shrinks. A projection built on steady dividend growth no longer applies after a cut, so rerun your numbers with a lower dividend and a zero or negative growth rate to see the more cautious path.

What happens to fractional shares bought through a DRIP when I sell?

Whole shares sell normally. The fractional remainder usually cannot be transferred to another broker and is typically sold at the market price when you close the position or move the account, with the cash paid to you. Check your broker policy, because the details vary.

Is reinvesting dividends always better than taking the cash?

Not always. Reinvestment suits a long accumulation horizon, when more shares and compounding matter most. Taking the cash makes sense when you need the income, want to rebalance into other holdings, or hold the stock in a taxable account and prefer to direct the money yourself. In a taxable account the dividend is taxed either way.

Formula-Based Calculator · By QalcTools Editorial Team. Formulas tested against independent reference values · Content reviewed November 2026 by the QalcTools Editorial Team.

Methodology note: Recursive dynamic multi-asset dividend reinvestment algorithm accounting for share dilution and price appreciation.

Related calculators

Category: Investments & Retirement Calculators

About this calculator

A dividend reinvestment plan turns every cash payout into more shares, and those extra shares then pay dividends of their own. The effect looks modest in the first few years and dramatic later, which is exactly why it is hard to judge without a projection. This calculator models that snowball year by year: you set a starting investment, a share price, the annual dividend per share, and assumed growth rates for both the dividend and the share price, and it shows your share count, portfolio value, cumulative dividends, and the annual income the position would pay at the end. It is built for income investors comparing a reinvest path against taking the cash.

How it works

Each simulated year starts with the dividend your current shares generate at the current dividend per share. With reinvestment switched on, that cash immediately buys additional shares at the current share price, so the share count rises before anything else happens. Any additional annual contribution you make buys still more shares at the same price. The tool records the year — share price, shares owned, dividend paid, portfolio value, and cumulative dividends — and only then advances the share price and the dividend per share by the growth rates you entered, ready for the next year. Switching reinvestment off shows the same plan with dividends collected as cash instead, which makes the compounding gap between the two paths easy to see.

The formula, explained

Dividend this year = Shares × D; Shares ← Shares + (Dividend ÷ P) + (A ÷ P); Portfolio value = Shares × P; then P ← P × (1 + gₚ) and D ← D × (1 + g_d)

The engine runs one loop iteration per year in a fixed order: it pays the dividend on the shares held, reinvests it at the current price when the DRIP toggle is on, adds the annual additional contribution at that same price, records the year, and only then grows the price and the dividend per share for the next year. On this page the additional contribution is the monthly contribution amount multiplied by twelve. Two timing details matter: the starting investment is floored at $10 and the share price at $0.10, the horizon is clamped to 1–50 years, and the headline final value values your shares at the price reached after the final year’s growth step, so it sits above the last row of the year-by-year schedule.

Inputs and variables

VariableMeaningExample
Initial InvestmentThe lump sum invested on day one. Divided by the share price, it sets your starting share count, and every later dividend is proportional to it.$10,000
Share PriceThe price of one share at the start. It converts dollars — the initial investment, reinvested dividends, and new contributions — into share counts.$50 per share
Annual Dividend per ShareThe cash dividend one share pays over a year. Together with the share price it implies the starting yield: $2.00 on a $50 share is a 4% yield.$2.00 per share
Annual Dividend Growth (%)How fast you assume the dividend per share rises each year. Steady dividend growth is what lifts your income stream even before reinvestment is counted.5% per year
Share Price Growth (%)How fast you assume the share price itself appreciates each year. It raises the portfolio value but also makes each reinvested dividend buy fewer new shares.6% per year
Time Horizon (Years)How long the reinvestment loop runs. The snowball is back-loaded, so the second half of a long horizon usually adds more shares than the first half.15 years
Reinvest Dividends (DRIP)Whether each dividend is automatically used to buy more shares. Turning it off collects the dividends as cash and removes the share-count compounding entirely.On
Additional Annual ContributionExtra cash invested each year, which the page derives from its monthly contribution amount multiplied by twelve. It buys shares at each year’s starting price.$6,000 per year ($500 per month)

Worked example

An investor puts $10,000 into a stock at $50 a share paying a $2.00 annual dividend, assumes the dividend grows 5% a year and the price 6% a year, reinvests every dividend, and adds $6,000 of new money each year for 15 years.

  1. Starting position: $10,000 ÷ $50 = 200 shares. Year 1 dividend: 200 × $2.00 = $400, which buys 8 more shares; the $6,000 contribution buys 120 more, ending year 1 with 328 shares worth $16,400.
  2. By year 5 the position has grown to 824.18 shares worth $52,025.33, with $5,137.24 of dividends received and reinvested so far.
  3. By year 10 there are 1,423.48 shares worth $120,247.29, and cumulative dividends have reached $20,323.41 — more than the original $10,000 investment, all of it converted into shares.
  4. Across the full 15 years the plan pays $50,436.21 of dividends and the investor contributes $100,000 in total ($10,000 initial plus 15 × $6,000).
  5. Final position: 2,018.83 shares. Valued at the price after the last growth step (about $119.83), the portfolio is worth $241,911.61 and would pay $8,393.99 of dividends in the following year — a yield on cost of 8.39% against the 4% starting yield.

A projected portfolio value of $241,911.61 from $100,000 of contributions, holding 2,018.83 shares, with $50,436.21 of dividends reinvested along the way and a final annual dividend income of $8,393.99.

Two engines are working at once here: the $6,000 yearly contributions supply most of the new shares early on, while reinvested dividends quietly take over later as the share count compounds. The yield on cost figure captures the income story — the same dollars that yielded 4% at purchase would yield 8.39% against what was paid in, because both the dividend per share and the number of shares collecting it kept rising. All growth rates are assumptions you choose, not forecasts of any real stock.

Understanding your results

Read the share count first, because it is the purest measure of reinvestment at work: contributions alone would have bought a fixed number of shares each year, so any acceleration in the share column comes from dividends buying shares that then pay dividends themselves. The portfolio value column mixes that effect with price appreciation, which is why the same plan can show a soaring value while the income column — the annual dividend the position pays — grows much more steadily.

Yield on cost deserves care. It divides the final annual dividend income by everything you personally contributed, so it rises with dividend growth, reinvestment, and time, and it says nothing about what the position would yield for a buyer today. Compare it against the starting yield shown beside the dividend field to judge how much of the improvement came from the plan’s mechanics rather than from a high initial payout.

Assumptions and limitations

The projection holds both growth rates perfectly steady for the whole horizon, while real dividends are declared period by period and can be frozen, cut, or suspended, and real share prices move unevenly rather than rising by the same percentage each year. The model works in whole-year steps, so it does not reflect quarterly payment timing, ex-dividend price movements, or the exact prices at which a real plan would reinvest. Taxes on dividends, brokerage rules on fractional shares, and any change in the company’s payout policy are outside the calculation. Treat the output as an illustration of reinvestment mechanics under your assumptions, not as an expectation for any particular stock or fund.

Common mistakes to avoid

Sources

Related guides