This calculator allows you to compare what would happen if you took one of two choices with some of your extra cash – either prepaying your mortgage each month, or investing it. This tries to take into account your tax situation and assumes you always itemize (even late into your mortgage duration when your interest will be lower).