Should I include the mortgage in the calculation?
Yes. If you die, the mortgage is still owed. Either dependents need to keep paying it from the portfolio, or insurance covers it directly. Decreasing-term mortgage life insurance used to be popular for exactly this; the cover shrinks alongside the loan balance, matching the declining need.