basic lead-time calculation