iGainss

Dividend reinvestment (DRIP): how it changes your shares, cost and taxes

iGainss guide · November 16, 2026 · about 4 min read

When a company pays a dividend, you can take it as cash or use it to buy more of the same stock. Doing that automatically is called dividend reinvestment, often shortened to DRIP (dividend reinvestment plan). Many brokers offer it for stocks and funds as a single setting, and some buy fractional shares so every cent is invested.

It is simple to switch on, but it changes three things people often lose track of: how many shares you own, what you paid for them on average, and what you owe in tax.

How it works

Each time a dividend is paid, the cash is used to buy more shares at that day's price. Those new shares then earn dividends of their own next time. Over many years this compounding can make a large difference, because the dividends themselves keep growing your share count.

A worked example

You buy 100 shares at $50, so $5,000. The company pays a dividend of $0.50 per share every quarter, and you reinvest every one. Over the year the share price at each payment is $48, $45, $52 and $55.

PaymentPriceDividendShares boughtShares ownedTotal costAverage cost
Start$50–100.0000100.0000$5,000.00$50.00
Q1$48$50.001.0417101.0417$5,050.00$49.98
Q2$45$50.521.1227102.1644$5,100.52$49.92
Q3$52$51.080.9823103.1467$5,151.60$49.94
Q4$55$51.570.9377104.0844$5,203.18$49.99

A few things to notice:

  • Each dividend is a little bigger than the last, because it is paid on more shares.
  • Low prices buy more shares. The Q2 dividend at $45 bought the most.
  • Your total cost rises by every dividend reinvested, from $5,000 to $5,203.18. That reinvested money is part of what you paid.
  • Your average cost moves with the prices you reinvested at. Here it ends at $49.99 per share rather than the $50 you first paid.

At $55 the 104.08 shares are worth $5,724.64. Taking the dividends as cash instead would leave you with 100 shares worth $5,500 plus $200 in cash, $5,700. Over one year the difference is small. Over decades it compounds.

Taxes: reinvested still counts as paid

In the US, reinvested dividends in a regular taxable account are taxed just like dividends you take in cash. The IRS is explicit: if you use your dividends to buy more stock, you must still report them as income. They appear on your Form 1099-DIV for the year they are paid, even though you never received cash.

The other side is that each reinvestment is a purchase, so it adds to your cost basis, which the IRS describes as generally the purchase price plus costs of purchase. When you eventually sell, that higher basis means you are not taxed twice on the same dividends. Forgetting to add reinvested dividends to your basis means overpaying tax when you sell.

In tax-advantaged accounts such as IRAs and 401(k)s, dividends are not taxed as they are paid, so this record-keeping matters mainly for taxable accounts. (This is general information, not tax advice. Rules depend on the account and on your situation.)

Records worth keeping

  • Every reinvestment is a small purchase lot with its own date, price and number of shares. Brokers usually track these for you, but transfers between brokers can lose them.
  • When comparing your own buying decisions with how the stock did, separate your own purchases from dividend reinvestments. Your average buy price on your own purchases tells you about your timing. Your average cost including reinvestments tells you your full cost.

Reinvest or take the cash?

Reinvesting suits long-term growth and keeps money working without effort. Taking cash suits people living off their income, or who want to put dividends into something else to rebalance. Either way, the dividend itself is not free money. On the ex-dividend date the stock's price is adjusted down to reflect the payment, because that cash is leaving the company, so on that day your total value is about the same whether you reinvest or not. What reinvestment changes is where that value sits and how it grows afterwards.

How iGainss helps

The DIVIDENDS page shows which of your holdings pay, how much and how often, and your total income for the year. In PORTFOLIO → SUMMARY you can mark a position as reinvesting dividends. iGainss then works out the extra shares from each real payment date and price. The position card shows your average buy price on your own purchases, and separately your average cost including reinvested dividends, plus a return with dividends included.

Sources

Try it yourself: DIVIDENDSOpen DIVIDENDS

This guide is for education only and is not investment advice. Figures are worked examples, not forecasts. More guides

We use essential cookies for authentication and optional analytics cookies to improve the app. Privacy Policy