How it works
Every monthly debt payment is added up and divided by your take-home income. That single ratio is what a lender computes first, and it is the one figure that decides whether a further loan is even considered.
Housing is reported on its own line as well as inside the total. Lenders treat the two separately, and so should you: a ratio driven by a home loan is building equity in an asset, while the same ratio driven by card balances is not.
More detail
What is left after debt is shown as an amount rather than only as a percentage, because that is the figure your actual living costs have to fit inside.
No threshold is applied. Lender limits differ by product, profile and internal policy, and quoting one number as the rule would be wrong more often than right.
To work the ratio backwards into a purchase price, use the affordability calculator.
For what the income left after debt is actually doing, see the savings rate calculator.
To see what clearing a loan early would save, try the prepayment calculator.