How to Build a ₹1 Crore Corpus: Step-by-Step SIP Calculator Guide
Not luck, and not a huge salary — ₹1 crore is a math problem with time as the main variable. Here's exactly what that means per month, for your own timeline.
Building a ₹1 crore corpus is one of the most common financial goals among Indian investors — for retirement, a child's education, a home, or simple financial independence. It sounds like a number reserved for the fortunate. It isn't. With disciplined SIP investing and enough runway, it's realistic for most salaried professionals — the table below shows exactly what "enough runway" means in rupees per month.
How to Build a ₹1 Crore Corpus with SIP: Step-by-Step Guide (2026) | Money n Wealth :root{ --navy-deep:#0B1929; --navy-mid:#12395A; --ink:#0F172A; --body:#475569; --lead:#64748B; --blue-50:#EFF6FF; --blue-600:#2563EB; --orange:#E07B20; --orange-soft:rgba(224,123,32,.12); --border:#E3DFD9; --border-soft:#E2E8F0; --bg:#FFFFFF; --bg-soft:#F8FAFC; --serif:"DM Serif Display", Georgia, serif; --sans:"DM Sans", -apple-system, "Segoe UI", sans-serif; --shadow: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.06); } @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --ink:#F1F5F9; --body:#CBD5E1; --lead:#94A3B8; --bg:#0B1220; --bg-soft:#111A2C; --border:#26314A; --border-soft:#1E2A44; --blue-50:#132338; --blue-600:#7AA7F0; --shadow: 0 1px 3px rgba(0,0,0,.4); } } :root[data-theme="dark"]{ --ink:#F1F5F9; --body:#CBD5E1; --lead:#94A3B8; --bg:#0B1220; --bg-soft:#111A2C; --border:#26314A; --border-soft:#1E2A44; --blue-50:#132338; --blue-600:#7AA7F0; --shadow: 0 1px 3px rgba(0,0,0,.4); } *{box-sizing:border-box;} body{margin:0;background:var(--bg);color:var(--body);font-family:var(--sans);font-size:16px;line-height:1.7;} a{color:var(--blue-600);} a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible{outline:2px solid var(--orange); outline-offset:2px;} img,svg{max-width:100%;} .nav{display:flex;align-items:center;justify-content:space-between;padding:18px 32px;border-bottom:1px solid var(--border-soft);flex-wrap:wrap;gap:12px;} .brand{display:flex;align-items:center;gap:8px;font-family:var(--serif);font-size:22px;color:var(--ink);text-decoration:none;} .brand b{color:var(--orange);font-weight:400;} .navlinks{display:flex;align-items:center;gap:26px;flex-wrap:wrap;} .navlinks a{color:var(--body);text-decoration:none;font-size:14.5px;font-weight:500;} .navlinks a:hover{color:var(--ink);} .login-btn{background:var(--navy-mid);color:#fff !important;padding:9px 20px;border-radius:8px;font-size:14px;font-weight:700;} .hero{position:relative;overflow:hidden;padding:56px 32px 44px; background: radial-gradient(circle at 82% 18%, rgba(224,123,32,.5), rgba(0,0,0,0) 34%), linear-gradient(135deg, var(--navy-deep), var(--navy-mid)); } .hero-inner{max-width:1100px;margin:0 auto;position:relative;z-index:2;} .badge{display:inline-block;font-family:var(--sans);font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--orange);border:1.5px solid rgba(224,123,32,.4);background:rgba(224,123,32,.08);padding:7px 18px;border-radius:999px;margin-bottom:22px;} .eyebrow{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#B9C6D6;margin-bottom:14px;font-weight:500;} h1.title{font-family:var(--serif);font-weight:700;font-size:clamp(32px,4.6vw,54px);line-height:1.08;color:#fff;margin:0 0 20px;text-wrap:balance;max-width:17ch;} .dek{font-size:19px;color:#CBD8E5;max-width:56ch;margin:0 0 26px;line-height:1.55;} .byline{display:flex;flex-wrap:wrap;gap:26px;color:#AFC0D2;font-size:14.5px;} .byline span{display:inline-flex;align-items:center;gap:7px;} .hero-motif{position:absolute;right:-10px;bottom:-10px;width:280px;height:280px;opacity:.9;z-index:1;pointer-events:none;} @media (max-width:700px){.hero-motif{display:none;}} .wrap{max-width:1100px;margin:0 auto;padding:48px 32px 80px;display:grid;grid-template-columns:1fr 300px;gap:56px;} @media (max-width:860px){.wrap{grid-template-columns:1fr;padding:36px 20px 60px;}} main{min-width:0;max-width:680px;} main > p{margin:0 0 20px;font-size:17px;} main > p.lead{font-size:19px;color:var(--ink);} h2{font-family:var(--serif);font-weight:700;font-size:29px;color:var(--ink);margin:44px 0 18px;text-wrap:balance;} h3{font-family:var(--sans);font-weight:700;font-size:18px;color:var(--ink);margin:28px 0 10px;} main ul, main ol{padding-left:22px;margin:0 0 20px;} main li{margin-bottom:9px;font-size:16.5px;} main strong{color:var(--ink);font-weight:700;} .note{font-style:italic;color:var(--lead);font-size:15px;border-left:3px solid var(--border);padding-left:16px;margin:18px 0 26px;} .callout{background:var(--bg-soft);border:1px solid var(--border-soft);border-radius:10px;padding:20px 22px;margin:24px 0;} .callout h4{margin:0 0 8px;font-family:var(--sans);font-size:15.5px;font-weight:700;color:var(--ink);} .callout p{margin:0;font-size:15.5px;} .table-scroll{overflow-x:auto;margin:22px 0;border:1px solid var(--border-soft);border-radius:10px;} table{width:100%;border-collapse:collapse;font-size:15px;min-width:520px;} th{background:var(--blue-50);color:var(--ink);font-family:var(--sans);font-weight:700;text-align:left;padding:13px 16px;font-size:13.5px;} td{padding:14px 16px;border-top:1px solid var(--border);color:var(--body);vertical-align:top;} tr:first-child td{border-top:none;} td.rowlabel{font-weight:700;color:var(--ink);white-space:nowrap;} .calc{background:var(--bg-soft);border:1px solid var(--border-soft);border-radius:14px;padding:28px;margin:32px 0;} .calc-head{display:flex;align-items:center;gap:10px;margin-bottom:6px;} .calc-head h3{margin:0;font-size:19px;} .calc p.calc-sub{margin:0 0 20px;font-size:14.5px;color:var(--lead);} .calc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:20px;} .field label{display:block;font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--lead);margin-bottom:7px;} .field input, .field select{width:100%;padding:10px 12px;border:1.5px solid var(--border-soft);border-radius:8px;font-family:var(--sans);font-size:15px;background:var(--bg);color:var(--ink);} .calc-btn{background:var(--navy-mid);color:#fff;border:none;padding:12px 26px;border-radius:8px;font-family:var(--sans);font-weight:700;font-size:15px;cursor:pointer;} .calc-btn:hover{background:var(--navy-deep);} .calc-result{display:none;margin-top:22px;padding-top:20px;border-top:1px dashed var(--border);grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;} .calc-result.show{display:grid;} .result-item .rlabel{font-size:12.5px;color:var(--lead);text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px;} .result-item .rval{font-family:var(--serif);font-size:24px;color:var(--ink);font-variant-numeric:tabular-nums;} .result-item .rval.accent{color:var(--orange);} .calc-fineprint{font-size:12.5px;color:var(--lead);margin-top:16px;} .faq details{border-bottom:1px solid var(--border-soft);padding:16px 0;} .faq summary{font-family:var(--sans);font-weight:700;font-size:16.5px;color:var(--ink);cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center;} .faq summary::-webkit-details-marker{display:none;} .faq summary::after{content:"+";font-size:22px;color:var(--orange);font-weight:400;flex-shrink:0;} .faq details[open] summary::after{content:"–";} .faq details p{margin:12px 0 0;font-size:15.5px;} aside{align-self:start;position:sticky;top:24px;} .card{background:var(--bg);border:1px solid var(--border-soft);border-radius:14px;padding:24px;box-shadow:var(--shadow);margin-bottom:20px;} .card h4{font-family:var(--serif);font-size:19px;margin:0 0 14px;color:var(--ink);font-weight:700;} .share-btn{display:block;width:100%;text-align:center;padding:10px;border:1.5px solid var(--border-soft);border-radius:8px;color:var(--body);text-decoration:none;font-size:14.5px;font-weight:500;margin-bottom:10px;} .share-btn:hover{border-color:var(--orange);color:var(--ink);} .card .helptext{font-size:14.5px;color:var(--lead);margin:0 0 16px;} .contact-btn{display:block;text-align:center;background:var(--navy-deep);color:#fff !important;padding:13px;border-radius:8px;font-weight:700;text-decoration:none;font-size:15px;} .toc a{display:block;font-size:14px;color:var(--body);text-decoration:none;padding:6px 0;border-bottom:1px solid var(--border-soft);} .toc a:hover{color:var(--orange);} .reg-box{background:var(--bg-soft);border:1px solid var(--border-soft);border-radius:10px;padding:20px 22px;margin:40px 0 8px;font-size:13px;color:var(--lead);line-height:1.65;} .reg-box strong{color:var(--ink);} .related{max-width:1100px;margin:20px auto 0;padding:36px 32px 0;} .related h3{font-family:var(--serif);font-size:24px;color:var(--ink);margin:0 0 20px;} .related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;} .rcard{border:1px solid var(--border-soft);border-radius:12px;padding:18px;text-decoration:none;display:block;transition:box-shadow .15s;} .rcard:hover{box-shadow:var(--shadow);} .rcard .rcat{display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--orange);background:var(--orange-soft);padding:4px 10px;border-radius:999px;margin-bottom:10px;} .rcard .rtitle{font-family:var(--sans);font-weight:700;font-size:15px;color:var(--ink);line-height:1.4;} footer{max-width:1100px;margin:56px auto 0;padding:32px 32px 40px;border-top:1px solid var(--border-soft);font-size:13.5px;color:var(--lead);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;} footer a{color:var(--lead);margin-right:16px;text-decoration:none;} footer a:hover{color:var(--orange);} @media (prefers-reduced-motion:reduce){*{transition:none !important;}} Money 'n' Wealth (https://www.moneynwealth.in/) Home (https://www.moneynwealth.in/) Wealth Solutions (https://www.moneynwealth.in/products-services) Planning Tools (https://www.moneynwealth.in/tools) Insights (https://www.moneynwealth.in/insights) Contact (https://www.moneynwealth.in/contact) Talk to Us (https://www.moneynwealth.in/contact) SIP PLANNING MONEY N WEALTH · INSIGHTS How to Build a ₹1 Crore Corpus: Step-by-Step SIP Guide Not luck, and not a huge salary — ₹1 crore is a math problem with time as the main variable. Here's exactly what that means per month, for your own timeline. 👤 Money n Wealth Team 📅 September 7, 2026 🕐 ~10 min read Building a ₹1 crore corpus is one of the most common financial goals among Indian investors — for retirement, a child's education, a home, or simple financial independence. It sounds like a number reserved for the fortunate. It isn't. With disciplined SIP investing and enough runway, it's realistic for most salaried professionals — the table below shows exactly what "enough runway" means in rupees per month. The Power of Compounding, With Real Numbers Compounding is what happens when your returns start earning their own returns. Warren Buffett called it the eighth wonder of the world for a reason — the effect is barely visible in year one and dramatic by year twenty. A flat ₹10,000 invested every month tells the story on its own: At 10% for 10 years: ₹20.66 lakh (invested: ₹12 lakh) At 12% for 15 years: ₹50.46 lakh (invested: ₹18 lakh) At 12% for 20 years: ₹1.00 crore (invested: ₹24 lakh) At 15% for 20 years: ₹1.52 crore (invested: ₹24 lakh) Notice that the last five years in each of the 20-year rows add more wealth than the first fifteen combined. That's the entire case for starting early sitting inside one bullet list. How Much You Need to Invest Monthly Assuming a 12% annual return, compounded monthly — a reasonable long-term assumption for a diversified equity portfolio, not a guarantee — here's the SIP required to reach ₹1 crore by timeline: Investment Period Monthly SIP Needed Total Invested Returns 5 years ₹1,21,200 ₹72.7 lakh ₹27.3 lakh 10 years ₹43,000 ₹51.6 lakh ₹48.4 lakh 15 years ₹19,800 ₹35.7 lakh ₹64.3 lakh 20 years ₹10,000 ₹24.0 lakh ₹76.0 lakh 25 years ₹5,270 ₹15.8 lakh ₹84.2 lakh 30 years ₹2,830 ₹10.2 lakh ₹89.8 lakh Illustrative at a constant 12% p.a., compounded monthly. Real markets don't move in a straight line — treat this as a planning anchor, not a forecast. The key insight: starting early doesn't just help — it changes the required monthly amount by more than 40x between a 5-year and a 30-year runway, for the identical ₹1 crore target. 📊 Required SIP Calculator Plug in your own target, timeline and expected return — this uses the same formula as the table above, so the numbers will match. Target Corpus (₹) Expected Return (% p.a.) Time Period (Years) Calculate Required Monthly SIP — Total You'll Invest — Wealth Gained — Assumes a constant monthly-compounded return for the full period, which real funds don't guarantee. For a full plan, use our Planning Tools (https://www.moneynwealth.in/tools) . The 5-Step Plan Step 1: Define Your Goal and Timeline Get specific: what is the ₹1 crore for, and when do you actually need it? A 3-year-old's higher education 15 years out needs a different monthly number than retirement 30 years away — see our Child Education Planning guide (https://www.moneynwealth.in/insights/child-education-planning-guide-india) if that's the goal you're sizing. Step 2: Get Your Financial Base Right First Before the first rupee goes into an equity SIP for this goal, confirm the basics are already in place: Emergency fund: 6 months of expenses, liquid — see our Emergency Fund guide (https://www.moneynwealth.in/insights/emergency-fund-guide-india) for where to actually park it. Insurance in place: term life cover (roughly 10–15x annual income) and health cover of at least ₹10 lakh — our Insurance Planning guide (https://www.moneynwealth.in/insights/insurance-planning-guide-india) covers sizing both. No high-interest debt: credit card dues and personal loans cost more than any SIP will earn you — see our Debt Management guide (https://www.moneynwealth.in/insights/debt-management-guide-india) . A real monthly surplus: confirmed after fixed expenses, not hoped for — our Budgeting guide (https://www.moneynwealth.in/insights/budgeting-guide-india) walks through the 50/30/20 split. Step 3: Choose the Right Fund Categories For a goal 10+ years out, equity mutual funds are the standard vehicle: Fund Category Risk Typical Return Range Suitability Large-cap (https://www.moneynwealth.in/insights/large-cap-funds) Moderate 10–12% Conservative investors Flexi-cap (https://www.moneynwealth.in/insights/flexi-cap-funds) Moderate 12–14% Most investors (commonly recommended as a core holding) Multi-cap (https://www.moneynwealth.in/insights/multi-cap-funds) High 13–15% Aggressive investors Mid-cap (https://www.moneynwealth.in/insights/mid-cap-funds) High 14–16% Experienced investors Small-cap (https://www.moneynwealth.in/insights/small-cap-funds) Very High 15–18% Very aggressive investors, longest horizons A commonly used starting split for most investors: roughly 60% flexi-cap, 30% large-cap, 10% mid-cap — adjusted for your own risk comfort and time horizon, not copied blindly. Step 4: Start the SIP and Stay Consistent Pick 2–3 funds — over-diversifying across ten schemes mostly just duplicates the same underlying stocks and makes tracking harder. Automate the debit for right after your salary lands, start with whatever amount you can commit to consistently, and increase it by roughly 10% every year as your income grows (a "step-up" SIP). The step-up alone can nearly double your outcome: Approach ₹15,000/month, 20 years, 12% p.a. Flat SIP (no increase) ₹1.50 crore Step-up SIP (+10% every year) ₹2.98 crore (₹1.03 crore invested) Step-up figures assume the 10% increase is applied at the start of each new year and the same 12% p.a. return throughout — illustrative only. Step 5: Review and Rebalance Annually Once a year, check whether your funds are still performing in line with their category, whether your risk profile or goal timeline has shifted, and whether you can push the SIP amount up further. That's it — this isn't a monthly NAV-watching exercise. SIP in Action: Three Real Scenarios Profile Monthly SIP Timeline Assumed Return Final Corpus 25-year-old, retiring at 60 ₹5,000 35 years 13% ₹4.26 crore 35-year-old, retiring at 60 ₹12,000 25 years 12% ₹2.28 crore 45-year-old, retiring at 60 ₹25,000 15 years 11% ₹1.15 crore The pattern that matters: the 25-year-old invests less than a fifth of what the 45-year-old does each month, yet ends up with the largest corpus by a wide margin — purely because of the extra 20 years compounding had to work with. Tax-Efficient Strategies to Get There Faster Use your 80C limit through ELSS first. ₹1.5 lakh a year into ELSS funds carries the shortest lock-in (3 years) of any 80C option, while still being a genuine equity investment toward this goal — see PPF vs ELSS vs SIP (https://www.moneynwealth.in/insights/ppf-vs-elss-vs-sip-which-tax-saving-investment-actually-wins-in-2026) for how it compares to the alternatives, and our full Tax Planning guide (https://www.moneynwealth.in/insights/tax-planning-guide-india) for the old-vs-new regime question that determines whether 80C even applies to you. Add NPS for the extra ₹50,000 deduction. Section 80CCD(1B) gives old-regime taxpayers a deduction beyond the 80C ceiling — our NPS vs Mutual Funds comparison (https://www.moneynwealth.in/insights/nps-vs-mutual-funds-complete-comparison-guide) covers how to size this alongside your equity SIPs. Harvest long-term gains within the exempt band. Equity fund LTCG up to ₹1.25 lakh a year is tax-free; gains above that are taxed at 12.5% (effective 23 July 2024, no indexation). Booking gains up to the exempt threshold each year and reinvesting resets your cost basis — a modest, legitimate way to trim future tax. Common Mistakes That Delay the Goal Starting too late. Waiting until 35 instead of 25 can mean needing 2–3x the monthly SIP for the same eventual corpus. Stopping SIPs during a downturn. Investors who paused during the March 2020 crash missed the recovery that followed; those who kept investing bought units at a steep discount and were meaningfully ahead within a couple of years. Markets have historically recovered over time, though every cycle plays out differently — the discipline of continuing, not a guarantee of any specific recovery speed, is the actual lesson. Switching funds too often. Equity funds need 3–5 years to show their true performance; frequent switching adds exit load, tax and opportunity cost on top of resetting that clock. Spreading across too many funds. Ten-plus schemes usually hold overlapping stocks without meaningfully reducing risk, while making the portfolio harder to track. Three to five is plenty for most people. Ignoring inflation. ₹1 crore twenty years from now won't buy what it buys today. At 6% inflation, consider targeting ₹1.5–2 crore for something closer to today's ₹1 crore in real terms. Not increasing the SIP as income grows. If your salary rises 10–15% a year and your SIP doesn't move, you're leaving a large part of the step-up advantage on the table — see the Step 4 comparison above. Action Plan: Start This Week Week 1–2: Complete your emergency fund if it isn't already, confirm term and health insurance are in place, and list every goal with its own timeline. Month 1: Choose 2–3 mutual funds (a flexi-cap plus large-cap combination is a reasonable, commonly used starting point), set up SIP auto-debit at whatever amount you can commit to, and start tracking through your fund house or a portfolio app. Month 2–12: Let the SIP run without interruption. Check the portfolio monthly at most — daily NAV-watching adds stress, not returns. Year 2 onward: Step up the SIP with every raise, do one annual review, and add mid-cap or small-cap exposure only if your risk comfort and timeline genuinely support it. Frequently Asked Questions Can I build ₹1 crore in 5 years? Only with a large monthly commitment — around ₹1.21 lakh/month at an assumed 12% return. For most people, a 15–20 year timeline is far more practical and requires a fraction of that monthly amount. What if the market crashes right after I start my SIP? Keep investing. A downturn means your fixed SIP amount buys more units at a lower price — it's the mechanism behind rupee-cost averaging, not a reason to stop. Should I invest as a lump sum or through an SIP? For most investors, an SIP is the more practical choice — it removes the pressure of timing the market and builds a consistent habit. If you do have a lump sum, spreading it across 6–12 tranches rather than deploying it all at once is a common way to reduce timing risk. Should I choose Direct or Regular mutual funds for this SIP? Direct plans do carry a lower expense ratio, and that gap compounds meaningfully over a 20-year SIP — see our full Direct vs Regular Mutual Funds comparison (https://www.moneynwealth.in/insights/direct-vs-regular-mutual-funds-what-the-higher-return-claim-leaves-out) for the exact math. But lower cost isn't automatically "better for you": a regular plan bundles ongoing advice and portfolio reviews, which has real value if you wouldn't otherwise rebalance or stay invested through a downturn on your own. Decide based on whether you'll actually do that management yourself, not on the expense ratio alone. Can I withdraw before reaching my goal? Yes — equity funds (other than ELSS) have no lock-in. But treat early withdrawal as a last resort, not a convenience; it's what your emergency fund exists for. Pulling from a long-term goal to cover a short-term need usually costs you the compounding years you can't get back. The formula, in full: start early, invest consistently, choose quality funds, stay invested through the noise, and increase your SIP every year. The best time to start was ten years ago. The next best time is today — talk to an advisor (https://www.moneynwealth.in/contact) if you want a plan sized to your own number. Regulatory Information: Money n Wealth (Predics Fintech Services Pvt Ltd) is regulated under SEBI's framework as an AMFI-registered Mutual Fund Distributor (ARN-121995) and an APMI-registered Portfolio Manager Distributor (APRN-07444). Mutual fund investments are subject to market risks; please read all scheme-related documents carefully. This article is for general informational and educational purposes only, does not constitute personalized investment or tax advice, and should not be the sole basis for any financial decision — please consult your advisor and review official scheme documents before investing. 📤 Share this article Twitter/X (https://twitter.com/intent/tweet?text=How%20to%20Build%20a%20%E2%82%B91%20Crore%20Corpus%3A%20Step-by-Step%20SIP%20Guide) LinkedIn (https://www.linkedin.com/sharing/share-offsite/) WhatsApp (https://wa.me/?text=How%20to%20Build%20a%20%E2%82%B91%20Crore%20Corpus%3A%20Step-by-Step%20SIP%20Guide) Need Help? Want a SIP plan built around your actual goal and timeline? Talk to our experts. Contact Us (https://www.moneynwealth.in/contact) Keep Reading SIP Planning SIP Planning: The Complete Guide to Systematic Investment Plans in India (https://www.moneynwealth.in/insights/sip-planning-guide-india) Mutual Fund PPF vs ELSS vs SIP: Which Tax-Saving Investment Actually Wins in 2026? (https://www.moneynwealth.in/insights/ppf-vs-elss-vs-sip-which-tax-saving-investment-actually-wins-in-2026) Mutual Fund Planning Direct vs Regular Mutual Funds: What the "Higher Return" Claim Leaves Out (https://www.moneynwealth.in/insights/direct-vs-regular-mutual-funds-what-the-higher-return-claim-leaves-out) Retirement Planning Retirement Planning in India: How Much Corpus You Need (https://www.moneynwealth.in/insights/retirement-planning-guide-india) Back to All Articles (https://www.moneynwealth.in/insights) Planning Tools (https://www.moneynwealth.in/tools) Taxation (https://www.moneynwealth.in/legal/taxation) © 2026 Predics Fintech Services Pvt Ltd. AMFI ARN-121995 · APMI APRN-07444. function calcA7(){ const target = parseFloat(document.getElementById('a7-target').value)||0; const annRet = parseFloat(document.getElementById('a7-ret').value)||0; const yrs = parseFloat(document.getElementById('a7-yrs').value)||0; const n = yrs*12; const r = annRet/12/100; const factor = r>0 ? (((Math.pow(1+r,n))-1)/r)*(1+r) : n; const requiredSip = factor>0 ? target/factor : 0; const invested = requiredSip*n; const gain = target-invested; const fmt = v => '₹' + Math.round(v).toLocaleString('en-IN'); document.getElementById('a7-sip').textContent = fmt(requiredSip) + '/mo'; document.getElementById('a7-invested').textContent = fmt(invested); document.getElementById('a7-gain').textContent = fmt(gain); document.getElementById('a7-result').classList.add('show'); }