Hey everyone,
I've been trying to visualize the math behind the "Snowball Effect," specifically looking for the crossover point where the cumulative dividends received equal the initial purchase price of the stock.
I couldn't find a simple calculator that showed this without requiring a login or connecting my brokerage account, so I wrote my own.
**It calculates:**
* The "Free Roll" year (when you have extracted 100% of your capital back).
* The difference in ending yield if you use DRIP vs. taking cash.
* It also includes a rebalancing tool I made to help calculate buy orders without selling shares (to avoid tax drag).
The project is **open-source** and runs entirely in your browser (client-side), so no data is sent to a server.
**Repo & Live Demo:** \[https://github.com/chasedwebdesign/Stock-comparison/blob/main/README.md\]
I'd love to get a code review or feedback on the math if anyone here is into web dev. I hope you guys enjoy!