Dividend Reinvestment Calculator
✦ Finance & MoneyUse this free dividend reinvestment calculator to see how a DRIP compounds your share count and portfolio value — with dividend growth, share price growth, a reinvest-vs-cash comparison and a year-by-year schedule.
- ✓ Calculated in your browser
- ✓ Nothing you type is stored
- ✓ No sign-up required
- ✓ Formula and sources shown
The formula
Dividend reinvestment (DRIP) — share count and portfolio value
Per period k:
income_k = S_k x (DPS₀ x (1 + g_d)^floor(k/f)) / f
new_shares_k = income_k / (P₀ x (1 + g_p)^((k + 1)/f)) [if reinvesting, at the period-end price]
S_{k+1} = S_k + new_shares_k
Portfolio value = S_N x P₀ x (1 + g_p)^N
S = share count, DPS₀ = starting annual dividend per share, g_d = annual dividend growth rate (decimal), g_p = annual share price growth rate (decimal), f = payments per year, k = period index. Dividends are reinvested at the end-of-period share price. Dividend growth is applied as an annual step (same rate for all periods in a calendar year). Fractional shares are included throughout. Taxes, brokerage fees and DRIP reinvestment discounts are not modelled.
Calculating it by hand
- Divide the annual dividend per share (DPS) by the number of payments per year to find the per-period DPS (for quarterly: annual DPS / 4).
- Multiply the per-period DPS by your current share count to find the dividend income for that period.
- Divide the dividend income by the share price at the end of that period to find the new shares purchased.
- Add the new shares to your running total to get the next period's starting share count.
- Apply the annual dividend growth rate once at the start of each new calendar year to step up the annual DPS.
- Apply the annual share price growth rate continuously: the price at the end of period k (counting from 0) = starting price x (1 + growth rate)^((k + 1) / periods per year).
- Repeat for all periods across the full horizon; roll up per-period figures to annual rows for the schedule.
Worked examples
200 shares at $50, 4% annual yield ($2.00 DPS), quarterly payments, 0% growth, reinvest ON, 10 years
Per-period DPS = $2.00 / 4 = $0.50. Starting income per quarter = 200 x $0.50 = $100.00.Q1: new shares = $100.00 / $50 = 2.0000 → S = 202.0000.Each quarter the share count is larger, so the income is slightly higher and more shares are added.Per-period reinvestment ratio = $0.50 / $50 = 0.01; after 40 periods: S₄₀ = 200 x 1.01^40 = 200 x 1.488864 = 297.77 shares.Portfolio value = 297.77 x $50 = $14,888.64.Without reinvestment: 200 x $50 = $10,000 + 200 x $2.00 x 10 = $4,000 cash = $14,000 total wealth.Reinvestment advantage: $14,888.64 - $14,000 = $888.64 — the same arithmetic as compound interest, applied to shares.
Ending shares: 297.77 | Portfolio value: $14,888.64 | Reinvestment advantage: $888.64
100 shares at $50, $2.00 annual DPS, quarterly, 5% dividend growth, 5% share price growth, reinvest ON, 20 years (the defaults)
Starting yield: $2.00 / $50 = 4.00%. Year 1 per-period DPS = $0.50; each dividend buys shares at that quarter-end's price.Dividend per share: year 10 = $2.00 x 1.05^9 = $3.10; year 20 = $2.00 x 1.05^19 = $5.05.Share price: year 10 = $50 x 1.05^10 = $81.44; year 20 = $50 x 1.05^20 = $132.66.Ending share count = 216.47; ending portfolio value = 216.47 x $132.66 = $28,718.63.Without reinvestment: 100 x $132.66 = $13,266.49 of shares + $6,613.19 of cash dividends = $19,879.68.Reinvestment advantage: $28,718.63 - $19,879.68 = $8,838.95.
Ending shares: 216.47 | Portfolio value: $28,718.63 | Advantage over cash: $8,838.95 | Yield on cost in year 20: 10.11%
100 shares at $50, $2.00 DPS, quarterly, 0% growth, reinvest OFF, 20 years — income projection
Share count stays at 100. Annual income = 100 x $2.00 = $200 every year.Over 20 years, total cash income = 100 x $2.00 x 20 = $4,000.Portfolio value (at $50, 0% price growth) = 100 x $50 = $5,000 throughout; total wealth = $5,000 + $4,000 = $9,000.With reinvestment (same inputs): per-period ratio = 0.50 / 50 = 0.01; 1.01^80 = 2.216715; ending shares = 221.67; portfolio value = 221.67 x $50 = $11,083.58.Reinvestment advantage over 20 years at 0% growth: $11,083.58 - $9,000 = $2,083.58.
Total dividend income (reinvest OFF): $4,000 | Reinvest ON: $11,083.58 portfolio | 20-year advantage: $2,083.58
Methodology
How dividend reinvestment actually works
Reinvesting looks small in year one — a 4% yield on 100 shares adds four new shares. The compounding becomes visible around year 10, when those accumulated shares have themselves been paying dividends for several years and the snowball starts to roll noticeably faster.
Read sources and limitsHow does a DRIP compound your share count?
A dividend reinvestment plan (DRIP) uses each dividend payment to buy more shares of the same stock or fund at the market price, so you end each payment period with slightly more shares. Those extra shares earn dividends of their own, which buy still more shares — the compounding loop investors call the dividend snowball.
Take 200 shares at $50 ($10,000) paying $2.00 a share a year, quarterly, with the dividend growing 5% a year and a flat share price. In year 1 the dividends total $406 and buy 8.1 shares. By year 10 they are $985 a year, buying 19.7 shares; by year 20, $3,524 a year, buying 70.5 shares — and the holding has grown from 200 to 742 shares.
Payment frequency matters less than most investors expect: in the same example, monthly instead of quarterly reinvestment ends with 0.8% more shares after 20 years. Time, the dividend growth rate and the starting yield are what move the outcome.
Why does the calculator show share count and portfolio value separately?
Because they measure different things. Share count is the direct result of reinvestment: it rises with every dividend, whatever the price does. Portfolio value is share count times the share price, so it moves with the market as well as with reinvestment. The schedule shows both columns for every year.
A stock whose price falls while its dividend holds steady actually compounds share count faster, because the same dollars buy more shares. That is why some long-term DRIP investors see price weakness as useful during the accumulation years: the value in dollars can fall while the share count — the source of future income — keeps rising.
How much does reinvesting beat taking dividends as cash?
Taking dividends as cash is not neutral; it gives up the dividends those reinvested shares would have earned. With 200 shares at $50, a $2.00 dividend growing 5% a year and a flat price, reinvesting for 20 years ends at $37,099 (742 shares). Taking the cash leaves $10,000 of shares plus $13,226 of dividends — $23,226.
With the share price also growing 5% a year, reinvestment ends at $57,437, against $26,533 of shares plus the same $13,226 of cash — a $17,678 advantage. The gap widens with time and price growth because reinvested shares share in the price gains as well as paying further dividends.
The comparison under the result shows this for your inputs: the same capital and the same dividends, the only difference being whether the income goes back into shares. The advantage is not guaranteed — a dividend cut or a long price decline shrinks it. This is arithmetic, not a recommendation.
When should you not reinvest dividends?
Reinvesting is not always the better choice. In retirement or on a fixed income, cash dividends pay the bills without selling shares. If one stock is already a large part of your portfolio, reinvesting makes it larger still; diversifying the cash may be wiser. And paying off high-interest debt usually beats any reinvestment.
Tax is a real cost in a taxable account. Reinvested dividends are taxable in the year they are paid even though you received no cash (IRS Publication 550), so a taxable DRIP compounds more slowly than this pre-tax estimate. In an IRA, 401(k) or Roth IRA there is no annual tax on the dividends and the full amount is reinvested.
What do the dividend growth and share price growth inputs mean?
Dividend growth is the yearly change in the dividend per share. The calculator applies it as an annual step: the same dividend per share all year, rising on each year boundary. Share price growth is the yearly change in the price; it sets the price at which each dividend is reinvested and the ending portfolio value.
Both are assumptions, not forecasts. A long record of dividend increases is backward-looking, and any company can cut, freeze or suspend its dividend. To separate the effects, run the projection with 0% price growth to see the dividend compounding alone, then with your assumed growth to see the combined result.
What does this DRIP calculator leave out?
Taxes, fees and plan discounts are not modelled. Dividends are generally taxable in the year paid, at qualified or ordinary rates. Broker reinvestment is usually free; some company-sponsored plans charge a small fee or offer a discount on the reinvestment price. This calculator assumes neither, and reinvests each dividend at the share price at the end of its payment period.
Fractional shares are used throughout. Most broker DRIPs credit fractional shares; a plan that buys only whole shares and holds the remainder as cash compounds slightly more slowly. Splits, spin-offs, special dividends and mergers would each need the inputs adjusting by hand.
Dividend Reinvestment questions
What is a dividend reinvestment plan (DRIP)?
A DRIP automatically uses your cash dividends to buy more shares of the same security instead of paying you the cash. Most brokers offer automatic reinvestment, usually at no charge, and some companies run their own plans through a transfer agent. Each payment increases your share count, and the new shares earn dividends of their own — a self-reinforcing compounding loop.
What is the dividend snowball effect?
It is the informal name for dividend reinvestment compounding. Early on, reinvesting adds only a few shares; those shares then earn dividends, which buy more shares, so the number added each year keeps rising. With 200 shares at $50, a $2.00 dividend growing 5% a year and a flat price, reinvestment adds 8.1 shares in year 1 and 70.5 in year 20.
How long does it take to double your share count through dividend reinvestment?
The Rule of 72 gives a quick estimate: 72 divided by the yield. At a 4% yield with a flat price and a constant dividend, that is about 18 years; quarterly reinvestment at 1% a quarter takes 17.4 years exactly. Dividend growth shortens the time; a rising share price lengthens it, because each dividend buys fewer shares. The schedule shows the year your share count passes double.
Are reinvested dividends taxable even though you don't receive the cash?
In the United States, yes. The IRS treats a reinvested dividend as a dividend paid to you and then used to buy shares, so it is taxable in the year it is paid and appears on your Form 1099-DIV (IRS Publication 550). Each reinvestment also creates a new tax lot with its own cost basis. For an after-tax estimate, reduce the dividend per share by your tax rate before entering it.
Do I pay taxes on reinvested dividends in an IRA or 401(k)?
Not in the year they are reinvested. In a traditional IRA or 401(k), dividends accumulate tax-deferred and withdrawals are taxed as ordinary income. In a Roth IRA, qualified withdrawals are tax-free. Either way, the annual tax that slows a taxable DRIP does not apply, so the full dividend is reinvested every time.
What is the cost basis of shares purchased through DRIP?
Each reinvestment purchase has its own cost basis — the price paid on that date — so a long-running DRIP builds many small tax lots. Brokers track them, and when you sell you can choose which lots to sell if you identify them. Your broker's cost-basis records are the authoritative source; this calculator does not track basis.
When should you NOT reinvest dividends?
Four common cases: you need the income (in retirement, dividends pay bills without selling shares); one stock is already too large a share of your portfolio; tax in a taxable account makes another use of the cash better; or you have high-interest debt, which repaying almost always beats. The calculator shows the arithmetic; it cannot weigh these personal factors.
How does dividend growth affect the reinvestment calculation?
Growth raises the income per share each year, so each period buys more shares, which earn more income — dividend growth and share-count growth compound together. At 5% a year the dividend per share roughly doubles in 15 years (1.05^15 = 2.08). Enter 0% for a flat-dividend baseline and a positive rate to model a dividend-growth stock.
What does yield on cost mean, and why does it increase over time?
Yield on cost is the current annual dividend per share divided by the price you originally paid. Paying $50 a share for a stock that now pays $4.00 a year is an 8% yield on cost, even if today's yield at a $100 price is 4%. It rises whenever the dividend grows, because your original cost stays fixed. The page shows it for the final year beside the starting yield.
How much will $10,000 in dividend-paying stock be worth in 30 years with reinvestment?
It depends on the yield, dividend growth and price growth. As an illustration: $10,000 in a $50 stock (200 shares) paying 4% a year, with dividends and the price each growing 5% a year and every quarterly dividend reinvested, ends at about $137,655 after 30 years, with 637 shares. With a flat share price it would be far less. Treat any such figure as one scenario, not a forecast.
Can dividend reinvestment trigger the wash-sale rule?
Yes, in a taxable account. If you sell shares at a loss and a reinvestment buys the same security within 30 days before or after the sale, the loss on that many shares is disallowed and added to the basis of the new shares. Sell 200 shares at a $5 loss ($1,000) while a DRIP buys 4 shares in the window: $20 is disallowed and $980 is deductible. Pausing reinvestment avoids it (IRS Publication 550).
Does monthly versus quarterly payment frequency change the DRIP result?
Only slightly. A 4% yield reinvested monthly grows the share count by (1 + 0.04 / 12)^12 - 1 = 4.074% a year; quarterly gives (1.01)^4 - 1 = 4.060% — about $1.38 a year on $10,000. Over 20 years with 5% dividend growth it adds under 1% to the ending share count. Dividend growth and price growth matter far more.
Source notes
Method, sources & limitations
Every figure on this page comes from the formula above applied to the values you enter. Nothing is estimated from market data, and no result is a forecast. These are the sources behind the method and any fixed figures it uses:
- U.S. Securities and Exchange Commission (Investor.gov) — Dividend Reinvestment Plans (DRIPs)
- FINRA — DRIP Investing
- IRS Publication 550 — Investment Income and Expenses (dividends, wash sales)
- IRS Topic No. 404 — Dividends
Educational information only. Results are estimates produced from the assumptions you enter, and are not financial, tax, legal or medical advice. Check anything that matters against a qualified professional and the cited sources.