With just a few simple inputs, you can estimate the maximum mortgage amount you can comfortably manage.