Mortgage Calculation Methodology 2026
Last updated: June 2, 2026 | Mortgage payment formula, amortization math, source checks, PMI rules, and privacy-first calculator-input handling
Quick Answer
Amortio calculates fixed-rate mortgage payments with the standard amortization formula: M = P [ r(1 + r)^n ] / [ (1 + r)^n - 1 ]. We use the same principal-and-interest math that lenders, spreadsheets, and financial calculators use, then layer in clearly labeled estimates for PMI, debt-to-income ratios, refinance break-even timing, taxes, insurance, and local housing context.
Mortgage-rate context on Amortio is tied to public sources such as Freddie Mac PMMS, Federal Reserve FRED series, U.S. Census housing data, and BLS or local market data where applicable. As of this May 23, 2026 review, the latest PMMS release was May 21, 2026: 6.51% for a 30-year fixed-rate mortgage and 5.85% for a 15-year fixed-rate mortgage. Calculator inputs stay client-side in your browser; Amortio does not receive or store your loan amount, income, debt, or scenario inputs.
May 2026 Source and Calculation Checkpoint
This table shows the current source checkpoint and a few repeatable test scenarios used to validate the calculator layer. The rate examples are benchmark math only, not lender quotes, APR offers, or approval guidance.
| Check | Source or assumption | Verification output | Relevant Amortio tool |
|---|---|---|---|
| Current national rate context | Freddie Mac PMMS, May 21, 2026; mirrored in FRED MORTGAGE30US | 30-year fixed: 6.51%; 15-year fixed: 5.85% | Mortgage rates by city |
| 30-year fixed payment formula | $400,000 principal, 6.51% annual rate, 360 monthly payments | $2,530.90 monthly principal and interest | Mortgage payment calculator |
| 15-year fixed comparison | $400,000 principal, 5.85% annual rate, 180 monthly payments | $3,343.10 monthly principal and interest | 15-year vs 30-year comparison |
| Extra payment sensitivity | $400,000, 30 years, 6.51%, plus $100/month applied to principal | About $64,088 interest saved and 38 payments removed | Extra payment calculator |
| PMI cancellation milestones | $400,000 home, 10% down, $360,000 starting loan, 6.51% 30-year schedule | 80% request threshold: $320,000 balance around month 95; 78% automatic threshold: $312,000 around month 109 | PMI calculator |
| Total monthly housing payment | CFPB Loan Estimate guidance separates principal and interest from taxes, insurance, escrow, mortgage insurance, and closing costs | Amortio labels principal and interest separately from PITI and total-cost estimates | Affordability calculator |
Overview
This document provides a comprehensive explanation of the mathematical formulas, computational methods, and data sources used by Amortio to generate loan amortization schedules, calculate monthly payments, estimate total interest costs, and produce all related financial outputs. Every calculation described here is implemented in our client-side JavaScript code, meaning all computation happens directly in your browser.
Our methodology is based on established financial mathematics as described in academic literature and used by financial institutions worldwide. We reference standard texts including Kellison's The Theory of Interest (Third Edition, Society of Actuaries), Broverman's Mathematics of Investment and Credit, and Fabozzi's Fixed Income Mathematics, as well as regulatory guidance from the Consumer Financial Protection Bureau (CFPB), the Federal Reserve, and the Government Accountability Office (GAO).
We believe that users who want to verify our calculations should have everything they need to do so. That is the purpose of this page.
The Standard Amortization Formula
The foundation of all Amortio loan calculations is the standard fixed-rate amortization formula, which computes the periodic payment required to fully repay a loan over a specified number of periods at a fixed interest rate. This formula is derived from the present value of an ordinary annuity and is universally used in consumer lending.
Monthly Payment Formula
The monthly payment (M) for a fixed-rate fully amortizing loan is calculated as:
Where:
- M = Monthly payment amount (principal + interest)
- P = Principal (original loan amount, which is the purchase price minus the down payment)
- r = Monthly interest rate (annual rate divided by 12, expressed as a decimal)
- n = Total number of monthly payments (loan term in years multiplied by 12)
This formula assumes equal monthly payments over the entire life of the loan, a fixed interest rate that does not change, and no additional fees or costs included in the payment calculation. It produces the exact payment amount required to reduce the loan balance to zero after the final payment.
Mathematical Derivation
The formula is derived from the present value of an ordinary annuity equation. The present value (PV) of a series of n equal payments of amount M, discounted at rate r per period, equals:
Since the present value of all payments must equal the original loan principal (P = PV), solving for M yields the standard amortization formula above. This derivation is found in every financial mathematics textbook and is the same formula used by banks, credit unions, and mortgage servicers to calculate loan payments.
Edge Case: Zero Interest Rate
When the interest rate is zero, the standard formula produces a division by zero. In this case, our calculator correctly defaults to the simple division: M = P / n. This is mathematically equivalent to the limit of the standard formula as r approaches zero and ensures accurate results for interest-free loans.
How We Generate Amortization Schedules
An amortization schedule is a period-by-period table showing how each payment is allocated between interest and principal, and the remaining balance after each payment. Our schedule generation follows the standard actuarial method:
For Each Payment Period (month k):
- Interest Payment (I_k): The interest portion equals the remaining balance from the previous period multiplied by the monthly interest rate. I_k = Balance_(k-1) x r. This reflects that interest accrues on the outstanding principal only.
- Principal Payment (P_k): The principal portion equals the total monthly payment minus the interest portion. P_k = M - I_k. This amount directly reduces the loan balance.
- Remaining Balance (Balance_k): The remaining balance equals the previous balance minus the principal payment. Balance_k = Balance_(k-1) - P_k.
As the loan progresses, the interest portion decreases and the principal portion increases, even though the total payment remains constant. This is because each payment reduces the outstanding balance, which in turn reduces the interest charged in subsequent periods. This characteristic amortization curve is fundamental to understanding how fixed-rate loans work.
Total Interest Calculation
The total interest paid over the life of the loan is calculated as:
This formula calculates total interest as the sum of all payments minus the original principal. Equivalently, it equals the sum of all interest portions (I_k) across all n periods. Both methods produce identical results, and our calculator uses both as a cross-check to ensure accuracy.
Rounding Precision
Financial calculations require careful handling of rounding. Our calculator uses full floating-point precision for intermediate calculations and rounds only the final displayed values to two decimal places (cents). The final payment in an amortization schedule is adjusted to exactly zero out the remaining balance, which may result in a final payment that differs by a few cents from the regular monthly payment. This is standard practice in the lending industry and reflects how actual loan servicers handle the final payment.
Extra Payment Calculations
Our Extra Payment Calculator models the impact of additional payments applied directly to principal reduction. The methodology is straightforward but produces significant results:
How Extra Payments Work
When an extra payment is made, the entire additional amount is applied to principal reduction (assuming no prepayment penalty, which our calculator notes as a consideration). The recalculated schedule proceeds as follows:
- The extra payment reduces the outstanding balance immediately.
- In the next period, interest is calculated on the reduced balance, resulting in a lower interest charge.
- Because the regular payment amount remains the same but less goes to interest, more goes to principal in every subsequent period.
- This compounding effect accelerates loan payoff and reduces total interest paid.
Our calculator supports monthly extra payments (a fixed additional amount added to each regular payment), one-time lump sum payments (applied to a specific month), and annual extra payments. For each scenario, the full amortization schedule is regenerated to show the exact impact on total interest savings and loan payoff date.
Interest Savings Calculation
Interest savings are computed as the difference between total interest paid under the original payment schedule and total interest paid under the extra payment schedule. We also calculate the number of months by which the loan is shortened, providing users with both the dollar savings and the time savings.
Mortgage Recast Calculations
Our Mortgage Recast Calculator estimates the payment change after a borrower makes a lump-sum principal payment and the servicer re-amortizes the reduced balance over the remaining term at the existing interest rate.
Recast Payment Formula
The calculator first subtracts the lump-sum principal payment from the current balance:
It then applies the standard fixed-rate payment formula to the recast balance using the same note rate and remaining number of monthly payments. Monthly savings equals the current principal-and-interest payment minus the new recast payment.
Interest and Payoff Context
Recasting lowers the required payment, but keeping the original payment after the lump-sum principal reduction usually produces faster payoff and greater interest savings. The calculator therefore shows both the lower-payment recast path and the extra-principal path where the borrower keeps paying the old amount.
Debt-to-Income and Affordability Methodology
Our DTI Calculator and Affordability Calculator use industry-standard ratios established by the major government-sponsored enterprises (GSEs) and federal housing agencies.
Debt-to-Income Ratio
The debt-to-income (DTI) ratio is calculated as:
Back-End DTI = (Housing Expenses + All Debt Payments) / Gross Monthly Income
Housing expenses include the mortgage payment (principal and interest), property taxes (estimated), homeowner's insurance (estimated), and PMI if applicable. The thresholds used in our calculator (28% front-end, 36% back-end for conventional loans) are based on Fannie Mae Selling Guide Section B3-6 and Freddie Mac Seller/Servicer Guide Chapter 5501. FHA guidelines allow higher ratios (31% front-end, 43% back-end) with compensating factors. We present both conventional and FHA thresholds.
Affordability Estimation
The affordability calculator works backward from income to determine the maximum loan amount a borrower can likely qualify for. Starting with the gross monthly income and the selected DTI threshold, it calculates the maximum allowable housing expense, subtracts estimated taxes, insurance, and PMI, and uses the resulting figure as the maximum monthly principal and interest payment. The standard amortization formula is then solved for P (principal) to determine the maximum loan amount, which, combined with the specified down payment, yields the maximum purchase price.
Private Mortgage Insurance (PMI) Methodology
Our PMI Calculator estimates monthly PMI costs based on the loan-to-value (LTV) ratio, which is calculated as:
PMI is typically required when LTV exceeds 80% (down payment less than 20%). Our PMI rate estimates are based on published industry averages ranging from 0.3% to 1.5% of the original loan amount annually, depending on LTV ratio and credit score tier. We source these ranges from the Urban Institute's Housing Finance Policy Center publications and Mortgage Bankers Association industry reports.
The calculator also estimates when PMI can be removed. Under the Homeowners Protection Act of 1998, borrower-paid PMI is generally eligible for borrower-requested cancellation at 80% of original value and automatic termination at 78% of original value when the loan is current, subject to loan type, payment history, and legal exceptions. Our calculator shows both milestones with the corresponding payment number and date.
Refinance Break-Even Methodology
Our Refinance Calculator determines whether refinancing is financially beneficial by computing the break-even period, which is the number of months until the cumulative savings from the lower rate exceed the costs of refinancing.
Simple Break-Even
This simplified method provides a quick estimate. However, our calculator also performs a month-by-month comparison of the original and refinanced loan schedules to show cumulative savings over time, accounting for the fact that refinancing resets the amortization clock and may change the total interest paid even if the monthly payment decreases.
Net Present Value Analysis
For a more accurate comparison, our calculator optionally applies net present value (NPV) analysis, discounting future savings to present dollars. This approach, recommended by the CFPB in their refinancing guidance materials, accounts for the time value of money and provides a more economically rigorous break-even calculation than the simple division method.
Rent vs. Buy Comparison Methodology
Our Rent vs. Buy Calculator compares the total cost of renting versus buying over a specified time horizon. The comparison accounts for:
- Buying costs: Down payment, closing costs (estimated at 2-5% of purchase price), monthly mortgage payments (principal + interest), property taxes, homeowner's insurance, PMI if applicable, maintenance costs (estimated at 1% of home value annually), and opportunity cost of the down payment.
- Renting costs: Monthly rent, renter's insurance, annual rent increases (user-configurable, default based on BLS CPI rent component).
- Building equity: The portion of each mortgage payment that goes to principal, plus projected home appreciation, represents wealth accumulation that has no equivalent in renting.
- Tax implications: While we do not provide tax advice, the calculator includes an optional field for the estimated tax benefit of mortgage interest deduction, clearly noting that the actual benefit depends on the user's tax situation and whether they itemize deductions.
The calculator produces a year-by-year comparison showing cumulative costs for each option and identifies the crossover point where buying becomes more financially advantageous than renting, if such a crossover exists within the analysis period.
Data Sources for Mortgage Rates
Amortio's mortgage rate data comes exclusively from authoritative, publicly available sources. We do not use proprietary or unverifiable rate data. Our primary sources are:
Federal Reserve Economic Data (FRED)
Operated by the Federal Reserve Bank of St. Louis, FRED provides access to hundreds of thousands of economic data series. For mortgage rates, we reference:
- MORTGAGE30US: 30-Year Fixed Rate Mortgage Average, sourced from Freddie Mac's PMMS
- MORTGAGE15US: 15-Year Fixed Rate Mortgage Average
- DGS10: 10-Year Treasury Constant Maturity Rate (used for spread analysis)
- FEDFUNDS: Federal Funds Effective Rate (for contextualizing rate environment)
Freddie Mac Primary Mortgage Market Survey (PMMS)
The PMMS has been published weekly since April 1971 and is the most widely cited source for current U.S. mortgage rates. Freddie Mac's current enhanced PMMS is based on loan application data submitted through Loan Product Advisor from lenders across the country, and it is published weekly on Thursdays. We reference the PMMS for current national average rates displayed on our rate pages and clearly attribute the data with the survey date.
U.S. Census Bureau and Bureau of Labor Statistics
Local housing data on our city and state pages, including median home values, median household incomes, and homeownership rates, comes from Census Bureau surveys (primarily the American Community Survey 1-Year and 5-Year estimates) and BLS metropolitan area data. We specify the survey vintage when presenting this data.
How City and State Pages Combine Data
Our mortgage rate city and state pages combine national-level rate data with localized housing market data. The rate shown on each page is the current national average (from PMMS), displayed alongside local context such as the median home value and median household income for that city or state. We explicitly state that the displayed rate is a national average and that rates available to individual borrowers depend on credit score, down payment, loan type, and lender.
This approach provides useful local context without fabricating localized rate data that we cannot verify. We believe this is more honest and helpful than sites that present pseudo-local rates derived from opaque proprietary models.
Calculator Accuracy and Limitations
Amortio's calculators are designed to produce results that match, to the cent, the output of industry-standard financial software for the same inputs and assumptions. However, users should be aware of the following limitations:
What Our Calculators Include
- Exact principal and interest calculations using the standard amortization formula
- Complete period-by-period amortization schedule with running balances
- Total interest computation verified by two independent methods
- Extra payment scenarios with accurate interest savings calculations
- PMI estimation based on published industry rate ranges
What Our Calculators Do Not Include
- Lender-specific fees: Origination fees, application fees, underwriting fees, and other charges vary by lender and are not included in our standard calculations.
- Escrow details: While we estimate property taxes and insurance for affordability calculations, actual escrow amounts depend on specific property tax assessments and insurance coverage chosen.
- Adjustable-rate mortgage resets: Our standard calculator assumes a fixed rate. ARM calculations beyond the initial fixed period require rate adjustment assumptions that introduce significant uncertainty.
- Mortgage points: The trade-off between paying discount points and receiving a lower rate is not modeled in our basic calculator, as it depends on individual financial circumstances and time horizons.
- Tax implications: We do not calculate individual tax benefits from mortgage interest deductions, as these depend on filing status, income level, and itemization decisions.
Accuracy Benchmarks
We regularly test our calculator outputs against results from:
- Federal Reserve published amortization tables
- CFPB mortgage calculator examples from their consumer resources
- Microsoft Excel PMT, IPMT, and PPMT financial functions
- HP 12C financial calculator (the industry standard for financial professionals)
- Published examples in financial mathematics textbooks
In all cases, our results match to within rounding precision (typically less than $0.01 difference attributable to rounding methodology differences between systems). Discrepancies exceeding $0.01 trigger an investigation and are resolved before the code is deployed.
Privacy: Client-Side Computation
Amortio calculator math runs in your web browser using JavaScript. Your calculator input values, including loan amounts, interest rates, income figures, and debt amounts, are not submitted to Amortio as part of the calculation workflow. Standard site analytics, consent, advertising, CDN, and security signals may still operate under our Privacy Policy and cookie practices.
- No server-side calculator processing: When you enter loan details and click "Calculate," the computation happens on your device using your browser's JavaScript engine. The calculator does not need a server request to compute the result.
- No saved calculator-input history: We do not maintain a database of your loan amounts, income, debt, or scenario outputs. Calculator inputs are not linked to an Amortio account because no account is required for the calculators.
- No accounts required: You do not need to create an account, provide an email address, or log in to use any Amortio calculator. This eliminates the possibility of linking calculations to personal identities.
- Verifiable architecture: Because our calculators run as client-side JavaScript, technically inclined users can verify our calculation logic by inspecting the source code in their browser's developer tools.
This approach limits calculator-input exposure because there is no Amortio account profile or saved calculation history containing your mortgage scenarios. For full details on analytics, advertising, cookies, consent, and other site-level processing, see our Privacy Policy.
How We Compare to Industry Tools
Users often ask how Amortio compares to calculators from Bankrate, NerdWallet, Zillow, and similar financial media sites. While all reputable mortgage calculators use the same underlying amortization formula, there are meaningful differences in implementation, business model, and transparency:
- Business Model: Most major financial media calculator sites monetize through lender referral commissions, affiliate links, and lead generation. This creates an inherent incentive to steer users toward specific products. Amortio's advertising-only model eliminates this conflict of interest.
- Methodology Transparency: Few competing sites publish their full calculation methodology. Amortio provides complete documentation of every formula, data source, and computational method on this page, enabling independent verification.
- Privacy: Many competing calculators collect user data through account creation, email capture, and server-side processing. Amortio keeps calculator math client-side and avoids saved calculator-input histories, while ordinary site-level analytics, advertising, consent, and security processing are covered by the Privacy Policy.
- Calculation Accuracy: All sites using the standard amortization formula will produce identical results for the same inputs. Where differences appear, they are typically due to different assumptions about taxes, insurance, and fees, which underscores the importance of understanding each calculator's assumptions (hence this methodology page).
- Extra Features: Some competing sites offer pre-qualification, rate shopping, and lender matching, which Amortio does not provide. These features require sharing personal financial data with lenders, which conflicts with our privacy-first approach. We focus exclusively on calculation tools and educational content.
References and Further Reading
The mathematical foundations and data sources referenced throughout this methodology page include:
Academic and Professional References
- Kellison, S.G. The Theory of Interest, Third Edition. Society of Actuaries / McGraw-Hill, 2009.
- Broverman, S.A. Mathematics of Investment and Credit, Seventh Edition. ACTEX Publications, 2017.
- Fabozzi, F.J. Fixed Income Mathematics: Analytical and Statistical Techniques, Fourth Edition. McGraw-Hill, 2006.
- Ross, S.M., Westerfield, R.W., and Jordan, B.D. Fundamentals of Corporate Finance, Thirteenth Edition. McGraw-Hill, 2022.
Government and Regulatory Sources
- Federal Reserve Bank of St. Louis, FRED Economic Data: fred.stlouisfed.org, including MORTGAGE30US
- Freddie Mac Primary Mortgage Market Survey: freddiemac.com/pmms
- Consumer Financial Protection Bureau (CFPB) Mortgage Resources: consumerfinance.gov
- CFPB Loan Estimate explainer: consumerfinance.gov/owning-a-home/loan-estimate
- CFPB PMI cancellation guidance: consumerfinance.gov/ask-cfpb/when-can-i-remove-private-mortgage-insurance-pmi-from-my-loan-en-202
- Fannie Mae Selling Guide, Section B3-6: Liability Assessment
- U.S. Census Bureau, American Community Survey: census.gov
- Bureau of Labor Statistics, Consumer Price Index: bls.gov/cpi
Industry Sources
- Urban Institute Housing Finance Policy Center: Analysis and research on mortgage markets and housing policy.
- Mortgage Bankers Association: Industry data on mortgage originations, delinquencies, and market trends.
- National Association of Realtors: Home sales data and market statistics.
Methodology FAQ
What formula does Amortio use for mortgage payments?
Amortio uses the standard fixed-rate amortization formula: M = P [ r(1 + r)^n ] / [ (1 + r)^n - 1 ]. For a $400,000 loan at 6.51% over 30 years, that produces a $2,530.90 principal-and-interest payment before taxes, insurance, PMI, HOA dues, or lender fees.
Does Amortio quote personalized mortgage rates?
No. Amortio is a calculator and research site, not a lender or broker. We use public benchmarks such as Freddie Mac PMMS and FRED for rate context, but users should compare real Loan Estimates from lenders before making a financing decision.
How does Amortio handle PMI cancellation estimates?
The PMI calculator estimates two milestones from the original amortization schedule: the 80% original-value balance where borrowers can generally request cancellation and the 78% original-value balance where borrower-paid PMI is generally scheduled for automatic termination if the loan is current. Actual servicer approval can depend on payment history, property value, liens, loan type, and investor rules.
Which page should I use for a specific mortgage question?
Use the mortgage payment calculator for principal and interest, the affordability calculator for DTI and PITI planning, the PMI calculator for mortgage insurance milestones, the refinance calculator for break-even timing, and the mortgage rates hub for city and state context.
Questions About Our Methodology
If you have questions about our calculation methods, believe you have found a discrepancy in our results, or want to understand a specific aspect of our methodology in greater detail, we welcome your inquiry.
- Email: [email protected]
- Contact Page: www.amortio.com/contact
- Editorial Guidelines: View our editorial standards
Transparency Commitment: If you can show us a scenario where our calculator produces a result that differs from the standard amortization formula by more than one cent, we want to know about it. Accuracy is our most important feature.