What is the best way of determining how much unsuitable material should be removed before commencing building work?

It is generally recommended to achieve this by undergoing a site investigation.