A guide to find out how much you could borrow.