What is tested, and when
The date calculators (due date, weeks pregnant, conception, IVF, pregnancy calendar) all run the same functions, so testing those functions tests every calculator at once. The other calculators and data pages have test files of their own: ovulation, implantation, weight gain ranges, corrected age, maternity leave dates, the state leave data for all 50 states and DC, the CDC birth counts and the week-by-week schedule.
- On every build. This page runs the 199 cases below through the engine and stops the build if any answer differs, so a published table always matches the calculators. The same build checks every guide’s structure, sources and internal links, and every page for broken internal links.
- Before changes are pushed. The full test suite (
npm test) is run where a change is made, before it is pushed; the server that publishes runs only the build checks above. The suite adds thousands of further checks: every day of 2026 through 2028, the “today” date in seven time zones on both sides of midnight, each calculator’s own rules, and the privacy gate that decides when advertising may load. - Expected values are worked out separately. The answers below were generated by a reference written apart from the engine, then checked again by a second reference that uses different arithmetic. Three of them, ACOG’s own 280-, 261- and 263-day rules, are also pinned in the test file as fixed dates.
The rules and who states them
The conventions come from the American College of Obstetricians and Gynecologists. Committee Opinion 700 states the 280-day convention and gives two worked rules of its own, for day-5 and day-3 embryos; the cases marked ACOG apply them exactly. The cases marked Site are this site’s arithmetic, and the calculator pages say so wherever they use it.
| Rule | Stated by | Cases | Notes |
|---|---|---|---|
| Last period + 280 days | ACOG | 40 | Committee Opinion 700: by convention, the due date is 280 days after the first day of the last menstrual period. |
| Cycle-length adjustment | This site | 25 | Adds (cycle length − 28) days. A rough, common calculator convention, not part of ACOG’s rule. |
| Conception date + 266 days | This site | 20 | 280 days minus the 14 days the convention places before ovulation. |
| Day-5 embryo transfer + 261 days | ACOG | 10 | Committee Opinion 700’s own example for a day-5 embryo. |
| Day-3 embryo transfer + 263 days | ACOG | 8 | Committee Opinion 700’s own example for a day-3 embryo. |
| Day-6 embryo transfer + 260 days | This site | 6 | The same arithmetic, 266 minus the embryo’s age; ACOG gives no day-6 figure. |
| Egg retrieval + 266 days | This site | 4 | The retrieval (fertilization) date treated as the conception date. |
| IUI + 266 days | This site | 4 | The insemination date treated as the conception date. |
| Ultrasound: scan date + (280 − age at the scan) | This site | 30 | The gestational age the scan measured, counted forward to day 280. |
| Weeks, days and trimester on a date | ACOG | 18 | First trimester through 13w6d, second 14w0d to 27w6d, third from 28w0d (Committee Opinion 700: 28 0/7 weeks and beyond; ACOG’s FAQ ends it at 40w6d). |
| Term label on a date | ACOG | 22 | Early term from 37w0d, full term from 39w0d, late term from 41w0d, postterm from 42w0d (Committee Opinion 579). |
| Input the form refuses | The form | 12 | The message the calculator shows instead of a result. |
One thing the calculators deliberately leave out: deciding between an ultrasound date and a last-period date. Committee Opinion 700 sets thresholds for when a clinician should change the due date to the ultrasound date; that is a clinical decision, so the calculators date from whichever method you choose. Ultrasound vs. last period explains the thresholds.
The 199 cases
Last period, 28-day cycle 40 cases
The first day of the last period, every month of 2026, month ends and leap years. Rule: Last period + 280 days.
Show the 40 casesHide the 40 cases
| Case | Input | Expected | Rule |
|---|---|---|---|
| lmp-01 | Last period January 1, 2026 | Due October 8, 2026 | Last period + 280 days |
| lmp-02 | Last period January 15, 2026 | Due October 22, 2026 | Last period + 280 days |
| lmp-03 | Last period February 1, 2026 | Due November 8, 2026 | Last period + 280 days |
| lmp-04 | Last period February 15, 2026 | Due November 22, 2026 | Last period + 280 days |
| lmp-05 | Last period March 1, 2026 | Due December 6, 2026 | Last period + 280 days |
| lmp-06 | Last period March 15, 2026 | Due December 20, 2026 | Last period + 280 days |
| lmp-07 | Last period April 1, 2026 | Due January 6, 2027 | Last period + 280 days |
| lmp-08 | Last period April 15, 2026 | Due January 20, 2027 | Last period + 280 days |
| lmp-09 | Last period May 1, 2026 | Due February 5, 2027 | Last period + 280 days |
| lmp-10 | Last period May 15, 2026 | Due February 19, 2027 | Last period + 280 days |
| lmp-11 | Last period June 1, 2026 | Due March 8, 2027 | Last period + 280 days |
| lmp-12 | Last period June 15, 2026 | Due March 22, 2027 | Last period + 280 days |
| lmp-13 | Last period July 1, 2026 | Due April 7, 2027 | Last period + 280 days |
| lmp-14 | Last period July 15, 2026 | Due April 21, 2027 | Last period + 280 days |
| lmp-15 | Last period August 1, 2026 | Due May 8, 2027 | Last period + 280 days |
| lmp-16 | Last period August 15, 2026 | Due May 22, 2027 | Last period + 280 days |
| lmp-17 | Last period September 1, 2026 | Due June 8, 2027 | Last period + 280 days |
| lmp-18 | Last period September 15, 2026 | Due June 22, 2027 | Last period + 280 days |
| lmp-19 | Last period October 1, 2026 | Due July 8, 2027 | Last period + 280 days |
| lmp-20 | Last period October 15, 2026 | Due July 22, 2027 | Last period + 280 days |
| lmp-21 | Last period November 1, 2026 | Due August 8, 2027 | Last period + 280 days |
| lmp-22 | Last period November 15, 2026 | Due August 22, 2027 | Last period + 280 days |
| lmp-23 | Last period December 1, 2026 | Due September 7, 2027 | Last period + 280 days |
| lmp-24 | Last period December 15, 2026 | Due September 21, 2027 | Last period + 280 days |
| lmp-25 | Last period January 31, 2026 | Due November 7, 2026 | Last period + 280 days |
| lmp-26 | Last period February 28, 2026 | Due December 5, 2026 | Last period + 280 days |
| lmp-27 | Last period March 31, 2026 | Due January 5, 2027 | Last period + 280 days |
| lmp-28 | Last period May 31, 2026 | Due March 7, 2027 | Last period + 280 days |
| lmp-29 | Last period August 31, 2026 | Due June 7, 2027 | Last period + 280 days |
| lmp-30 | Last period October 31, 2026 | Due August 7, 2027 | Last period + 280 days |
| lmp-31 | Last period December 31, 2026 | Due October 7, 2027 | Last period + 280 days |
| lmp-32 | Last period January 29, 2027 | Due November 5, 2027 | Last period + 280 days |
| lmp-33 | Last period February 28, 2027 | Due December 5, 2027 | Last period + 280 days |
| lmp-34 | Last period May 24, 2027 | Due February 28, 2028 | Last period + 280 days |
| lmp-35 | Last period May 25, 2027 | Due February 29, 2028 | Last period + 280 days |
| lmp-36 | Last period May 26, 2027 | Due March 1, 2028 | Last period + 280 days |
| lmp-37 | Last period June 30, 2027 | Due April 5, 2028 | Last period + 280 days |
| lmp-38 | Last period November 30, 2027 | Due September 5, 2028 | Last period + 280 days |
| lmp-39 | Last period February 29, 2028 | Due December 5, 2028 | Last period + 280 days |
| lmp-40 | Last period June 15, 2028 | Due March 22, 2029 | Last period + 280 days |
Last period with a cycle length 25 cases
Cycle lengths from 21 to 45 days, the range the calculator accepts. Rule: Cycle-length adjustment.
Show the 25 casesHide the 25 cases
| Case | Input | Expected | Rule |
|---|---|---|---|
| cycle-01 | Last period June 4, 2026, cycle 21 days | Due March 4, 2027 | Cycle-length adjustment |
| cycle-02 | Last period June 4, 2026, cycle 22 days | Due March 5, 2027 | Cycle-length adjustment |
| cycle-03 | Last period June 4, 2026, cycle 24 days | Due March 7, 2027 | Cycle-length adjustment |
| cycle-04 | Last period June 4, 2026, cycle 25 days | Due March 8, 2027 | Cycle-length adjustment |
| cycle-05 | Last period June 4, 2026, cycle 26 days | Due March 9, 2027 | Cycle-length adjustment |
| cycle-06 | Last period June 4, 2026, cycle 27 days | Due March 10, 2027 | Cycle-length adjustment |
| cycle-07 | Last period June 4, 2026, cycle 29 days | Due March 12, 2027 | Cycle-length adjustment |
| cycle-08 | Last period June 4, 2026, cycle 30 days | Due March 13, 2027 | Cycle-length adjustment |
| cycle-09 | Last period June 4, 2026, cycle 31 days | Due March 14, 2027 | Cycle-length adjustment |
| cycle-10 | Last period June 4, 2026, cycle 32 days | Due March 15, 2027 | Cycle-length adjustment |
| cycle-11 | Last period June 4, 2026, cycle 33 days | Due March 16, 2027 | Cycle-length adjustment |
| cycle-12 | Last period June 4, 2026, cycle 35 days | Due March 18, 2027 | Cycle-length adjustment |
| cycle-13 | Last period June 4, 2026, cycle 38 days | Due March 21, 2027 | Cycle-length adjustment |
| cycle-14 | Last period June 4, 2026, cycle 40 days | Due March 23, 2027 | Cycle-length adjustment |
| cycle-15 | Last period June 4, 2026, cycle 42 days | Due March 25, 2027 | Cycle-length adjustment |
| cycle-16 | Last period June 4, 2026, cycle 45 days | Due March 28, 2027 | Cycle-length adjustment |
| cycle-17 | Last period January 10, 2026, cycle 35 days | Due October 24, 2026 | Cycle-length adjustment |
| cycle-18 | Last period February 20, 2026, cycle 32 days | Due December 1, 2026 | Cycle-length adjustment |
| cycle-19 | Last period September 1, 2026, cycle 30 days | Due June 10, 2027 | Cycle-length adjustment |
| cycle-20 | Last period December 25, 2026, cycle 26 days | Due September 29, 2027 | Cycle-length adjustment |
| cycle-21 | Last period March 3, 2027, cycle 31 days | Due December 11, 2027 | Cycle-length adjustment |
| cycle-22 | Last period July 19, 2027, cycle 24 days | Due April 20, 2028 | Cycle-length adjustment |
| cycle-23 | Last period October 5, 2027, cycle 33 days | Due July 16, 2028 | Cycle-length adjustment |
| cycle-24 | Last period January 31, 2028, cycle 29 days | Due November 7, 2028 | Cycle-length adjustment |
| cycle-25 | Last period February 29, 2028, cycle 34 days | Due December 11, 2028 | Cycle-length adjustment |
Conception date 20 cases
A known conception or ovulation date. Rule: Conception date + 266 days.
Show the 20 casesHide the 20 cases
| Case | Input | Expected | Rule |
|---|---|---|---|
| conception-01 | Conception January 14, 2026 | Due October 7, 2026 | Conception date + 266 days |
| conception-02 | Conception February 28, 2026 | Due November 21, 2026 | Conception date + 266 days |
| conception-03 | Conception March 1, 2026 | Due November 22, 2026 | Conception date + 266 days |
| conception-04 | Conception April 30, 2026 | Due January 21, 2027 | Conception date + 266 days |
| conception-05 | Conception May 15, 2026 | Due February 5, 2027 | Conception date + 266 days |
| conception-06 | Conception June 18, 2026 | Due March 11, 2027 | Conception date + 266 days |
| conception-07 | Conception July 31, 2026 | Due April 23, 2027 | Conception date + 266 days |
| conception-08 | Conception August 15, 2026 | Due May 8, 2027 | Conception date + 266 days |
| conception-09 | Conception September 30, 2026 | Due June 23, 2027 | Conception date + 266 days |
| conception-10 | Conception October 1, 2026 | Due June 24, 2027 | Conception date + 266 days |
| conception-11 | Conception November 11, 2026 | Due August 4, 2027 | Conception date + 266 days |
| conception-12 | Conception December 31, 2026 | Due September 23, 2027 | Conception date + 266 days |
| conception-13 | Conception January 1, 2027 | Due September 24, 2027 | Conception date + 266 days |
| conception-14 | Conception February 14, 2027 | Due November 7, 2027 | Conception date + 266 days |
| conception-15 | Conception March 15, 2027 | Due December 6, 2027 | Conception date + 266 days |
| conception-16 | Conception June 8, 2027 | Due February 29, 2028 | Conception date + 266 days |
| conception-17 | Conception August 31, 2027 | Due May 23, 2028 | Conception date + 266 days |
| conception-18 | Conception December 1, 2027 | Due August 23, 2028 | Conception date + 266 days |
| conception-19 | Conception February 29, 2028 | Due November 21, 2028 | Conception date + 266 days |
| conception-20 | Conception May 20, 2028 | Due February 10, 2029 | Conception date + 266 days |
IVF and IUI 32 cases
Day-3, day-5 and day-6 transfers, egg retrieval and IUI dates.
Show the 32 casesHide the 32 cases
| Case | Input | Expected | Rule |
|---|---|---|---|
| ivf-01 | Day-5 transfer January 5, 2026 | Due September 23, 2026 | Day-5 embryo transfer + 261 days |
| ivf-02 | Day-5 transfer March 12, 2026 | Due November 28, 2026 | Day-5 embryo transfer + 261 days |
| ivf-03 | Day-5 transfer May 20, 2026 | Due February 5, 2027 | Day-5 embryo transfer + 261 days |
| ivf-04 | Day-5 transfer July 1, 2026 | Due March 19, 2027 | Day-5 embryo transfer + 261 days |
| ivf-05 | Day-5 transfer September 20, 2026 | Due June 8, 2027 | Day-5 embryo transfer + 261 days |
| ivf-06 | Day-5 transfer October 28, 2026 | Due July 16, 2027 | Day-5 embryo transfer + 261 days |
| ivf-07 | Day-5 transfer November 12, 2026 | Due July 31, 2027 | Day-5 embryo transfer + 261 days |
| ivf-08 | Day-5 transfer January 15, 2027 | Due October 3, 2027 | Day-5 embryo transfer + 261 days |
| ivf-09 | Day-5 transfer June 1, 2027 | Due February 17, 2028 | Day-5 embryo transfer + 261 days |
| ivf-10 | Day-5 transfer February 29, 2028 | Due November 16, 2028 | Day-5 embryo transfer + 261 days |
| ivf-11 | Day-3 transfer February 2, 2026 | Due October 23, 2026 | Day-3 embryo transfer + 263 days |
| ivf-12 | Day-3 transfer April 15, 2026 | Due January 3, 2027 | Day-3 embryo transfer + 263 days |
| ivf-13 | Day-3 transfer June 30, 2026 | Due March 20, 2027 | Day-3 embryo transfer + 263 days |
| ivf-14 | Day-3 transfer August 8, 2026 | Due April 28, 2027 | Day-3 embryo transfer + 263 days |
| ivf-15 | Day-3 transfer November 12, 2026 | Due August 2, 2027 | Day-3 embryo transfer + 263 days |
| ivf-16 | Day-3 transfer February 26, 2027 | Due November 16, 2027 | Day-3 embryo transfer + 263 days |
| ivf-17 | Day-3 transfer September 9, 2027 | Due May 29, 2028 | Day-3 embryo transfer + 263 days |
| ivf-18 | Day-3 transfer January 31, 2028 | Due October 20, 2028 | Day-3 embryo transfer + 263 days |
| ivf-19 | Day-6 transfer March 3, 2026 | Due November 18, 2026 | Day-6 embryo transfer + 260 days |
| ivf-20 | Day-6 transfer June 6, 2026 | Due February 21, 2027 | Day-6 embryo transfer + 260 days |
| ivf-21 | Day-6 transfer October 31, 2026 | Due July 18, 2027 | Day-6 embryo transfer + 260 days |
| ivf-22 | Day-6 transfer March 28, 2027 | Due December 13, 2027 | Day-6 embryo transfer + 260 days |
| ivf-23 | Day-6 transfer December 12, 2027 | Due August 28, 2028 | Day-6 embryo transfer + 260 days |
| ivf-24 | Day-6 transfer February 28, 2028 | Due November 14, 2028 | Day-6 embryo transfer + 260 days |
| ivf-25 | Egg retrieval April 1, 2026 | Due December 23, 2026 | Egg retrieval + 266 days |
| ivf-26 | Egg retrieval November 7, 2026 | Due July 31, 2027 | Egg retrieval + 266 days |
| ivf-27 | Egg retrieval May 5, 2027 | Due January 26, 2028 | Egg retrieval + 266 days |
| ivf-28 | Egg retrieval February 29, 2028 | Due November 21, 2028 | Egg retrieval + 266 days |
| ivf-29 | IUI February 14, 2026 | Due November 7, 2026 | IUI + 266 days |
| ivf-30 | IUI November 9, 2026 | Due August 2, 2027 | IUI + 266 days |
| ivf-31 | IUI July 4, 2027 | Due March 26, 2028 | IUI + 266 days |
| ivf-32 | IUI March 1, 2028 | Due November 22, 2028 | IUI + 266 days |
Ultrasound 30 cases
A scan date and the age it measured, from 4 weeks 6 days to 36 weeks 0 days. Rule: Ultrasound: scan date + (280 − age at the scan).
Show the 30 casesHide the 30 cases
| Case | Input | Expected | Rule |
|---|---|---|---|
| ultrasound-01 | Scan January 20, 2026, 6 weeks 3 days | Due September 12, 2026 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-02 | Scan February 11, 2026, 7 weeks 0 days | Due September 30, 2026 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-03 | Scan March 9, 2026, 8 weeks 2 days | Due October 17, 2026 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-04 | Scan April 1, 2026, 9 weeks 6 days | Due October 29, 2026 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-05 | Scan April 30, 2026, 10 weeks 1 days | Due November 25, 2026 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-06 | Scan May 18, 2026, 11 weeks 4 days | Due December 3, 2026 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-07 | Scan June 15, 2026, 12 weeks 0 days | Due December 28, 2026 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-08 | Scan July 7, 2026, 12 weeks 5 days | Due January 14, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-09 | Scan August 3, 2026, 13 weeks 6 days | Due February 2, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-10 | Scan August 31, 2026, 14 weeks 0 days | Due March 1, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-11 | Scan September 14, 2026, 15 weeks 3 days | Due March 5, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-12 | Scan October 5, 2026, 16 weeks 6 days | Due March 16, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-13 | Scan October 28, 2026, 18 weeks 2 days | Due March 29, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-14 | Scan November 26, 2026, 13 weeks 1 days | Due June 2, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-15 | Scan December 21, 2026, 20 weeks 0 days | Due May 10, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-16 | Scan January 11, 2027, 21 weeks 4 days | Due May 20, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-17 | Scan February 1, 2027, 22 weeks 0 days | Due June 7, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-18 | Scan February 27, 2027, 24 weeks 5 days | Due June 14, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-19 | Scan March 31, 2027, 26 weeks 1 days | Due July 6, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-20 | Scan April 19, 2027, 28 weeks 0 days | Due July 12, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-21 | Scan May 10, 2027, 30 weeks 3 days | Due July 16, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-22 | Scan June 1, 2027, 32 weeks 6 days | Due July 21, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-23 | Scan July 7, 2027, 5 weeks 0 days | Due March 8, 2028 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-24 | Scan August 16, 2027, 4 weeks 6 days | Due April 18, 2028 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-25 | Scan September 30, 2027, 36 weeks 0 days | Due October 28, 2027 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-26 | Scan November 11, 2027, 9 weeks 0 days | Due June 15, 2028 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-27 | Scan December 31, 2027, 11 weeks 6 days | Due July 15, 2028 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-28 | Scan February 29, 2028, 12 weeks 3 days | Due September 9, 2028 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-29 | Scan March 1, 2028, 8 weeks 0 days | Due October 11, 2028 | Ultrasound: scan date + (280 − age at the scan) |
| ultrasound-30 | Scan June 30, 2028, 19 weeks 5 days | Due November 19, 2028 | Ultrasound: scan date + (280 − age at the scan) |
How far along on a date 40 cases
From a due date: weeks and days, trimester, term label and days to go, on both sides of every boundary.
Show the 40 casesHide the 40 cases
| Case | Input | Expected | Rule |
|---|---|---|---|
| age-01 | Due March 11, 2027, on July 2, 2026 | 4w0d, trimester 1, before the term labels (37w0d), 252 days to go | Weeks, days and trimester on a date |
| age-02 | Due June 8, 2027, on September 29, 2026 | 4w0d, trimester 1, before the term labels (37w0d), 252 days to go | Weeks, days and trimester on a date |
| age-03 | Due December 25, 2026, on May 22, 2026 | 9w0d, trimester 1, before the term labels (37w0d), 217 days to go | Weeks, days and trimester on a date |
| age-04 | Due February 29, 2028, on July 27, 2027 | 9w0d, trimester 1, before the term labels (37w0d), 217 days to go | Weeks, days and trimester on a date |
| age-05 | Due March 11, 2027, on August 13, 2026 | 10w0d, trimester 1, before the term labels (37w0d), 210 days to go | Weeks, days and trimester on a date |
| age-06 | Due June 8, 2027, on November 10, 2026 | 10w0d, trimester 1, before the term labels (37w0d), 210 days to go | Weeks, days and trimester on a date |
| age-07 | Due December 25, 2026, on June 25, 2026 | 13w6d, trimester 1, before the term labels (37w0d), 183 days to go | Weeks, days and trimester on a date |
| age-08 | Due February 29, 2028, on August 30, 2027 | 13w6d, trimester 1, before the term labels (37w0d), 183 days to go | Weeks, days and trimester on a date |
| age-09 | Due March 11, 2027, on September 10, 2026 | 14w0d, trimester 2, before the term labels (37w0d), 182 days to go | Weeks, days and trimester on a date |
| age-10 | Due June 8, 2027, on December 8, 2026 | 14w0d, trimester 2, before the term labels (37w0d), 182 days to go | Weeks, days and trimester on a date |
| age-11 | Due December 25, 2026, on August 7, 2026 | 20w0d, trimester 2, before the term labels (37w0d), 140 days to go | Weeks, days and trimester on a date |
| age-12 | Due February 29, 2028, on October 12, 2027 | 20w0d, trimester 2, before the term labels (37w0d), 140 days to go | Weeks, days and trimester on a date |
| age-13 | Due March 11, 2027, on November 11, 2026 | 22w6d, trimester 2, before the term labels (37w0d), 120 days to go | Weeks, days and trimester on a date |
| age-14 | Due June 8, 2027, on February 8, 2027 | 22w6d, trimester 2, before the term labels (37w0d), 120 days to go | Weeks, days and trimester on a date |
| age-15 | Due December 25, 2026, on October 1, 2026 | 27w6d, trimester 2, before the term labels (37w0d), 85 days to go | Weeks, days and trimester on a date |
| age-16 | Due February 29, 2028, on December 6, 2027 | 27w6d, trimester 2, before the term labels (37w0d), 85 days to go | Weeks, days and trimester on a date |
| age-17 | Due March 11, 2027, on December 17, 2026 | 28w0d, trimester 3, before the term labels (37w0d), 84 days to go | Weeks, days and trimester on a date |
| age-18 | Due June 8, 2027, on March 16, 2027 | 28w0d, trimester 3, before the term labels (37w0d), 84 days to go | Weeks, days and trimester on a date |
| age-19 | Due December 25, 2026, on December 3, 2026 | 36w6d, trimester 3, before the term labels (37w0d), 22 days to go | Term label on a date |
| age-20 | Due February 29, 2028, on February 7, 2028 | 36w6d, trimester 3, before the term labels (37w0d), 22 days to go | Term label on a date |
| age-21 | Due March 11, 2027, on February 18, 2027 | 37w0d, trimester 3, early term, 21 days to go | Term label on a date |
| age-22 | Due June 8, 2027, on May 18, 2027 | 37w0d, trimester 3, early term, 21 days to go | Term label on a date |
| age-23 | Due December 25, 2026, on December 17, 2026 | 38w6d, trimester 3, early term, 8 days to go | Term label on a date |
| age-24 | Due February 29, 2028, on February 21, 2028 | 38w6d, trimester 3, early term, 8 days to go | Term label on a date |
| age-25 | Due March 11, 2027, on March 4, 2027 | 39w0d, trimester 3, full term, 7 days to go | Term label on a date |
| age-26 | Due June 8, 2027, on June 1, 2027 | 39w0d, trimester 3, full term, 7 days to go | Term label on a date |
| age-27 | Due December 25, 2026, on December 24, 2026 | 39w6d, trimester 3, full term, 1 days to go | Term label on a date |
| age-28 | Due February 29, 2028, on February 28, 2028 | 39w6d, trimester 3, full term, 1 days to go | Term label on a date |
| age-29 | Due March 11, 2027, on March 11, 2027 | 40w0d, trimester 3, full term, 0 days to go | Term label on a date |
| age-30 | Due June 8, 2027, on June 8, 2027 | 40w0d, trimester 3, full term, 0 days to go | Term label on a date |
| age-31 | Due December 25, 2026, on December 31, 2026 | 40w6d, trimester 3, full term, 6 days past | Term label on a date |
| age-32 | Due February 29, 2028, on March 6, 2028 | 40w6d, trimester 3, full term, 6 days past | Term label on a date |
| age-33 | Due March 11, 2027, on March 18, 2027 | 41w0d, trimester 3, late term, 7 days past | Term label on a date |
| age-34 | Due June 8, 2027, on June 15, 2027 | 41w0d, trimester 3, late term, 7 days past | Term label on a date |
| age-35 | Due December 25, 2026, on January 7, 2027 | 41w6d, trimester 3, late term, 13 days past | Term label on a date |
| age-36 | Due February 29, 2028, on March 13, 2028 | 41w6d, trimester 3, late term, 13 days past | Term label on a date |
| age-37 | Due March 11, 2027, on March 25, 2027 | 42w0d, trimester 3, postterm, 14 days past | Term label on a date |
| age-38 | Due June 8, 2027, on June 22, 2027 | 42w0d, trimester 3, postterm, 14 days past | Term label on a date |
| age-39 | Due December 25, 2026, on January 14, 2027 | 42w6d, trimester 3, postterm, 20 days past | Term label on a date |
| age-40 | Due February 29, 2028, on March 20, 2028 | 42w6d, trimester 3, postterm, 20 days past | Term label on a date |
Input that cannot be calculated 12 cases
Dates that do not exist and numbers outside the accepted ranges. Rule: Input the form refuses.
Show the 12 casesHide the 12 cases
| Case | Input | Expected | Rule |
|---|---|---|---|
| invalid-01 | Last period (empty) | Enter the first day of your last period. | Input the form refuses |
| invalid-02 | Last period “2026-02-30” | That date doesn’t exist. Check the day, month and year. | Input the form refuses |
| invalid-03 | Last period “2027-02-29” | That date doesn’t exist. Check the day, month and year. | Input the form refuses |
| invalid-04 | Last period “2026-06-04”, cycle 20 days | Enter a whole number of days from 21 to 45. | Input the form refuses |
| invalid-05 | Last period “2026-06-04”, cycle 46 days | Enter a whole number of days from 21 to 45. | Input the form refuses |
| invalid-06 | Last period “2026-06-04”, cycle 28.5 days | Enter a whole number of days from 21 to 45. | Input the form refuses |
| invalid-07 | Conception (empty) | Enter the conception date. | Input the form refuses |
| invalid-08 | Day-5 transfer (empty) | Enter the date of the transfer or procedure. | Input the form refuses |
| invalid-09 | Scan “2026-10-28”, 3 weeks 0 days | Enter the weeks measured at the scan, from 4 to 42. | Input the form refuses |
| invalid-10 | Scan “2026-10-28”, 43 weeks 0 days | Enter the weeks measured at the scan, from 4 to 42. | Input the form refuses |
| invalid-11 | Scan “2026-10-28”, 12 weeks 7 days | Days must be a whole number from 0 to 6. | Input the form refuses |
| invalid-12 | Due date “2026-04-31” | That date doesn’t exist. Check the day, month and year. | Input the form refuses |
What tests cannot catch
- A wrong rule. A test checks that the engine applies a rule correctly, not that the rule is right. The rules are checked against their sources, which are re-checked at least once a year, as the editorial policy describes; each calculator page shows the day its sources were last checked.
- What your provider decides. A calculator can be exactly right about the arithmetic and still differ from the due date in your record, because a provider can redate from an ultrasound.
- Display problems on a device. Layout is checked separately, at phone and desktop widths, and readers’ reports help most here.
If a calculator gives an answer you think is wrong, write to hello@duedatecompass.com with the dates you entered. Fixes are listed on What’s new.
Sources
Each date is the day the document was last opened and the rules taken from it were confirmed.
- American College of Obstetricians and Gynecologists (Obstetrics & Gynecology): Committee Opinion No. 700: Methods for Estimating the Due Date Checked .
- American College of Obstetricians and Gynecologists: How Your Fetus Grows During Pregnancy (FAQ): the trimester definitions Checked .
- American College of Obstetricians and Gynecologists (PubMed record): Committee Opinion No. 579: Definition of Term Pregnancy Checked .