How it works
The 28/36 rule: total housing costs (PITI — principal, interest, taxes, insurance — plus HOA) should be no more than 28% of gross monthly income (front-end DTI), and housing plus all other debt payments no more than 36% (back-end DTI).
The calculator takes the lower of the two limits, subtracts monthly tax, insurance and HOA to get the maximum principal-and-interest payment, then reverses M = P × r(1 + r)n / ((1 + r)n − 1) to find the loan amount. Home price = loan + down payment (or loan ÷ (1 − down %) when you enter a percentage). When the down payment is under 20%, private mortgage insurance (loan × PMI rate ÷ 12, default 0.5% a year) is counted inside the housing budget, so the loan solves loan × (payment factor + PMI rate ÷ 12) = the budget left after tax, insurance and HOA.
Worked examples
$100,000 income, $500/mo debts, 20% down, 6.5% 30-year, $3,600 tax, $1,200 insurance
Max home price: $382,342.81 (loan $305,874.25, down $76,468.56). PITI: $2,333.33/mo; front-end DTI 28.0%, back-end 34.0%; limited by the front-end (28%) limit.
$70,000 income, $800/mo debts, $15,000 down, 7% 30-year, $2,400 tax, $1,000 insurance, $150 HOA, 0.5% PMI
Max home price: $137,589.03 (loan $122,589.03). The down payment is only 10.9% of the price, so $51.08/mo of PMI is included in the budget. Total payment: $1,300.00/mo; front-end DTI 22.3%, back-end 36.0%; limited by the back-end (36%) limit.
Step by step: the default example
The calculator opens with $100,000 of gross income, $500 of monthly debt payments, 20% down, a 6.5% 30-year loan, $3,600 a year of property tax and $1,200 of insurance.
- Gross monthly income: $100,000 ÷ 12 = $8,333.33.
- Front-end limit (28%): $8,333.33 × 0.28 = $2,333.33 for all housing costs.
- Back-end limit (36%): $8,333.33 × 0.36 = $3,000.00, minus $500 of other debts = $2,500.00 for housing.
- The lower limit wins: $2,333.33 (the 28% front-end limit).
- Subtract tax ($300 a month) and insurance ($100): $1,933.33 is left for principal and interest.
- Each $1 borrowed at 6.5% for 30 years costs $0.006321 a month, so the loan is $1,933.33 ÷ 0.006321 = $305,874.25.
- With 20% down, price = loan ÷ 0.80 = $382,342.81, with a $76,468.56 down payment.
What moves the answer
- Other debts: raising monthly debts from $500 to $1,000 drops the maximum to $316,421.64, and the back-end (36%) limit becomes the binding one.
- Rate: at 7.5% instead of 6.5%, the same budget supports a $345,625.93 home.
- Down payment: at 10% down, private mortgage insurance (0.5% of the loan a year by default) comes out of the same budget and the maximum is $318,841.85.
Understanding the inputs
- Gross annual income — income before taxes and deductions. The CFPB defines the debt-to-income ratio using gross monthly income.
- Monthly debt payments — minimum payments on car loans, student loans, credit cards and other debts — not utilities or groceries.
- Down payment — as a percentage of the price or a dollar amount.
- Interest rate and term — your expected mortgage rate and loan length; check current offers before relying on the result.
- Property tax and insurance — annual amounts. Lenders often collect them monthly through escrow, so they count against your housing budget.
- PMI rate — used when the down payment is under 20% on a conventional loan.
- HOA dues — monthly association fees, which also count as housing cost.
Common mistakes
- Treating 28/36 as a lender’s rule. It is a common guideline. The CFPB notes that different loan products and lenders have different DTI limits, and qualifying for a payment does not mean it fits your budget.
- Using net pay. DTI is based on gross (pre-tax) income; using take-home pay understates what a lender may approve but may better reflect what you can comfortably pay. The paycheck calculator shows the difference.
- Leaving out tax, insurance and HOA. They come out of the same monthly budget as the loan payment. Our state mortgage pages list typical property-tax bills by state.
- Forgetting PMI below 20% down. The CFPB explains that conventional loans with less than 20% down usually require PMI, which protects the lender, not you. Compare an FHA or VA loan if your down payment is small.
- Spending the whole down payment. Closing costs and moving costs are due too; keep cash aside.
Sources
- CFPB: What is a debt-to-income ratio?
- CFPB: What is private mortgage insurance?
- CFPB: What is an escrow or impound account?
- CFPB: Mortgage interest rate vs. APR
Embed this calculator
Add this free house affordability calculator to your website or blog. Paste this one line of HTML where you want it to appear. It resizes to fit narrow screens and includes a small “Powered by moneycalcly.com” link.
Frequently asked questions
How much house can I afford on $100,000 a year?
Using the 28/36 guideline with $500 of other monthly debts, 20% down, a 6.5% 30-year rate, $3,600 a year of property tax and $1,200 of insurance, about $382,342.81. Higher debts, a higher rate or a smaller down payment lower that figure.
What is the 28/36 rule?
A guideline that housing costs (principal, interest, taxes, insurance and HOA) stay at or below 28% of gross monthly income, and all debt payments including housing stay at or below 36%.
What is a debt-to-income ratio?
Your monthly debt payments divided by your gross monthly income. The CFPB gives the example of $2,000 of monthly debts on $6,000 of gross monthly income, a DTI of 33%.
Does the calculator include PMI?
Yes. If the down payment is under 20%, PMI at the rate you enter (0.5% of the loan a year by default) is counted inside the housing budget.
Is the maximum price what I should spend?
Not necessarily. It is an estimate of what the guideline allows. Leave room for savings, maintenance and other goals, and confirm with a lender.