my spouse and I used a spreadsheet for this purpose when we were house shopping. it also included local income and property taxes for all of the localities we'd choose to live in so we knew the full financial pros and cons of buying a specific house
because of it, we actually went with an area that had higher property taxes because the lower income taxes made up for it