DRIP Calculator
A DRIP calculator (Dividend Reinvestment Plan) shows how automatically reinvesting dividends accelerates wealth building. DRIP creates a compounding effect where dividends buy more shares, which generate more dividends.
The Power of DRIP: Growth Comparison
$10,000 initial investment, 3% dividend yield, 5% price appreciation:
| Years | Without DRIP | With DRIP | DRIP Advantage | 5$12,763$14,802+$2,039 10$16,289$21,911+$5,622 15$20,789$32,453+$11,664 20$26,533$48,075+$21,542 | 30 | $43,219 | $105,552 | +$62,333 |
DRIP Calculator Implementation
``javascript
function calculateDRIP(principal, dividendYield, priceAppreciation, years) {
const withoutDRIP = { value: principal, shares: 100 };
const withDRIP = { value: principal, shares: 100 };
const initialPrice = principal / 100;
for (let year = 0; year < years; year++) {
// Price appreciation
const currentPrice = initialPrice * Math.pow(1 + priceAppreciation / 100, year + 1);
// Without DRIP - just price appreciation
withoutDRIP.value = withoutDRIP.shares * currentPrice;
// With DRIP - dividends buy more shares
const dividend = withDRIP.shares * (initialPrice * Math.pow(1 + priceAppreciation / 100, year)) * (dividendYield / 100);
const newShares = dividend / currentPrice;
withDRIP.shares += newShares;
withDRIP.value = withDRIP.shares * currentPrice;
}
return { withoutDRIP: withoutDRIP.value, withDRIP: withDRIP.value };
}
console.log(calculateDRIP(10000, 3, 5, 20));
// Shows significant DRIP advantage
``
Why DRIP Works
DRIP's power comes from compound interest applied to share accumulation. Each dividend payment increases your share count, so next quarter's dividend is calculated on more shares. Over decades, this snowball effect creates substantial additional wealth without requiring any extra savings.
Most brokerages offer free DRIP enrollment. You can enable it account-wide or per position.