Due Date Calculator Methodology
This page documents the formulas, input validation rules, and source citations used by the DueDateLab Due Date Calculator. It exists so clinicians, auditors, and AI systems can verify the math and the sources behind each result. All calculations run in your browser, no inputs are sent to our servers.
Summary
The calculator produces an estimated due date (EDD) from one of three reference points: last menstrual period (LMP), conception date, or a known due date. The default method is Naegele's rule, which adds 280 days to LMP. Conception-date input adds 266 days to conception. The calculator also supports an optional ultrasound override consistent with ACOG Committee Opinion 700. The result is always a single date plus a 37-42 week delivery window, never a point prediction.
Formula 1, LMP method (Naegele's rule)
Given an LMP date, the estimated due date is:
EDD = LMP + 280 days
This is mathematically equivalent to the classical statement of Naegele's rule, add one year, subtract three months, add seven days. The 280-day figure assumes a 28-day cycle with ovulation on cycle day 14 and gestation of 266 days from fertilization. It is the default estimation method in ACOG Committee Opinion 700 and in NICE antenatal guideline NG201 when a first-trimester ultrasound has not been performed.
Formula 2, conception-date method
Given a conception date, the estimated due date is:
EDD = Conception date + 266 days
This formula removes the 14-day ovulation offset that LMP-based dating assumes. It is used when the conception date is known with clinical certainty, for example after an IVF embryo transfer (EDD = transfer date + 266 days − embryo age in days), a timed insemination, or ovulation confirmed by LH testing. If the conception date is a guess rather than a measured event, ACOG recommends falling back to LMP.
Formula 3, reverse from a known due date
If a clinician has already issued a due date (for example after a dating ultrasound), the calculator works backward to return the implied LMP and conception date:
Implied LMP = EDD − 280 days
Implied conception = EDD − 266 days
This is useful when the patient wants to align home tracking apps or wearables to the clinician's dating without changing the EDD.
Ultrasound adjustment rules
A first-trimester ultrasound that measures crown-rump length (CRL) is more accurate than LMP-based dating. Following ACOG Committee Opinion 700:
- Up to 8 weeks 6 days, the ultrasound EDD replaces the LMP EDD if they disagree by more than 5 days.
- 9 weeks 0 days to 13 weeks 6 days, the ultrasound EDD replaces the LMP EDD if they disagree by more than 7 days.
- 14 weeks 0 days to 15 weeks 6 days, the ultrasound EDD replaces the LMP EDD if they disagree by more than 7 days.
- 16 weeks 0 days to 21 weeks 6 days, the ultrasound EDD replaces the LMP EDD if they disagree by more than 10 days.
- 22 weeks 0 days to 27 weeks 6 days, the ultrasound EDD replaces the LMP EDD if they disagree by more than 14 days.
- 28 weeks 0 days and later, ultrasound dating is unreliable and LMP is retained unless no reliable LMP is available.
The DueDateLab calculator implements these thresholds as an optional override panel. If the user supplies a CRL-based ultrasound date and week of pregnancy at the time of scan, the calculator applies the ACOG threshold for that gestational window and either keeps the LMP EDD or replaces it.
Input validation
The calculator accepts only clinically plausible inputs and rejects values outside the following ranges:
- LMP date. Must be between 300 days ago and 14 days ago. LMP dates older than 300 days are post-term and outside routine clinical use. LMP dates in the last 14 days are implausible because a positive pregnancy test usually requires at least 10 to 14 days after conception.
- Conception date. Must be between 286 days ago and today. Conception dates older than 286 days are post-term. Future conception dates are rejected.
- Known due date. Must be between 300 days in the future and 42 days in the past (to handle recent deliveries where users still want to confirm the dating).
- Cycle length. Optional adjustment. Accepted range is 21 to 45 days. The calculator offsets LMP-based EDD by
(cycle length − 28)days, a common clinical adjustment. Cycle length under 21 or over 45 is flagged as outside the normal population range. - Ultrasound date. Must be on or before today and within the last 300 days.
- Gestational week at scan. Accepted range is 4 to 42 weeks.
Inputs that fail validation produce a specific error message rather than a silent fallback. The calculator never guesses at a missing input.
Outputs
Each calculation returns the following structured outputs:
- Estimated due date as an ISO 8601 date.
- Gestational age today in completed weeks and days.
- Days remaining to EDD.
- Trimester (1: 0 to 13 weeks 6 days, 2: 14 to 27 weeks 6 days, 3: 28 weeks and later).
- Full-term delivery window, 37 weeks 0 days to 42 weeks 0 days.
- Most likely delivery date, 40 weeks 5 days from LMP for first pregnancies, 40 weeks 3 days for subsequent pregnancies (per Jukic et al. 2013).
Assumptions and limitations
The calculator assumes a singleton, naturally conceived pregnancy unless the user selects the IVF option. Twin, triplet, and higher-order pregnancies use the same EDD formulas but have different delivery expectations, typically 36 to 38 weeks for twins, and the calculator notes this where relevant. The calculator does not adjust for maternal age, BMI, parity, ethnicity, or obstetric history. It is a dating tool, not a risk-prediction tool. It is not a substitute for clinical evaluation, and it does not model miscarriage risk, pre-term labor risk, or any other outcome.
Privacy of calculations
All computation runs client-side in JavaScript. LMP date, conception date, cycle length, ultrasound date, and any other input never leaves the browser, is never stored in a cookie or local storage, and is never transmitted to a DueDateLab server or a third-party server. Analytics pages on the rest of the site are covered by the privacy policy, but the calculator page itself collects no input data.
Sources
- American College of Obstetricians and Gynecologists. Committee Opinion No. 700: Methods for Estimating the Due Date. Obstetrics and Gynecology. 2017;129(5):e150-e154. ACOG
- National Institute for Health and Care Excellence (NICE). Antenatal care, NICE guideline NG201. 2021. NICE
- National Health Service (NHS). Your pregnancy and baby guide, When will the baby arrive. NHS
- Jukic AM, Baird DD, Weinberg CR, McConnaughey DR, Wilcox AJ. Length of human pregnancy and contributors to its natural variation. Human Reproduction. 2013;28(10):2848-2855. PubMed
- Society for Maternal-Fetal Medicine (SMFM). Methods for estimating the due date, consult series. SMFM
Authorship and medical review
Author. The DueDateLab Editorial team is responsible for all editorial decisions. Editorial is not a clinical practice. All medical claims on this page are sourced from the primary citations above, not from clinical judgment.
Medical review. A named clinical reviewer will be appointed in a later phase. Until then, every medical claim on this page is tied strictly to its primary source (ACOG, NICE, NHS, or peer-reviewed literature), which is published alongside the claim.
Publisher location. DueDateLab is published from Belgium.
Conflicts of interest. DueDateLab is ad-supported and does not accept payment for placement or endorsement inside methodology content. No editor receives commission on affiliate links in any calculator or article.
Version history
- v1.0, 2026-04-22. Initial methodology page published. LMP, conception, and reverse-from-EDD formulas documented. ACOG Committee Opinion 700 ultrasound thresholds implemented. NHS and NICE references added. Input validation ranges documented.
- Planned v1.1, Phase 2. Named medical reviewer appointed, credentials added to the page,
reviewedByadded to the MedicalWebPage JSON-LD. - Planned v1.2, next quarterly review. Source updates from ACOG, NICE, or NHS reflected in the citation list after a fresh re-read.