Estimate an affordable price range, check debt-to-income, compare mortgage payments, and add up the cash needed at closing.