How Money Anvil calculates

Every number on this site comes from a formula on this page. Last reviewed October 13, 2026.

Monthly payment

A fixed-rate loan's principal-and-interest payment is the standard annuity formula:

M = P × r ÷ (1 − (1 + r)−n)

where P is the amount borrowed, r the annual interest rate divided by 12, and n the number of monthly payments. At a 0% rate the payment is simply P ÷ n. The result is rounded to the nearest cent.

Amortization schedule and rounding

Each month, interest is the remaining balance times r, rounded to the cent, the way lenders do it. The rest of the payment reduces the balance, followed by any extra payment you've entered. Because of that monthly rounding, the very last payment is adjusted by a few cents (occasionally a dollar or so on long loans) so the balance ends at exactly zero. All amounts are kept in whole cents internally, so the schedule's rows always add up to the totals shown.

Taxes, insurance, HOA and PMI

Extra payments

Extra payments go straight to principal after that month's regular payment, and are capped so you never pay more than you owe. "Interest saved" and "time saved" compare the schedule with your extra payments against the same loan without them.

Home affordability

The affordability calculator applies the two debt-to-income limits lenders use, on gross (before-tax) monthly income:

The lower of the two is the most the full monthly housing payment may be. That payment is worked out exactly as in the mortgage calculator: principal and interest on the price less your down payment, plus tax, insurance, PMI (under 20% down) and HOA. Because it only ever rises with the price, the calculator searches whole-dollar prices by repeated halving and reports the highest one whose payment is at or under the limit.

Refinancing

The current loan's payment is the standard payment on your balance, rate and remaining months (years left × 12, rounded). The new loan is your balance, plus closing costs if you choose to add them to the loan, at the new rate and term. Both are amortized month by month as above.

Comparisons ignore the time value of money and any investment of the monthly savings, and assume you keep the new loan to the end.

Auto loans

The amount financed is the price plus sales tax and fees, minus the down payment and trade-in value, plus anything still owed on the trade-in. Sales tax is the rate times the taxable price, rounded to the cent; the taxable price is the price minus the trade-in by default (most states), or the full price if you choose. Fees are financed and not taxed. "Total cost of the car" is the price, sales tax, fees and all interest.

Personal loans and APR

An origination fee is the fee rate times the loan amount, rounded to the cent, and is taken out of what you receive. The APR is 12 × the monthly rate i that solves

received = Σk=1…n paymentk ÷ (1 + i)k

using the actual payments, including the slightly different last one. This is the actuarial method of the Truth in Lending Act (Regulation Z). The equation is solved by repeated halving to far beyond the two decimals shown. With no fee, the APR equals the interest rate.

Student loans

For unsubsidized loans, interest before repayment is simple interest: the amount borrowed × the rate ÷ 12, rounded to the cent, for each month until repayment. Servicers accrue it daily, so real figures differ by a few cents. If you let it build up, it is capitalized (added to the balance) when repayment starts; if you pay it, it's counted in the total paid. Subsidized loans accrue nothing before repayment. Repayment is a level-payment schedule over the term you choose.

Interest rates

The default rate is the latest weekly national average for a 30-year fixed mortgage from Freddie Mac's Primary Mortgage Market Survey, published through FRED (Federal Reserve Bank of St. Louis). It's updated when the site is rebuilt, never fetched by your browser. Averages are a starting point; your own rate depends on your credit, down payment, loan type and points.

The auto and personal loan calculators start from the Federal Reserve's average rates at commercial banks on 48-month new car loans and 24-month personal loans (G.19 Consumer Credit, via FRED), published quarterly. Student loan rates are set by law each year, so that calculator starts from an example rate you should replace with your own.

Data sources

Money Anvil isn't affiliated with or endorsed by Freddie Mac, the Federal Reserve or the Federal Reserve Bank of St. Louis.

What these calculators don't include

The results are estimates for planning, not financial advice or an offer of credit; see the terms of use. For a binding figure, use the Loan Estimate your lender gives you.