What is the maximum value of an apartment I can buy?

So you've started to consider the purchase of an apartment. Congratulations! But how will you know the maximum value of an apartment which is within your means to buy with a mortgage? [Too much math? you can get an immediate budget here] There are two main criteria which determine the approval of a mortgage- the cost [...]