Contractors sometimes demand 'prelims' on the extension of time. How are these calculated?

Generally, this sort of claim is not permitted. None of the standard forms of contract include a provision for this. The contractor is not entitled to any additional payment due to extension of time, thus there is no need to calculate it.