How it works
Each period, your contribution is added and then the whole balance grows by the periodic rate. That growth becomes part of the balance the next period grows on, which is the entire mechanism behind compounding — interest earning interest.
The annual rate is divided by the number of periods per year, so a 12% annual rate becomes 1% a month, 3% a quarter or 12% a year. Contributions and compounding use the same frequency, which keeps money from being credited with growth for time it was not invested.
More detail
Total invested is the initial amount plus every contribution. Estimated returns are whatever the final balance exceeds that by — so the split you see is exact, not apportioned.
With monthly contributions and no starting amount, this produces exactly the same figure as the SIP calculator, because both use the same start-of-period convention. That is a deliberate consistency check rather than a coincidence.
If you contribute monthly and have no starting amount, the SIP calculator is the simpler tool.
To see what the projected balance would be worth in today's money, run it through the inflation calculator.