Dividend Reinvestment (DRIP) Calculator Formula

Understand the math behind the dividend reinvestment (drip) calculator. Each variable explained with a worked example.

Formulas Used

With DRIP (Reinvested)

with_drip = initial_investment * pow(1 + total_return, years)

Without DRIP (Price Only)

without_drip = initial_investment * pow(1 + price_growth / 100, years)

DRIP Advantage

drip_advantage = initial_investment * pow(1 + total_return, years) - initial_investment * pow(1 + price_growth / 100, years)

Cumulative Dividends Earned

total_dividends = initial_investment * pow(1 + total_return, years) - initial_investment * pow(1 + price_growth / 100, years)

Variables

VariableDescriptionDefault
initial_investmentInitial Investment(USD)10000
dividend_yieldAnnual Dividend Yield(%)3
price_growthAnnual Price Growth(%)5
yearsInvestment Period(years)20
total_returnDerived value= (dividend_yield + price_growth) / 100calculated

How It Works

Dividend Reinvestment Plans (DRIP)

A DRIP automatically uses dividend payments to purchase additional shares, creating a compounding effect.

How Compounding Amplifies Returns

  • Without DRIP: Growth from price appreciation only
  • With DRIP: Growth from price appreciation PLUS reinvested dividends buying more shares, which themselves generate more dividends
  • Formula

    With DRIP = Investment x (1 + Yield + Growth)^Years

    Without DRIP = Investment x (1 + Growth)^Years

    The difference widens dramatically over longer time periods.

    Worked Example

    $10,000 invested in a stock with 3% dividend yield and 5% price growth for 20 years.

    initial_investment = 10000dividend_yield = 3price_growth = 5years = 20
    1. 01Total return with DRIP = 3% + 5% = 8%
    2. 02With DRIP: $10,000 x (1.08)^20 = $46,610
    3. 03Without DRIP: $10,000 x (1.05)^20 = $26,533
    4. 04DRIP advantage = $46,610 - $26,533 = $20,077
    5. 05Reinvesting dividends nearly doubled the investment outcome

    Frequently Asked Questions

    What is a DRIP?

    A Dividend Reinvestment Plan (DRIP) automatically reinvests cash dividends into additional shares or fractional shares of the underlying stock. Most brokerages offer free DRIP enrollment.

    Are DRIP dividends taxable?

    Yes. Even though dividends are reinvested, they are still taxable income in the year received. You will owe taxes on dividends whether or not you take them as cash.

    When should I NOT use a DRIP?

    Consider taking dividends as cash when: you are in retirement and need income, the stock is overvalued, you want to diversify, or you have better investment opportunities elsewhere for that capital.