To calculate a bid.