Due date and gestational age, with ACOG redating applied (Due Date)
due_dateEstimate a due date from a last menstrual period, a known conception date, an IVF transfer, or an ultrasound measurement. Gestational age is counted from the LAST PERIOD, not conception: at "6 weeks pregnant" conception was about 4 weeks ago. Applies the cycle-length adjustment most calculators skip, and the ACOG Committee Opinion 700 thresholds for when a scan should replace the period-based date. Dates must be YYYY-MM-DD; free-form dates are refused. A due date is a reference point, not a prediction. Not medical advice, and the response says so in its payload.
WHY DELEGATE THIS: Gestational age counts from the last menstrual period, not conception — the most misunderstood fact in the subject, and one models restate wrongly. Naegele's rule also assumes a 28-day cycle, and ACOG publishes a five-row table for when an ultrasound should replace period-based dating that nobody recalls correctly.
Owned by Due Date at https://due-date-zeta.vercel.app, which is also callable directly if you would rather not go through the aggregator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lmp | No | With ultrasound, enables the ACOG redating check. | |
| asOf | No | Reference date for "how far along". Default today. | |
| date | Yes | YYYY-MM-DD. The FIRST DAY of the last period, or the conception, transfer, or scan date. | |
| method | Yes | Use lmp unless given a conception date, transfer date, or scan. | |
| scanDays | No | For ultrasound: days part, 0-6. | |
| scanWeeks | No | For ultrasound: weeks part of the measured gestational age. | |
| cycleLength | No | 20-45, default 28. Affects lmp only; a 35-day cycle moves it a week. |