Start Here

Mortgage Math

The calculation system behind Canadian mortgage qualification: GDS, TDS, qualifying income, rental income, liabilities, stress-test payments, LTV, amortization and commercial ratios.

Published August 14, 2026 Fact-checked August 14, 2026 Ontario, Canada

Mortgage math

Start with GDS and TDS—then understand the inputs behind them

GDS and TDS are the two residential ratios most borrowers encounter first. They compare lender-accepted income with housing costs and other debts. But the ratios only become meaningful after the lender decides what income, rent, liabilities and qualifying mortgage payment it will actually use.

GDS and TDS are the two ratios that turn income and debt into a mortgage limit

Gross Debt Service (GDS) measures how much of the borrower's gross qualifying income is required for the subject property's qualifying housing costs. Total Debt Service (TDS) starts with those same housing costs and adds the monthly obligations assigned to the borrower's other debts.

In plain English, GDS asks 'How much of the accepted income goes to this home?' TDS asks 'How much goes to this home plus everything else the lender counts as debt?' Read the glossary definitions for Gross Debt Service ratio (GDS) and Total Debt Service ratio (TDS).

Use the same time period on both sides of each equation—monthly costs divided by monthly income, or annual costs divided by annual income.

RatioTypical numeratorDenominatorMain question
GDSQualifying mortgage payment + property tax + heat + applicable housing feesGross qualifying incomeHow heavy is the subject property's housing cost?
TDSGDS housing costs + car/loan/revolving/support/other counted obligationsGross qualifying incomeHow heavy is the borrower's total debt load?

The formula is the easy part; deciding the inputs is the real underwriting work

Two lenders can use the same GDS/TDS formula and still produce different answers because the inputs can differ. One may average variable income differently, another may use a more generous rental worksheet, and another may assign a larger qualifying payment to a line of credit.

That is why HopeWell treats residential mortgage math as a five-step chain: qualifying income → rental treatment → liability treatment → qualifying mortgage payment → GDS/TDS. The ratio comes last, not first.

  1. 1Calculate lender-accepted qualifying income.
  2. 2Determine how subject and non-subject rental income will be treated.
  3. 3Convert every liability into the monthly payment the lender will count.
  4. 4Calculate the subject mortgage payment at the required qualifying rate and amortization.
  5. 5Calculate GDS and TDS, then identify which ratio or other constraint is actually limiting the mortgage.

Worked example: the same household can pass GDS and fail TDS

Assume a household has $150,000 of accepted annual income, or $12,500 per month. Qualifying housing costs are $4,400 per month. GDS is therefore 35.2%.

Now add a $750 car payment, $300 student-loan payment and $350 qualifying revolving-credit payment. Total counted costs become $5,800, so TDS becomes 46.4%. Nothing about the home changed; the difference is the other debt.

Use the Maximum Mortgage Calculator to see how paying off a debt, changing income or changing the qualifying rate moves the maximum mortgage.

InputMonthly amount
Accepted gross income$12,500
Qualifying housing costs$4,400
Other counted debts$1,400
GDS35.2%
TDS46.4%

The same ratios play different roles on insured, conventional, alternative and private files

For mortgages that must meet the federal insured/insurable eligibility rules, the standard maximums are 39% GDS and 44% TDS. The lender still underwrites the file, but it cannot simply ignore the applicable insurance eligibility limits.

Conventional uninsured lending has more lender-specific room. HopeWell has seen strong A-lender files considered above 39/44 where equity, credit, income quality and the overall file justified an exception. Alternative lenders commonly work around 50/50, and some published programs can go higher. Private lenders usually do not rely on rigid bank-style GDS/TDS ceilings, but they still examine bank statements, income and recurring obligations to judge whether the proposed payment is realistic.

Those differences are explored in Gross Debt Service (GDS) and Total Debt Service (TDS).

The mortgage is limited by whichever constraint bites first

A borrower can pass GDS and TDS but still be limited by LTV, down payment, property value, insurer eligibility, lender maximums or a specific program rule. Conversely, a low-LTV borrower can still be limited by income or debt.

HopeWell's practical approach is to find the binding constraint: the first number that actually prevents the desired mortgage. Improving a non-binding number may make the file look better without increasing the amount available.

For example, paying off a car loan can materially improve TDS but does nothing to GDS or LTV. A higher appraisal can improve LTV but does not change TDS. Adding stable qualifying income improves both GDS and TDS.

The rest of Mortgage Math answers a different calculation question

Use the page that owns the number you are trying to solve instead of forcing every decision into one calculator.

QuestionResourceTool
What income will the lender use?How Lenders Calculate IncomeMaximum Mortgage Calculator
How will rent be treated?How Lenders Calculate Rental IncomeRental Property Calculator
What monthly debt will the lender count?How Lenders Calculate LiabilitiesMaximum Mortgage Calculator
How much property leverage is there?Loan-to-Value (LTV)Home Equity Calculator
What payment is used for qualification?Mortgage Stress Test MathStress Test Calculator
What payment will I actually make?Canadian Mortgage Interest CompoundingMortgage Payment Calculator
What will I owe later?Remaining Mortgage BalanceAmortization Schedule Generator
What does an extra payment save?Mortgage Prepayment MathExtra Payment Calculator
What might it cost to break?Mortgage Penalty MathMortgage Penalty Calculator
Does commercial cash flow support the loan?Commercial DSCR MathDSCR Calculator

Real files show why calculation method matters as much as the formula

In an Aurora refinance, corporate income analysis helped support the path back to an A lender. In a North York rental-portfolio refinance, lender rental treatment changed the qualification picture.

These examples do not create universal lender rules. They show the practical point: the same borrower facts can produce different qualification results when the permitted calculation method changes.

Mortgage math is an approval model, not a complete household budget

GDS and TDS use gross qualifying income and do not capture every real household expense. Childcare, food, transportation, income taxes, insurance, savings goals, irregular repairs and lifestyle costs can sit outside the ratios.

Use lender math to understand approval capacity. Then use a separate household cash-flow test to decide whether using the full approved amount is actually sensible.

Sources and methodology

Sources and verification

The formulas are stable; lender inputs are not. Hard insured and qualifying-rate boundaries are tied to current primary sources. Lender-specific calculation methods and HopeWell broker-channel observations are labelled separately so they are not mistaken for universal rules.