Mortgage affordability calculator and formula
Lenders cap total monthly debt at a share of gross pay. On $9,000 a month with $650 of other debts and $500 of tax and insurance, a 43 percent rule leaves $2,720.00 for principal and interest and lends $430,333.43 over 30 years at 6.5 percent. A 28 percent housing test stops at $319,585.86. Ceilings, not targets.
Ceiling once both tests are applied
$319,585.86
A price of $379,585.86 with $60,000.00 down. The 28% housing test is the binding one on these numbers. It is the most the rules permit, not the loan to take.
- Total debt allowed at 43%
- $3,870.00
- Housing budget, other debts out
- $3,220.00
- Principal and interest budget
- $2,720.00
- Total debt test at 43% lends
- $430,333.43
- Housing test at 28% of income lends
- $319,585.86
- Binding ceiling, the lower of the two
- $319,585.86
Before tax and deductions, which is what a lender uses.
Car loans, student loans, card minimums, support orders.
The note rate, divided by 12 here. Not the APR, which folds in fees.
Property tax, homeowners insurance and any association dues.
Added to the loan at the end, so it buys price rather than borrowing power.
The formula
is the lender's debt-to-income limit as a decimal, gross monthly income, the other monthly debt payments and monthly tax and insurance. What survives those subtractions is the budget for principal and interest, and the fraction turns that budget into a loan size at period rate over payments.
What this calculator works out
This is the debt-to-income rule run backwards. Instead of asking what ratio a payment produces, it starts from the ratio a lender will accept and asks how large a loan fits inside it.
Enter gross monthly income, the other debt payments a lender will count, the rate and term, the limit your lender works to, what property tax and insurance cost each month, and the cash you have for a deposit. The chain runs income to a total debt budget, to a housing budget, to a principal and interest budget, and finally to the loan that budget supports and the price it buys.
It opens on the inputs of the first worked example below. On $9,000 a month with $650 of other debts and $500 of monthly tax and insurance, a 43 percent total debt limit supports a loan of $430,333.43 over 30 years at 6.5 percent. The 28 percent housing test described in the next section runs alongside it and stops at $319,585.86, and because both tests have to pass, that smaller figure is the one the calculator leads with: a price of $379,585.86 with $60,000 down rather than the $490,333.43 the total debt test on its own would have reached.
Read every one of those figures as a ceiling. The largest loan a rule permits is a different question from the largest loan a person should take, and the two answers are rarely the same number.
Front-end against back-end
United States underwriting applies two debt-to-income tests, and both get called DTI, which is why people quote one and mean the other.
The back-end ratio counts every required monthly payment: the proposed housing payment plus car loans, student loans, card minimums, support orders and anything you co-signed. That is the test this calculator runs from the limit you pick, which is why other debts are an input at all.
The front-end ratio counts housing on its own, as a share of gross pay. A long-standing rule of thumb in the United States pairs a 28 percent front-end test with a 36 percent back-end test. The debt-to-income calculator works both ratios forwards from payments you already have.
Both tests have to pass, so the binding one is whichever gives the smaller answer. The second worked example runs a 28 percent front-end rule against the same $9,000 of income and stops at a loan of $319,585.86, well under the $430,333.43 the back-end test allowed. An applicant with almost no other debt is often capped by the housing test, while an applicant carrying a car loan and student loans is usually capped by the total debt test.
The limits themselves are set by the lender and by the loan program behind the mortgage. They differ between programs, they get revised, and an automated underwriting decision can sit above the number a loan officer quotes you. Use the limit your lender actually applies rather than one copied out of an article.
The pairing moves as well. The 28 and 36 pair belongs together as a rule of thumb, government-backed programs publish their own pair, and some automated underwriting judges the total debt figure on its own without applying a separate housing test at all. The calculator above runs the 28 percent housing test next to whichever total debt limit you pick, which makes it a useful second reading rather than a rule your lender is bound to apply.
Tax and insurance come out of the same budget
A United States mortgage payment is usually quoted as PITI: principal, interest, taxes and insurance. The lender's ratio is applied to the whole of it, and the servicer often collects all four in one bill through an escrow account. Only the first two are the loan.
That is why tax and insurance are subtracted before the loan size is worked out. In the first example, $3,220.00 of housing budget becomes $2,720.00 of principal and interest once $500 of tax and insurance comes out, and it is the $2,720.00 that gets turned into a loan. Every extra dollar of tax or insurance is a dollar of borrowing power gone, at roughly 158 dollars of loan for each dollar of monthly payment on a 30 year loan at 6.5 percent.
Homeowners association dues belong in the same subtraction, and so does mortgage insurance when the deposit is small enough for a lender to require it. Property tax rates vary by state and by county, and insurance premiums vary more between two addresses than most buyers expect, so an escrow figure borrowed from a listing in another county is not a figure to plan with. Get a quote for the actual property.
There is a loop in this worth watching. Tax and insurance scale with the property, but the figure you type is fixed while the answer moves, so a ceiling that lands well above the house whose escrow you quoted is not yet consistent with itself. Enter the escrow for a property near the price the tool returns, then run it again and let the two settle.
The part of the payment that clears the debt rather than paying for the use of the money is the principal, and the way that split moves over the years is how amortisation works.
What a percentage point on the rate does to the ceiling
The budget side of this calculation comes from income and debts. The rate has no effect on it at all. What the rate changes is how much loan a fixed monthly budget buys, and that link is stronger than most buyers expect.
The third worked example moves the rate from 6.5 percent to 7.5 percent and changes nothing else. The same $2,720.00 a month borrows $389,007.95 instead of $430,333.43, about 9.6 percent less. The price ceiling falls by a smaller share, from $490,333.43 to $449,007.95, about 8.4 percent, because the $60,000 of deposit does not shrink when the rate moves. No income was lost and no debt was added. The rate did all of it.
Percentage point, not point. On a mortgage a point already means something else: one point is a fee of one percent of the loan, paid at closing, usually to buy the rate down. A move from 6.5 to 7.5 is a hundred basis points, and it is worth keeping the two senses apart when a lender quotes both to you in the same sentence.
Which rate goes in the box matters as much as its size. The calculation wants the note rate on the loan and divides it by 12, so it is a nominal annual rate quoted with monthly compounding. Two neighbouring numbers are the wrong ones. A Truth in Lending APR, the disclosure figure a United States lender has to show, folds origination fees and mortgage insurance into one annual rate and so sits above the note rate: a quarter of a percentage point of spread, which is ordinary, takes about 2.5 percent off the ceiling. An effective annual rate is wrong in the same direction, because 6.5 percent compounded monthly compounds up to 6.70 percent a year, and entering 6.70 would cut the ceiling by about 2 percent. Neither slip announces itself, because both return a perfectly plausible number.
Two things follow. An affordability figure has a shelf life measured in weeks, so a number from three months ago is not the number you have now. And the arithmetic runs the other way with equal force: a rate cut lifts the ceiling without anyone earning a cent more, which is why a market can feel suddenly cheaper when nothing about the houses has changed.
A longer term lifts the ceiling too, and it costs far more than it looks. The loan payment calculator shows the total interest sitting behind any monthly payment, which is the figure to check before stretching the term to reach a price.
Worked examples
The ceiling on \$9,000 a month
Gross pay is $9,000 a month. Other debts take $650: a car loan, student loans and card minimums. Property tax and insurance on the home you want run $500 a month. Your lender works to a 43 percent back-end limit, the loan would be 30 years at 6.5 percent, and you have $60,000 for the deposit. What is the most it would lend?
- Apply the limit to gross pay: $3,870.00 of total monthly debt allowed.
- Subtract the debts you already carry: $3,870.00 minus $650 leaves $3,220.00 for housing.
- Subtract tax and insurance, which sit inside the housing payment: $3,220.00 minus $500 leaves $2,720.00 for principal and interest.
- Turn that payment into a loan. The period rate is , a decimal that does not terminate, and . Keep unrounded: . Round to 0.00541667 before raising it to the power and the factor arrives at 158.21075 instead, which is how two calculators come to disagree over the same loan.
- Multiply the budget by the factor: , which is $430,333.43.
- Add the deposit to read it as a price: $430,333.43 plus $60,000.
The rule stops at a loan of $430,333.43, which with $60,000 down is a price of $490,333.43. Every figure in that chain is a maximum: $3,870.00 is the most debt the rule allows, $3,220.00 the most housing, and $2,720.00 the most principal and interest.
The front-end test on the same income
The same applicant is measured by the housing test instead. A 28 percent front-end rule caps the housing payment on its own, so the other debts play no part. Same $9,000 of gross pay, same $500 of tax and insurance, same 30 years at 6.5 percent, same $60,000 deposit. Where does this test stop?
- The front-end test looks at housing alone, so nothing is set aside for other debts: $2,520.00.
- There is nothing else to take off at this stage, so the whole $2,520.00 is the housing budget.
- Tax and insurance still come out of it: $2,520.00 minus $500 leaves $2,020.00 for principal and interest.
- Apply the same factor as before: , which is $319,585.86.
- Add the deposit: $319,585.86 plus $60,000 gives $379,585.86.
The housing test allows a loan of $319,585.86 and a price of $379,585.86, against $430,333.43 from the back-end test in the first example. Both tests have to pass, so the lower one governs and this applicant is capped by housing, not by total debt. Compare the two on the same footing to see where it goes: the back-end test left $3,220.00 for housing, the front-end test allows only $2,520.00, and that gap in the monthly budget is the whole distance between $430,333.43 and $319,585.86 of borrowing power.
The same applicant after a one percentage point rate rise
Nothing about the applicant changes. Gross pay is still $9,000, other debts still $650, tax and insurance still $500, the limit still 43 percent, the term still 30 years and the deposit still $60,000. The mortgage rate goes from 6.5 percent to 7.5 percent. What happens to the ceiling?
- The budget is untouched, because it comes from income and debts rather than from the rate: $3,870.00 of total debt, $3,220.00 for housing, $2,720.00 for principal and interest.
- Only the factor changes. At 7.5 percent the period rate is exactly , so nothing is lost to rounding this time, and .
- Multiply the same budget by the smaller factor: , which is $389,007.95.
- Add the deposit: $389,007.95 plus $60,000 gives $449,007.95.
The same $2,720.00 a month now borrows $389,007.95 rather than $430,333.43, and the price ceiling falls from $490,333.43 to $449,007.95. One percentage point on the rate took about 9.6 percent off what the rule would lend and about 8.4 percent off the price, the smaller share because the deposit does not move, with no change to income, to debts or to savings. It is the single fastest way for a buyer to lose ground while doing nothing wrong.
The mistake that turns a ceiling into a budget
Borrowing what you were approved for.
The number this page produces is a lender's maximum, built from one ratio and gross pay. It knows nothing about your tax bill, your childcare costs, your retirement contributions, your commute, what you spend on food, or how steady your work is. Gross pay sits under the line precisely because it is the same for everyone on that salary, which is what makes it workable for a lender and close to useless as a household budget.
The gap is not small. At the approved $2,720.00 a month of principal and interest, plus $500 of tax and insurance, this applicant commits $3,220.00 out of $9,000 of pay measured before a cent of tax comes out. Against what actually lands in the account, the same payment is a far larger share, and every other cost of owning the place sits on top of it: repairs, higher utility bills, and the furniture an empty house asks for in the first year.
Decide what you want to spend on housing from your own take-home pay and your own commitments, then use this page to check that a lender's rule would permit it. Running it in that order is the difference between a calculator that helps you and one that sells you a house.
Common questions
Is this the amount I should borrow?
No. It is the largest loan a debt-to-income rule would allow, which is a ceiling rather than a recommendation. The test uses gross pay and a single ratio, so it takes no account of tax, childcare, savings, job security or what maintaining the property will cost. Set your own housing budget first, then use this to check the rule permits it. This is educational material, not financial advice.
Why does my deposit barely move the loan size?
Because it is added at the end rather than driving the loan. The principal and interest budget sets the loan, and the deposit buys extra price on top of it dollar for dollar: $60,000 down turns a $430,333.43 loan into a $490,333.43 price. A larger deposit still helps in ways this arithmetic does not show. Removing mortgage insurance takes a line straight out of the tax and insurance box, which hands the saving back as principal and interest budget, and a lower rate buys more loan per dollar of that budget. Both lift the ceiling through inputs you would have to change by hand.
What counts as other monthly debts?
In United States underwriting, the required payments a lender will find on your credit report: car loans and leases, student loans, personal loans, card minimums, court-ordered support and any loan you co-signed. Utilities, groceries, phone bills and insurance that is not part of the housing payment are not debt service, so they stay out of the ratio even though they are real money. A student loan in deferment is normally still counted rather than treated as zero, but the figure a lender substitutes is set by the loan program and those rules have been rewritten more than once, so ask what yours applies rather than reading the payment off your statement. Other countries test affordability differently, often by stressing the payment at a higher rate instead of ratioing it against gross pay.
Keep reading
This page is educational material, not financial advice. The figures come from the formula shown and assume the inputs you enter hold for the whole term. Your own rate, fees, taxes and timing will differ, so treat the output as arithmetic to check a decision against, not as a recommendation.