Loan EMI calculator
Monthly instalment (EMI), total interest and an exact amortization schedule for a fixed-rate loan.
- Version 1
- Checked against 2 published values
- Free, no sign-up
Example: 250,000 at 7.5% over 20 years
| EMI The monthly payment, rounded to the precision. |
2,013.98 exact |
|---|---|
| Total paid Sum of all payments in the schedule. |
483,356.89 exact |
| Total interest Total paid minus the principal. |
233,356.89 exact |
| Last payment The final payment, which clears the balance exactly. |
2,015.67 exact |
| Number of payments Number of payments in the schedule. |
240 |
Rounding: Half even, 2 decimal places. Calculator finance/loan/emi@1.
How it is calculated
EMI = P·r·(1+r)^n / ((1+r)^n − 1), r = annual rate ÷ 12 ÷ 100 (EMI = P/n if r = 0)Computes the equated monthly instalment for a fixed-rate loan repaid in equal monthly payments, the total paid and the total interest. The schedule is computed the way lenders do it: each month's interest is rounded to the cent, every payment is the rounded EMI, and the final payment is adjusted so the balance ends at exactly zero. Totals are the sums of that schedule, so they always add up to the cent.
- Amounts are plain numbers in any single currency; no currency conversion is done.
- The EMI itself is computed exactly and rounded once. Each month's interest is rounded with the same precision and rounding mode (default: to the cent, half-even).
- Payments are made at the end of each month (ordinary annuity).
References
- CFPB Regulation Z Appendix H, form H-24(B) sample Loan Estimate: $162,000 at 3.875% for 30 years has a monthly principal and interest payment of $761.78
- Amortization calculator (annuity payment formula)
Results follow each calculator's documented rules and the sources listed. They are not financial, tax or legal advice. Check that the rules fit your case before you rely on a result. See the terms.
Use it from your code
curl https://api.curatedapi.com/v1/calc/finance/loan/emi \
-H "Authorization: Bearer $CURATEDAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"principal": "250000",
"annual_rate_percent": "7.5",
"term_months": 240
}'
The same call in Python
import os
import requests
payload = {
"principal": "250000",
"annual_rate_percent": "7.5",
"term_months": 240,
}
response = requests.post(
"https://api.curatedapi.com/v1/calc/finance/loan/emi",
headers={"Authorization": f"Bearer {os.environ['CURATEDAPI_KEY']}"},
json=payload,
timeout=10,
)
print(response.json()["result"])
The same call in JavaScript
const payload = {
"principal": "250000",
"annual_rate_percent": "7.5",
"term_months": 240,
};
const response = await fetch("https://api.curatedapi.com/v1/calc/finance/loan/emi", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CURATEDAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify(payload),
});
console.log((await response.json()).result);
MCP tool calc_finance_loan_emi at https://mcp.curatedapi.com.
Inputs, outputs and errors in the API reference.
Put it on your website
<div data-curatedapi-widget="finance/loan/emi" data-key="capi_public_…"></div>
<script src="https://widgets.curatedapi.com/v1/widget.js" async></script>
Use a public key registered for your site. Calculations are billed like API calls. How widgets work.
Related calculators
- Black-76 calculator for options on futures
- Black-Scholes option price and Greeks calculator
- Bond duration and convexity calculator
- Compound interest calculator
- EU and UK APRC calculator
- Extra mortgage payment calculator
- FHA mortgage insurance (MIP) calculator
- Implied volatility calculator
- Internal rate of return (IRR) calculator
- Mortgage affordability calculator
- Mortgage calculator
- Net present value (NPV) calculator
- Refinance break-even calculator
- Rent or buy calculator
- Return on investment (ROI) calculator
- Savings goal calculator
- Simple interest calculator
- US APR calculator (Truth in Lending, Regulation Z)
- USDA loan guarantee fee calculator
- VA funding fee calculator
- Yield to call calculator
Add this calculator to your website
Paste two lines into your page and your visitors get this calculator. Each use counts as one call on your plan, the same as the API.
Free for up to 1,000 uses a month. 50,000 uses a month cost $9.00 on the Starter plan.