Formula: Due date = LMP + 280 days (40 weeks) for LMP method, or Conception date + 266 days (38 weeks) for conception method, adjusted for cycle length deviation from 28 days.