With most lenders it is up to 75% of the lower of the valuation or purchase price.
Some lenders will base it on the valuation if greater and others will also give you a contribution towards the refurbishment costs which can mean you get up to 85% of purchase price at completion.