curatedapi

Extra mortgage payment calculator

How much sooner a loan is paid off, and how much interest is saved, by paying extra each month or making one lump-sum payment.

The loan amount.
The annual interest rate.
The loan term in months.
Extra paid with every monthly payment.
A single extra payment.
The payment number the lump sum is made with (1 is the first payment).
More options: rounding and decimals
Precision and rounding
Rounding mode applied once to each result. Default half_even.
Round results to this many digits after the decimal point.

Examples

Example: 300,000 at 6.5% over 30 years with 200 extra a month

Regular payment
The agreed monthly payment.
1,896.20 exact
Months to pay off
Months until the loan is repaid with the extra payments.
277
Months saved
How many months sooner that is.
83
Interest without extra
Total interest on the agreed schedule.
382,636.71 exact
Interest with extra
Total interest with the extras.
279,186.52 exact
Interest saved
The difference.
103,450.19 exact
Total paid
Everything paid with the extras: principal and interest.
579,186.52 exact

Rounding: Half even, 2 decimal places. Calculator finance/extra-payments@1.

How it is calculated

each month: interest = balance × r, rounded; balance = balance + interest − (payment + extra); the last payment clears what is left

Runs a loan's schedule twice: once as agreed, and once with an extra amount on top of every payment, a single lump sum in a month you choose, or both. Extra money goes straight to the balance, so less interest builds up afterwards. The answer gives the new pay-off time and the interest saved.

  • Check that your lender applies extra payments to principal and charges no prepayment penalty.
  • Amounts are plain numbers in any single currency; no currency conversion is done.

References

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

POST /v1/calc/finance/extra-paymentsVersion 1
curl https://api.curatedapi.com/v1/calc/finance/extra-payments \
  -H "Authorization: Bearer $CURATEDAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "principal": "300000",
    "annual_rate_percent": "6.5",
    "term_months": 360,
    "extra_monthly_payment": "200"
  }'
The same call in Python
import os

import requests

payload = {
    "principal": "300000",
    "annual_rate_percent": "6.5",
    "term_months": 360,
    "extra_monthly_payment": "200",
}
response = requests.post(
    "https://api.curatedapi.com/v1/calc/finance/extra-payments",
    headers={"Authorization": f"Bearer {os.environ['CURATEDAPI_KEY']}"},
    json=payload,
    timeout=10,
)
print(response.json()["result"])
The same call in JavaScript
const payload = {
    "principal": "300000",
    "annual_rate_percent": "6.5",
    "term_months": 360,
    "extra_monthly_payment": "200",
};
const response = await fetch("https://api.curatedapi.com/v1/calc/finance/extra-payments", {
  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_extra_payments at https://mcp.curatedapi.com. Inputs, outputs and errors in the API reference.

Put it on your website

<div data-curatedapi-widget="finance/extra-payments" 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

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.