Earlier quoted context omitted.
how many years will it take to pay off your mortgage? thats done for you, about 15 or 30. how does other factors like food/transportation/taxes factor in? though not always, but they tend to go hand in hand no? the cost of real estate is factored into much of what we buy / spend money.
It is honestly worth your while to pay off your mortgage as soon as humanly possible.
More significantly, investment income opportunities need to have their interest rate (or equivalent) assessed. For example, in the past 12 months, the DIA has risen 18%. Thus, if 12 months ago I had money to spare, it would have been better to put the money into DIA rather than make an extra principal payment on the mortgage, unless my mortgage is 18% or more.
With the exception of bonds and CDs, it's not possible to know the investment growth in advance, so that creates some risk of course.