Not all the inputs, but Ben Felix’s company (makes videos on this topic) has a rent vs buy calculator, mainly focused on investing the cost difference for mortgage vs renting: https://research-tools.pwlcapital.com/research/rent-vs-buy