By considering the present value of savings, you are able to judge the relative difference between a loan that recognizes savings in 30 years vs 10 years, for example. Future interest rates are important here because it reflects your opportunity cost of paying down debt (ie you could be saving this money in a risk-free investment instead). Lastly, taxes are extremely impactful because, for those who qualify, paying down a tax-deductible mortgage or student loan ultimately lowers your after-tax income.
Although my site is still somewhat beta, I invite folks to come sign up for free and give it a try.
[1] - https://beanjockey.com
Interestingly, at that point the psychology goes from motivational to avoiding extra stress altogether.