When estimating a job what do you need to know prior to estimating the bid?

When estimating a job what do you need to know prior to estimating the bid?