Mortgage Affordability Calculator

Enter your income, monthly debts, down payment, rate, term, property tax and insurance (and PMI if you want it counted). The calculator finds the highest home price at which the housing payment and your total monthly debts stay at or under the limits of the source you pick. With the example inputs and the 31/43 limits from HUD Handbook 4000.1 the answer is $455,981, a housing payment of $3,100.00 a month, a front-end ratio of 31.00% and a back-end ratio of 36.00%. That example does not count MIP, which HUD's list includes in the total Mortgage Payment, so with MIP included the highest price under the same limits would be lower. The limits are not ours: each one is quoted below from Fannie Mae's Selling Guide or HUD's handbook.

Maintained by Archie Chang · Sources checked November 15, 2026 · Methodology & sources

Not financial advice. This calculator provides estimates for informational and educational purposes only. Results are not a loan offer or a guarantee of terms. Always confirm figures with a qualified lender or financial advisor before making decisions.

Your numbers

The values in the boxes are examples to show how the calculator works. They are not market rates or a quote. Replace each one with your own figure.

$
$
$
%
years
%
%
$

Everything runs in your browser and nothing you enter is sent anywhere or stored. FedRateCalc is not a lender, does not take loan applications and does not give financial advice; results are estimates, not a loan offer.

What fits within the limits

$455,981

highest home price at these limits, with a $415,981 loan

Principal and interest
$2,494.02
Property tax
$455.98
Insurance
$150.00
PMI
$0.00
Housing payment a month
$3,100.00
Front-end ratio (housing / income)
31.00% of 31% limit
Back-end ratio (housing + debts / income)
36.00% of 43% limit
Limit that sets the price
Front-end ratio

Payments rounded to the cent. Closing costs, association fees, a changing rate and the lender's own rules for counting income and debts are not included.

Where the ratio limits come from

The calculator does not set a limit of its own. Pick one of the sources below; each is quoted in full. A ratio exactly at a limit counts as within it.

What the ratio is

“Your debt-to-income ratio (DTI) is all your monthly debt payments divided by your gross monthly income.”
CFPB, What is a debt-to-income ratio? (page last reviewed Aug 28, 2023)
“Your gross monthly income is generally the amount of money you have earned before your taxes and other deductions are taken out.”
CFPB, What is a debt-to-income ratio? (page last reviewed Aug 28, 2023)
“Different loan products and lenders will have different DTI limits.”
CFPB, What is a debt-to-income ratio? (page last reviewed Aug 28, 2023)

Fannie Mae

“For manually underwritten loans, Fannie Mae’s maximum total DTI ratio is 36% of the borrower’s stable monthly income. The maximum can be exceeded up to 45% if the borrower meets the credit score and reserve requirements reflected in the Eligibility Matrix.”
Fannie Mae Selling Guide B3-6-02, Debt-to-Income Ratios (version dated 04/02/2025), Maximum DTI Ratios
“For loan casefiles underwritten through DU, the maximum allowable DTI ratio is 50%.”
Fannie Mae Selling Guide B3-6-02, Debt-to-Income Ratios (version dated 04/02/2025), Maximum DTI Ratios
“Fannie Mae makes exceptions to the maximum allowable DTI ratios for particular mortgage transactions, including: cash-out refinance transactions — the maximum ratio may be lower for loan casefiles underwritten through DU […] high LTV refinance transactions - except for loans underwritten under the Alternative Qualification Path, there are no maximum DTI ratio requirements […] borrowers who do not have a credit score — the maximum ratio may be lower for manually underwritten loans […] non-occupant borrowers — the maximum ratio is lower than 45% for the occupying borrower for manually underwritten loans […] government mortgage loans — lenders must follow the requirements for the respective government agency.”
Fannie Mae Selling Guide B3-6-02, Debt-to-Income Ratios (version dated 04/02/2025), Exceptions to the Maximum DTI Ratio

Fannie Mae's topic sets one total DTI ratio, so choosing a Fannie Mae limit applies the back-end ratio only.

FHA (HUD Handbook 4000.1)

“The maximum Total Mortgage Payment to Effective Income Ratio (PTI) and Total Fixed Payments to Effective Income Ratio, or DTI, applicable to manually underwritten Mortgages are summarized in the matrix below.”
HUD Handbook 4000.1, edition posted at hud.gov/sites/dfiles/OCHCO/documents/4000.1hsgh.pdf (last revised 08/14/2019), Approvable Ratio Requirements (Manual)
“580 and above 31/43 No compensating factors required. Energy Efficient Homes may have stretch ratios of 33/45.”
HUD Handbook 4000.1, edition posted at hud.gov/sites/dfiles/OCHCO/documents/4000.1hsgh.pdf (last revised 08/14/2019), Approvable Ratio Requirements (Manual); in the matrix the first column is the lowest Minimum Decision Credit Score and the second is the Maximum Qualifying Ratios (%)
“580 and above 37/47 One of the following: verified and documented cash Reserves; minimal increase in housing payment; or residual income.”
HUD Handbook 4000.1, edition posted at hud.gov/sites/dfiles/OCHCO/documents/4000.1hsgh.pdf (last revised 08/14/2019), Approvable Ratio Requirements (Manual); in the matrix the first column is the lowest Minimum Decision Credit Score and the second is the Maximum Qualifying Ratios (%)
“580 and above 40/50 Two of the following: verified and documented cash Reserves; minimal increase in housing payment; significant additional income not reflected in Effective Income; and/or residual income.”
HUD Handbook 4000.1, edition posted at hud.gov/sites/dfiles/OCHCO/documents/4000.1hsgh.pdf (last revised 08/14/2019), Approvable Ratio Requirements (Manual); in the matrix the first column is the lowest Minimum Decision Credit Score and the second is the Maximum Qualifying Ratios (%)

The matrix in HUD's handbook has other rows (a lowest credit score of 500-579 or no credit score, and 40/40) that this page does not offer. The sentence above names the Total Mortgage Payment to Effective Income Ratio first and the Total Fixed Payments to Effective Income Ratio second; this calculator reads each pair in the matrix in that order, as a front-end limit and a back-end limit. The handbook edition quoted is the one posted at the HUD address in the sources, last revised 08/14/2019.

VA

VA uses its own guideline, residual income. See the VA residual income calculator.

How the price is found

Housing payment = principal and interest + property tax ÷ 12 + insurance ÷ 12 + PMI. Principal and interest comes from the same payment function as the mortgage calculator. Front-end ratio = housing payment ÷ gross monthly income. Back-end ratio = (housing payment + other monthly debts) ÷ gross monthly income.

For each limit the calculator solves for the highest whole-dollar price at which the ratio is at or under it, and shows the lower of the two prices. The ratio that gives the lower price is the one that sets it. Percent-of-price tax, insurance and the down payment are applied to each candidate price, so the loan and the payment move together.

What the sources count

“The DTI ratio consists of two components: total monthly obligations, which includes the qualifying payment for the subject mortgage loan and other long-term and significant short-term monthly debts (see Calculating Total Monthly Obligation below); and total monthly income of all borrowers, to the extent the income is used to qualify for the mortgage (see Chapter B3–3, Income Assessment).”
Fannie Mae Selling Guide B3-6-02, Debt-to-Income Ratios (version dated 04/02/2025)
“The total Mortgage Payment includes: P&I; real estate taxes; Hazard Insurance; Flood Insurance as applicable; MIP; HOA or condominium association fees or expenses; Ground Rent; special assessments; payments for any acceptable secondary financing; and any other escrow payments.”
HUD Handbook 4000.1, edition posted at hud.gov/sites/dfiles/OCHCO/documents/4000.1hsgh.pdf (last revised 08/14/2019), Approvable Ratio Requirements (Manual), Calculating Total Mortgage Payment
“The total fixed payment includes: the total Mortgage Payment; and monthly obligations on all debts and liabilities.”
HUD Handbook 4000.1, edition posted at hud.gov/sites/dfiles/OCHCO/documents/4000.1hsgh.pdf (last revised 08/14/2019), Approvable Ratio Requirements (Manual), Calculating Total Fixed Payment

This calculator's housing payment counts principal, interest, property tax, insurance and the PMI rate you enter. HUD's list names more items, so a lender's housing figure can be higher. The lender's own rules for which income and debts count decide the ratio it uses. To check a ratio from your current figures, use the DTI calculator.

Two worked examples

The same arithmetic the calculator runs, with the inputs shown. The inputs are examples, not rates or prices anyone is offered. Example 1 uses HUD's 31/43 row and does not count MIP, which HUD's list includes in the total Mortgage Payment, so with MIP included its highest price would be lower.

Two worked examples
Example 1Example 2
Inputs$120,000 income, $500 other debts, $40,000 down, 6% for 30 years, tax 1.2% of the price, insurance $1,800 a year, PMI 0%$90,000 income, $800 other debts, $20,000 down, 5% for 15 years, tax $3,000 a year, insurance $1,200 a year, PMI 0.5%
Limits used31/4336% total DTI
Limit that sets the priceFront-end ratioBack-end ratio
Highest price$455,981$206,195
Loan$415,981$186,195
Principal and interest$2,494.02$1,472.42
Property tax$455.98$250.00
Insurance$150.00$100.00
PMI$0.00$77.58
Housing payment$3,100.00$1,900.00
Front-end ratio31.00%25.33%
Back-end ratio36.00%36.00%

Frequently asked questions

How much house can I afford?

It depends on the limit you apply, and a lender sets its own. In the first example (income $120,000 a year, $500 of other monthly debts, $40,000 down, 6% for 30 years) the 31/43 limits from HUD Handbook 4000.1 give $455,981, because the front-end limit of $3,100.00 a month is reached first. In the second example the 36% total DTI limit in Fannie Mae's Selling Guide gives $206,195. Change any input to see how the price moves.

What are the front-end and back-end ratios?

HUD's handbook names two ratios: the Total Mortgage Payment to Effective Income Ratio (PTI) and the Total Fixed Payments to Effective Income Ratio, or DTI. This calculator calls them the front-end ratio (housing payment divided by gross monthly income) and the back-end ratio (housing payment plus other monthly debts, divided by gross monthly income). In the first example they are 31.00% and 36.00%.

Which DTI limit does the calculator use?

You choose. The default is the 31/43 row of the HUD Handbook 4000.1 matrix for manually underwritten mortgages with a credit score of 580 and above. The list also has the 37/47 and 40/50 rows, and Fannie Mae's 36%, 45%, 50% total DTI limits, each quoted below. CFPB says different loan products and lenders will have different DTI limits. For VA's own residual income guideline, see the VA residual income calculator.

What does the calculator leave out?

It counts principal and interest, property tax, insurance and the PMI rate you enter. HUD lists more items in the housing payment, among them MIP, association fees, ground rent and special assessments, so a lender's housing figure can be higher than this one. Closing costs, a changing rate and the lender's own rules for counting income and debts are not included.