How every number is calculated. Formulas, assumptions and limits.
This page documents the exact math behind each CheckAfford calculator — the same formulas the code runs in your browser — plus the thresholds used for each verdict and what the tools do not account for.
Monthly loan payment (amortization)
Every fixed-rate loan on this site — car, mortgage, personal loan and interest-bearing BNPL plans — uses the standard annuity formula. With principal P, annual rate APR, periodic rate r = APR ÷ 12 and n monthly payments:
When the rate is 0%, the payment is simply P ÷ n. Total interest is M × n − P. To answer “how much can I borrow for a given payment?”, the calculators invert the formula: P = M × [1 − (1 + r)−n] ÷ r.
Example: $30,000 at 7% APR for 60 months → r = 0.5833% per month → M = $594.04. Total paid $35,642; total interest $5,642.
Debt-to-income ratio (DTI)
DTI is the measure lenders use to judge whether you can take on a new payment. CheckAfford computes two versions:
Back-end DTI = (housing + all other debt payments) ÷ gross monthly income
The verdicts use three reference points: 28% for housing (front-end), 36% for total debt, and 43% as an upper caution line. These are common guidelines, not universal rules: Fannie Mae, for example, caps manually underwritten loans at 36% (up to 45% with strong credit and reserves) and allows up to 50% through its automated system. Your lender's limit may be higher or lower.
Income is always gross (before taxes), because that is what lenders use. The BNPL calculator is the exception: it compares installments to your take-home paycheck, because that is the money that actually has to cover them.
What each tool computes
🚗 Auto Loan
Sales tax is applied to the price minus the trade-in value. Trade-in equity (trade-in value − amount still owed) reduces the loan; negative equity is added to the new loan, as dealers usually do. Tax and fees are either financed or paid upfront, depending on your choice.
The result is checked against the 20/4/10 rule: at least 20% down (cash plus positive equity), a term of 48 months or less, and car payment plus insurance at or below 10% of gross monthly income. A total DTI above 43% overrides everything with a red verdict. “Cost to own” adds insurance, fuel and maintenance to the payment.
🏠 Mortgage
Principal and interest use the amortization formula on price minus down payment. The housing payment adds the monthly property tax, insurance, HOA and PMI you enter. Front-end ratio = housing ÷ income; back-end ratio = (housing + other debts) ÷ income.
The 0–100 affordability score is a simple, transparent mapping of the back-end ratio: 95 at 20% or less; 95 − 2.5 points per point above 20% up to 35%; 57 − 4 points per point from 35% to 43%; and 25 − 1.5 points per point above 43% (minimum 0). It is a reading aid, not a credit score or an approval probability.
💵 Personal Loan
Many lenders deduct an origination fee from the money you receive while you repay the full amount. CheckAfford computes the payment on the full loan, then finds the real APR: the monthly rate i that makes the amount you actually receive equal to the present value of your payments, solved numerically (bisection) and multiplied by 12. Total cost = payments − amount received.
Example: $10,000 at 12% for 36 months with a 5% fee → you receive $9,500, pay $332.14 a month, and the real APR is about 15.6%, not 12%. Total cost: $2,457.
To compare with your current debt, the calculator simulates that balance month by month (interest = balance × APR ÷ 12, then your payment). If the payment does not cover the monthly interest, the debt is flagged as never paid off.
💳 Debt Payoff
A month-by-month simulation with a fixed total budget. Each month: interest is added to every open debt, every minimum is paid, and the money left over goes to one target debt. Avalanche targets the highest APR first (ties: smaller balance); snowball targets the smallest balance first (ties: higher APR). Because the budget stays fixed, the minimum of a paid-off debt automatically rolls into the next one.
A third scenario pays only the minimums, to show what the plan saves. Simulations stop at 600 months (50 years). Any debt whose minimum is below its monthly interest gets a warning, because it can never shrink on minimums alone.
📱 Buy Now, Pay Later
Each plan is turned into a dated schedule: equal installments of amount ÷ number of payments, or an annuity payment when the plan charges interest (52, 26 or 12 periods per year for weekly, biweekly or monthly plans). Every installment is assigned to the last payday on or before its due date, because that is the paycheck that has to cover it.
The verdict looks at the heaviest paycheck from the current one onward: up to 10% of take-home pay is green, 10–20% is yellow, and above 20% is red. These are CheckAfford's own guardrails for cash-flow risk, not a lender rule.
📊 DTI Calculator
Adds up every monthly debt payment you enter, divides by gross monthly income, and shows how much room is left before 36% and 43%. The “room at 36%” amount is converted into the largest loan it could support at the rate and term you choose, using the inverted payment formula above.
What the calculators do not do
- They do not check your credit or know the rate a lender will actually offer you.
- They assume fixed rates and fixed payments. Variable rates, promotional periods, prepayment penalties and late fees are not modeled.
- Property taxes, insurance and HOA dues are whatever you enter; they are not looked up and can change over time.
- Results are rounded for display and are estimates — not a loan offer, a pre-approval, or financial advice.
Privacy and corrections
All calculations run in your browser; the numbers you type are not sent to or stored by CheckAfford. The formulas on this page are reviewed whenever a calculator changes. If a result looks wrong, tell me — I will check the math and correct it.
Sources
Educational use only. CheckAfford is not a lender or a licensed financial advisor. Lending rules vary by lender and loan program; confirm the numbers with your lender before you commit.