Loan Calculator — Monthly Payment & Schedule
Loan interest calculator: declining balance or equal monthly installments, total interest, full amortization schedule, grace period. Free, in-browser, with API.
Equal principal each month plus interest on the outstanding balance: the first payment is highest, then decreases; less total interest.
Enter amount, rate and term — results appear instantly.
For reference only — not a substitute for the lender's official schedule. Calculated in your browser — nothing is sent to the server or stored.
Developer API
Call this exact tool from your code over JSON REST — same result as on the web, authenticated with an API key.
Endpoint
POST https://sieutool.net/api/v1/tools/lai-vayAuth: send the X-API-Key header — create a free key in Account → API keys.
- Rate limit60 requests/min
- Daily quota1.000 requests/day
- PriceFree · up to 1 items/request
Request parameters
| Parameter | Type | Description |
|---|---|---|
amount * | string | Số tiền vay (đồng) |
rate * | string | Lãi suất (%/năm) |
months * | string | Kỳ hạn (tháng) |
method | "reducing" | "annuity" | Cách trả(default "reducing") |
grace | string | Ân hạn gốc (tháng) |
* required. Send JSON in the body, Content-Type: application/json.
Code examples
curl -X POST 'https://sieutool.net/api/v1/tools/lai-vay' \
-H 'Content-Type: application/json' \
-H "X-API-Key: $NXP_API_KEY" \
-d '{"amount":120000000,"rate":12,"months":12,"method":"annuity"}'Sample response
{
"ok": true,
"tool": "lai-vay",
"version": "1.0.0",
"data": {
"method": "annuity",
"amount": 120000000,
"rate": 12,
"months": 12,
"grace": 0,
"rows": [
{
"k": 1,
"begin": 120000000,
"principal": 9461855,
"interest": 1200000,
"payment": 10661855,
"end": 110538145
},
{
"k": 2,
"begin": 110538145,
"principal": 9556474,
"interest": 1105381,
"payment": 10661855,
"end": 100981671
},
{
"k": 3,
"begin": 100981671,
"principal": 9652038,
"interest": 1009817,
"payment": 10661855,
"end": 91329633
},
{
"k": 4,
"begin": 91329633,
"principal": 9748559,
"interest": 913296,
"payment": 10661855,
"end": 81581074
},
{
"k": 5,
"begin": 81581074,
"principal": 9846044,
"interest": 815811,
"payment": 10661855,
"end": 71735030
},
{
"k": 6,
"begin": 71735030,
"principal": 9944505,
"interest": 717350,
"payment": 10661855,
"end": 61790525
},
{
"k": 7,
"begin": 61790525,
"principal": 10043950,
"interest": 617905,
"payment": 10661855,
"end": 51746575
},
{
"k": 8,
"begin": 51746575,
"principal": 10144389,
"interest": 517466,
"payment": 10661855,
"end": 41602186
},
{
"k": 9,
"begin": 41602186,
"principal": 10245833,
"interest": 416022,
"payment": 10661855,
"end": 31356353
},
{
"k": 10,
"begin": 31356353,
"principal": 10348291,
"interest": 313564,
"payment": 10661855,
"end": 21008062
},
{
"k": 11,
"begin": 21008062,
"principal": 10451774,
"interest": 210081,
"payment": 10661855,
"end": 10556288
},
{
"k": 12,
"begin": 10556288,
"principal": 10556288,
"interest": 105563,
"payment": 10661851,
"end": 0
}
],
"total_interest": 7942256,
"total_payment": 127942256,
"first_payment": 10661855,
"last_payment": 10661851,
"max_payment": 10661855,
"monthly_rate": 0.01
}
}Try it (live call)
Main error codes
| HTTP | code | Meaning |
|---|---|---|
| 400 | BAD_INPUT / NO_INPUT / TOO_MANY_UNITS / BAD_NUMBER… | Invalid input — the message names the field |
| 401 | MISSING_API_KEY / INVALID_API_KEY / REVOKED_API_KEY | Missing, invalid or revoked API key |
| 429 | RATE_LIMITED / IP_RATE_LIMITED | Per-minute rate limit exceeded — wait for Retry-After |
| 429 | DAILY_QUOTA_EXCEEDED | Daily quota used up — the upgrade field suggests a paid plan |
| 429 | CLUSTER_QUOTA_EXCEEDED | Linked accounts (same device/network) used up the daily quota — the free quota is shared across the group, not multiplied per account |
| 503 | SERVER_BUSY / TOOL_BUSY / API_DISABLED | Server under heavy load or API paused — wait for Retry-After |
Every response carries X-RateLimit-Remaining / X-RateLimit-Remaining-Day; 429/503 errors include Retry-After (seconds).
How to use
Calculate a bank loan (mortgage, car, personal loan): enter the amount, annual rate and term to see the monthly payment, total interest and a month-by-month repayment schedule. Supports the two common methods in Vietnam — declining balance with equal principal and equal monthly installments (annuity) — plus a principal grace period. Everything runs in your browser.
- Enter the loan amount, annual interest rate (%) and term in months — or click Try an example (500 million VND, 9%/year, 20 years).
- Choose a method: Declining balance (equal principal, payments shrink each month) or Equal installments (same payment every month). If the bank gives a principal grace period, enter the interest-only months.
- Read the summary — first and last payment, total interest, total repaid — and the monthly schedule table.
- Click Copy for the summary or Download CSV to open the schedule in Excel/Google Sheets.
Frequently asked questions
- For reference only — not a substitute for the lender's official repayment schedule.
Related tools
Vietnam Personal Income Tax Calculator 2026
Calculate Vietnam personal income tax on salary for 2026: 15.5M relief, 6.2M per dependant, 5-bracket progressive scale, per-bracket breakdown. Free, with API.
2 runs
Vietnam Gross to Net Salary Calculator 2026
Convert Vietnam salary Gross ↔ Net for 2026: social/health/unemployment insurance, 5-bracket PIT, 15.5M + 6.2M/dependant relief, employer cost. Free, with API.
PDF to image — convert PDF pages to JPG or PNG online
Convert each PDF page into a sharp JPG, PNG or WebP image (72–300 DPI), pick the pages you need, download one by one or as a ZIP. The PDF never leaves your browser. Free.
23 runs



