Breakdown
Interest vs Contributions
A useful compound interest result should show both sides: what you put in and what the growth assumption adds.
Contribution total
startingAmount + monthlyContribution * months
This is the amount you directly add to the balance.
Estimated interest
endingBalance - contributionTotal
This is the growth above direct contributions before taxes, fees, and inflation.