Realistic budget estimate

Before signing the contract with the architect

Question

Realistic budget estimate

How can the construction budget be estimated as close to reality as possible - to help choose materials and take off quantities?