EMI + SIP Calculators

EMI व SIP कैलकुलेटर (हिंदी)

/>

function fmt(x){
if (!isFinite(x)) return ‘0’;
return Number(x).toLocaleString(‘en-IN’,{maximumFractionDigits:2});
}

function calcEMI(){
const P = +document.getElementById(’emi_p’).value||0;
const annual = +document.getElementById(’emi_r’).value||0;
const nYears = +document.getElementById(’emi_n’).value||0;
const r = annual/12/100;
const n = Math.max(1, Math.round(nYears*12));
let emi=0,total=0,interest=0;
if(P>0){
emi = (r===0)?(P/n):(P*r*Math.pow(1+r,n))/(Math.pow(1+r,n)-1);
total = emi*n;
interest = total-P;
}
document.getElementById(’emi_out’).innerHTML =
`मासिक EMI: ₹${fmt(emi)}
कुल ब्याज: ₹${fmt(interest)}
कुल भुगतान: ₹${fmt(total)}`;
}

function calcSIP(){
const A = +document.getElementById(‘sip_m’).value||0;
const r = (+document.getElementById(‘sip_r’).value||0)/12/100;
const n = Math.max(1, Math.round((+document.getElementById(‘sip_y’).value||0)*12));
const fv = (r===0)?(A*n):A*((Math.pow(1+r,n)-1)/r)*(1+r);
const invested=A*n;
document.getElementById(‘sip_out’).innerHTML =
`भविष्य मूल्य: ₹${fmt(fv)}
कुल निवेश: ₹${fmt(invested)}
अनुमानित लाभ: ₹${fmt(fv-invested)}`;
}

function calcLump(){
const P = +document.getElementById(‘ls_p’).value||0;
const r = (+document.getElementById(‘ls_r’).value||0)/100;
const n = +document.getElementById(‘ls_y’).value||0;
const fv = P*Math.pow(1+r,n);
document.getElementById(‘ls_out’).innerHTML = `भविष्य मूल्य: ₹${fmt(fv)}`;
}

body{
font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
line-height:1.6;
margin:0 auto;
padding:16px;
max-width:1200px; /* increased width */
width:100%;
}
.card{
border:1px solid #e5e7eb;
border-radius:16px;
padding:16px;
margin:12px 0;
box-shadow:0 4px 12px rgba(0,0,0,.04);
}
h1{font-size:1.8rem;margin-top:0;text-align:center}
label{display:block;font-weight:600;margin:.25rem 0}
input{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:10px}
button{padding:10px 14px;border:0;border-radius:10px;cursor:pointer}

EMI व SIP कैलकुलेटर

EMI कैलकुलेटर




SIP कैलकुलेटर (मासिक निवेश)




लम्पसम कैलकुलेटर