Loan offers, mutual fund brochures, fixed-deposit tables, shop bills and exam forms all ask the same kind of question: "what does this number actually come to?" The answers are small pieces of arithmetic, but they are easy to get subtly wrong — a monthly rate used as an annual one, a SIP treated as a lump sum, an age counted in 30-day months. We built five calculators for India that run entirely in the browser, and this post is about the maths inside them: the formulas, the edge cases, and the places where we deliberately refuse to over-claim.
Every calculator follows the same three rules. First, the maths is a pure function of its inputs — no DOM, no network, nothing uploaded. Second, money is formatted for India with Intl.NumberFormat('en-IN') , so ₹1,00,000 groups the way Indian readers expect, not as 100,000.…