Loan Calculator

Estimate payments, interest, and total repayment with level payment or equal principal methods

01

Loan details

Enter the principal, fixed annual rate, term, and repayment method

Amounts and rates are calculated only in your browser

02

Repayment estimate

Results use a fixed rate and whole months

Monthly payment¥0.00
Loan principal¥0.00
Total interest¥0.00
Total repayment¥0.00
Payment periods0

A loan calculator answers a practical question: given a principal, a fixed annual rate, and a term in years, what is the estimated monthly payment, total interest, and total repayment? Yaya Tools’ free mortgage payment calculator (and general amortizing loan calculator) runs entirely in your browser. Enter loan amount, annual rate (%), years, and repayment method—equal payment (annuity / 等额本息) or equal principal (等额本金)—then read monthly payment (or first-month payment), interest, total, and period count instantly.

This page is useful when you want a quick loan payment estimate before comparing offers, when you need to see equal principal vs equal payment side by side on the same inputs, or when you are checking a personal loan, auto loan, or home mortgage under a fixed-rate assumption. Results are mathematical estimates only. They do not include fees, insurance, taxes, prepayment, floating rates, or lender-specific rounding rules.

What is a loan calculator?

A loan calculator estimates the cash flow of an amortizing loan: each month you repay part of the principal and pay interest on the remaining balance until the loan is cleared. Unlike a simple “interest only” sketch, an amortizing schedule ties payment size to both the rate and the number of months.

People typically open a loan calculator or mortgage payment calculator for three planning tasks:

  • Monthly affordability — “If I borrow $500,000 at 4.2% for 30 years, what is a plausible monthly payment?”
  • Interest cost — “How much total interest do I pay over the full term at this fixed rate?”
  • Method comparison — “Does equal payment or equal principal cost less interest on the same amount, rate, and years?”

Yaya Tools implements two common Chinese and international repayment styles under one roof. Equal payment (annuity / 等额本息) keeps every monthly installment the same; early months are interest-heavy and later months are principal-heavy. Equal principal (等额本金) repays the same principal each month, so the payment starts higher and declines as the balance shrinks. The on-page display formats amounts in a ¥-style currency layout; the underlying math is currency-agnostic, so you can think in USD, EUR, or any other unit as long as inputs stay consistent.

Because months, rates, and methods interact, a dedicated amortizing loan calculator is safer than ad-hoc spreadsheet formulas that mix annual rates with incomplete month counts. The tool also enforces a practical constraint: the loan length in years must map to a whole number of months after rounding, so you never silently fractionalize a half-finished period.

Disclaimer: every result is an estimate under a fixed nominal annual rate. Real contracts may charge origination fees, require insurance, adjust rates, allow prepayment, or apply bank-specific day-count and rounding conventions. Use this page for education and rough planning—not as personalized financial, tax, or lending advice.

How to use this loan calculator

Follow these steps on the loan calculator page:

  1. Enter loan amount — the principal you borrow (must be greater than zero). Example default: 500000.
  2. Enter annual rate (%) — the fixed nominal annual interest rate as a percent, not a decimal. Example: 4.2 means 4.2% per year.
  3. Enter loan years — the term in years. Fractional years are allowed only when they still convert to a complete month count (see below).
  4. Choose repayment method:
    • Equal payment (annuity / 等额本息) — one fixed monthly installment for every period (default)
    • Equal principal (等额本金) — same principal each month; payment declines; the UI highlights the first-month payment and also notes the last-month amount
  5. Read the results — payment (or first-month payment), principal, total interest, repayment total, and number of months update as you type. Click Reset example to restore the sample inputs (500000, 4.2%, 30 years, equal payment).

Period completeness rule: the tool computes months = round(years × 12) and requires that months ÷ 12 still equals your entered years (within a tiny floating-point tolerance). Whole years and clean month fractions that round cleanly work; a horizon that cannot map to complete months will show an error asking for a term that converts to full months.

What you see for equal principal: the primary payment figure is the first month (highest). A detail line also shows the last-month payment so you can see how far the installment falls by the end of the term.

Privacy: amount, rate, years, and method are calculated only in your local browser. Nothing is sent to a Yaya Tools server for this calculation.

Related planning tools: to project how savings grow instead of how debt amortizes, try the compound interest calculator. To measure return after you already know starting and ending values, use the ROI calculator. For quick percent-of / percent-change checks without a full amortization model, open the percentage calculator.

Loan payment formulas (both methods)

The Yaya Tools calculator uses the formulas below. They match the live page logic exactly.

Symbols

  • A = loan amount (principal)
  • R% = annual rate as a percent
  • t = years
  • n = number of months
  • r = monthly rate
  • P = monthly payment (equal payment) or first-month payment (equal principal)

Month count and monthly rate

n = round(t × 12)
r = (R% ÷ 100) ÷ 12

n must satisfy n ÷ 12 ≈ t. If it does not, the calculator rejects the input instead of inventing a partial month. The annual percent is first converted to a decimal (R% ÷ 100), then divided by 12 for the monthly rate.

Method 1: Equal payment (annuity / 等额本息)

When the monthly rate is zero:

P = A ÷ n
Total repayment = P × n

Otherwise (standard amortizing annuity):

P = A × r × (1 + r)^n ÷ [ (1 + r)^n − 1 ]
Total repayment = P × n

Every month you pay the same P. Interest each month is r × remaining balance; the rest of P reduces principal. This is the classic fixed installment used by many mortgage payment calculator tools worldwide.

Method 2: Equal principal (等额本金)

Monthly principal = A ÷ n
First payment = monthly principal + A × r
Last payment  = monthly principal + monthly principal × r
Total repayment = A + r × A × (n + 1) ÷ 2

Each month you repay the same slice of principal. Interest declines with the balance, so installments fall from first payment to last payment. The UI shows the first-month payment as the primary figure and reports first/last amounts in the detail line.

Interest shown on the page

Interest = Total repayment − A

That identity holds for both methods. Lower total repayment means lower interest for the same principal.

Equal principal vs equal payment (quick contrast)

Topic Equal payment (annuity) Equal principal
Monthly installment Fixed every month Starts high, declines
Early cash flow Lower first payment (usually) Higher first payment
Total interest (same A, r, n) Higher Lower
UI primary payment Monthly payment First-month payment

Neither method is universally “better.” Equal payment smooths the monthly budget; equal principal usually cuts total interest if you can afford the heavier early payments. Always compare both on the same amount, rate, and years before deciding.

Worked examples

The examples below use the same arithmetic as the tool. Displayed money values are rounded to two decimal places for readability; the page shows ¥-style formatting while these walkthroughs use $ for general illustration.

Example 1: 30-year equal payment mortgage (tool defaults)

Inputs: amount $500,000, annual rate 4.2%, years 30, method equal payment.

Step Calculation Result
Months (n) round(30 × 12) 360
Monthly rate (r) 0.042 ÷ 12 0.35% per month
Monthly payment (P) A × r × (1+r)^n ÷ [(1+r)^n − 1] $2,445.09
Total repayment 2445.09 × 360 $880,230.91
Interest 880230.91 − 500000 $380,230.91

This is a typical mortgage payment calculator scenario: a long amortizing term with a fixed installment. Over three decades at 4.2%, estimated interest is a large share of total repayment even though each monthly bill stays constant.

Example 2: Same loan under equal principal

Inputs: amount $500,000, annual rate 4.2%, years 30, method equal principal.

Step Calculation Result
Months (n) 360 360
Monthly principal 500000 ÷ 360 $1,388.89
First payment 1388.89 + 500000 × r $3,138.89
Last payment 1388.89 + 1388.89 × r $1,393.75
Total repayment A + r × A × (n+1) ÷ 2 $815,875.00
Interest 815875 − 500000 $315,875.00

Compared with Example 1 on identical inputs, equal principal lowers estimated interest by about $64,356 but raises the opening payment from roughly $2,445 to $3,139. That is the core trade-off behind equal principal vs equal payment.

Example 3: 15-year personal loan, equal payment

Inputs: amount $200,000, annual rate 3.5%, years 15, method equal payment.

Step Calculation Result
Months (n) round(15 × 12) 180
Monthly rate (r) 0.035 ÷ 12 ≈ 0.291667%
Monthly payment (P) annuity formula $1,429.77
Total repayment 1429.77 × 180 $257,357.71
Interest 257357.71 − 200000 $57,357.71

Shortening the term (and often lowering the rate on a personal loan versus a long mortgage) shrinks total interest dramatically relative to a 30-year schedule—even when the monthly installment is still material.

Example 4: Two-year equal principal auto-style loan

Inputs: amount $120,000, annual rate 6%, years 2, method equal principal.

Step Calculation Result
Months (n) round(2 × 12) 24
Monthly principal 120000 ÷ 24 $5,000.00
First payment 5000 + 120000 × 0.005 $5,600.00
Last payment 5000 + 5000 × 0.005 $5,025.00
Total repayment A + r × A × (n+1) ÷ 2 $127,500.00
Interest 127500 − 120000 $7,500.00

On a short term, first and last payments are close together because the balance shrinks quickly. The UI still surfaces the first-month figure as the headline payment.

Example 5: Zero interest rate (equal payment)

Inputs: amount $120,000, annual rate 0%, years 2, method equal payment.

Step Calculation Result
Months (n) 24 24
Monthly payment A ÷ n (zero-rate branch) $5,000.00
Total repayment 5000 × 24 $120,000.00
Interest 120000 − 120000 $0.00

When the rate is zero, the tool correctly skips the annuity formula (which would divide by zero) and splits principal evenly across months. Total repayment equals the loan amount.

Common mistakes

Avoid these errors when interpreting any loan calculator or amortizing loan calculator result—including this one.

  1. Entering the rate as a decimal instead of a percent
    The field expects 4.2 for 4.2%, not 0.042. Typing 0.042 would be treated as a 0.042% annual rate and drastically understate interest.

  2. Confusing equal payment with equal principal
    Equal payment keeps the installment flat; equal principal front-loads cash flow and usually reduces total interest. Comparing only the first payment (or only total interest) without naming the method leads to wrong conclusions about equal principal vs equal payment.

  3. Ignoring the complete-month rule
    Years must map to whole months after round(years × 12). An awkward fractional horizon can fail validation. Adjust years so the term lines up with full months.

  4. Treating the estimate as an APR that already includes fees
    This page models principal and a fixed nominal annual rate only. Origination fees, insurance, taxes, and lender points are not included.

  5. Assuming floating or adjustable rates stay fixed
    The calculator holds one rate for every month. If your real loan resets or floats, re-run the tool when the rate assumption changes—do not treat one run as a lifetime guarantee.

  6. Forgetting that equal principal UI shows the first month
    The headline payment under equal principal is the opening (highest) installment, not an average month. Budget for that peak, not only for later lower payments.

  7. Mixing currencies or units across inputs
    Display uses ¥-style formatting, but the math is unit-agnostic. Enter amount and think about payment in the same currency throughout.

  8. Using the tool for prepayment or early payoff scenarios
    Prepayment, refinance, and balloon schedules are outside the model. The formulas assume you make every scheduled payment until month n.

  9. Comparing two offers without holding amount, rate, years, and method constant
    Changing several variables at once hides which lever moved the payment. Change one input at a time when you stress-test affordability.

Sources and methodology

The equal-payment result uses the standard fixed-rate amortization formula. The U.S. Consumer Financial Protection Bureau explains that fixed mortgage principal-and-interest payments depend on loan amount, term, and interest rate, and that the total bill may also include taxes and insurance; see How do mortgage lenders calculate monthly payments?. OpenStax provides the corresponding loan amortization formula and monthly-rate method.

These references support the amortization math only. A lender’s APR, disclosures, fees, escrow, day-count rules, rate changes, and rounding can produce different contractual amounts. Compare the calculator with the lender’s official disclosures before making a borrowing decision.

Frequently asked questions

What is a loan calculator used for?

It estimates monthly payment (or first-month payment), total interest, total repayment, and period count from a loan amount, fixed annual rate, term in years, and repayment method. People use it for mortgages, personal loans, and auto-style amortizing loans under a fixed-rate assumption.

How does this mortgage payment calculator work?

You enter amount, annual percent rate, years, and method. The tool converts years to months, derives a monthly rate, then applies either the equal-payment annuity formula or the equal-principal schedule. Results update locally in the browser.

What is an amortizing loan calculator?

An amortizing loan calculator models loans that are paid down over time through regular installments that cover interest and reduce principal until the balance reaches zero. Both methods on this page are amortizing schedules.

What is the difference between equal principal vs equal payment?

Equal payment (annuity / 等额本息) uses one fixed installment every month. Equal principal (等额本金) repays the same principal each month, so payments decline and total interest is typically lower for the same amount, rate, and term.

Which method has the lower first payment?

Usually equal payment. Equal principal’s first payment includes interest on the full original balance plus a full monthly principal slice, so it often starts higher.

Which method usually has lower total interest?

Equal principal, when amount, rate, and months are identical, because principal declines faster in the early months and less interest accrues overall.

How is the monthly rate calculated?

monthlyRate = (annualRate ÷ 100) ÷ 12. The annual field is a percent; the tool converts it to a decimal, then to a monthly rate.

Why must years map to complete months?

The calculator uses months = round(years × 12) and requires that those months still represent the same years. That prevents silent half-month math and keeps the period count unambiguous.

What happens if the annual rate is 0%?

Under equal payment, each month is simply amount ÷ months, and interest is zero. Under equal principal, first and last payments collapse toward the same monthly principal amount because there is no interest component.

Does the tool include fees, insurance, prepayment, or floating rates?

No. Results are fixed-rate mathematical estimates only. They exclude fees, insurance, taxes, prepayment, rate resets, and lender-specific rounding or day-count rules.

Why does the interface show ¥ while examples use dollars?

Display formatting uses a ¥-style currency presentation in the UI. The formulas are unit-agnostic. Enter amounts in whatever currency you are planning in and keep all inputs in the same unit.

Are my inputs uploaded to a server?

No. Calculations run locally in your browser. Yaya Tools does not receive your loan amount, rate, years, or method from this page.

What does the equal principal result show as the main payment?

The first-month payment. A detail line also reports the last-month payment so you can see the decline across the term.

How do I compare two loan offers fairly?

Keep the same amount and years when possible, enter each offer’s rate, and run both equal payment and equal principal if both methods are available. Compare monthly cash flow and total interest—not just one number. Short terms (for example 0.5 or 2 years) work as long as years map to complete months after rounding.

How does this relate to savings growth or ROI checks?

Loan math estimates repayment cost. For growth of a lump sum with optional contributions, use the compound interest calculator. For return percentage from known start and end values, use the ROI calculator. For standalone percentage arithmetic, use the percentage calculator.


Use the Yaya Tools loan calculator whenever you need a clear, private mortgage payment calculator or amortizing loan calculator estimate—whether you are checking a fixed monthly installment, comparing equal principal vs equal payment, or stress-testing a shorter personal loan term. Enter amount, annual rate, years, and method, then treat the result as a planning estimate, not a binding quote from a lender.