The formula
DSCR = net operating income for a year ÷ yearly mortgage payments. At 1.0, the income just covers the loan. Above 1.0, there is a cushion.
The calculator also works backwards: from the ratio your lender asks for, it gives the highest monthly payment the income supports.
Why lenders use it
For rental properties, many lenders look at the property's ability to pay its own debt, not only the borrower's income. The ratio they ask for, and how they calculate the income, depend on the lender and the loan.
Use the lender's numbers
Lenders may use their own vacancy and expense figures. Ask yours how they calculate it. This is general education, not financial advice.