Pregnancy Due Date Calculator
Pregnancy dating shapes appointment timing, screening windows, and family planning, but the arithmetic can be easy to misunderstand. This pregnancy due date calculator documents exactly how the calculator estimates an expected due date from last menstrual period or conception date, and it flags where the current timeline logic needs caution.
What the calculator estimates
The estimated due date, or EDD, is the calendar date 40 weeks after the first day of the last menstrual period in the standard 280-day method. That convention assumes a typical cycle with ovulation about two weeks after the period begins. When conception date is known or estimated, many references use 266 days from conception, which reaches the same 38 weeks after fertilization.
Due dates are planning estimates, not promises. ACOG emphasizes that accurate dating matters for prenatal testing, growth assessment, and decisions around preterm, term, and postterm pregnancy. Early ultrasound may revise dates when menstrual dates are uncertain or inconsistent with measurements. Use this tool for education and planning, then rely on the date assigned by your clinician. Related tools include the gestational age calculator, pregnancy conception calculator, and reverse due date calculator.
Exact formulas used by calculation
The calculator has two modes. In last menstrual period mode, the entered date is treated as the first day of the LMP:
In conception mode, the entered date is treated as the conception date:
The calculator also creates an internal start date for timeline outputs. For LMP mode:
For conception mode, the current calculation does this:
Trimester and full-term milestones are then calculated from that start date:
Current week uses the absolute difference between start date and the selected current date, then applies ceiling and floor operations:
Because the absolute value is used, a current date before the start date can still produce a positive week number.
Example: estimating a pregnancy due date
If the first day of the last menstrual period is January 1, 2026, LMP mode adds 280 days. The estimated due date is October 8, 2026. The start date is January 1. The first trimester ends 84 days later, March 26, 2026. The second trimester ends 182 days later, July 2, 2026. The full term date is 259 days after January 1, or September 17, 2026. If the current date is February 1, the difference from January 1 is 31 days. Ceiling leaves 31, 31 divided by 7 is 4.42, and floor gives current week 4.
In conception mode, if conception date is January 15, 2026, the due date is October 8, 2026 because 266 days are added. The current method sets the timeline start date to January 29, 2026, which is conception plus 14 days. First trimester end, second trimester end, full term date, and current week are then based on January 29 rather than on LMP-equivalent dating.
Interpretation and date ranges
Clinically, gestational age is usually counted from the first day of the last menstrual period, even though fertilization typically occurs later. ACOG describes term pregnancy as early term from 37 weeks 0 days through 38 weeks 6 days, full term from 39 weeks 0 days through 40 weeks 6 days, late term from 41 weeks 0 days through 41 weeks 6 days, and postterm at 42 weeks 0 days and beyond. This calculator’s “Full term date” is the date at 37 weeks from its internal start date.
Due date calculators cannot evaluate fetal growth, bleeding, pain, contractions, ectopic pregnancy risk, miscarriage risk, or whether ovulation occurred when expected. Assisted reproduction, embryo transfer, irregular cycles, recent contraception, and uncertain bleeding dates can all require different dating methods. The pregnancy conception calculator and reverse due date calculator are planning aids, not substitutes for prenatal records.
Limitations, disclaimer, and common mistakes
This page is educational only and is not medical advice. Consult an obstetric clinician or qualified healthcare professional for pregnancy dating, prenatal care, urgent symptoms, and decisions about testing or delivery timing.
Common mistakes include entering the last day of the period instead of the first day, treating a positive pregnancy test date as conception date, assuming every cycle ovulates on day 14, and using this estimate after a clinician has already assigned an official EDD. Another important limitation is current calculate behavior: in conception mode, the due date formula is conventional, but the timeline start date is conception plus 14 days. That makes trimester endpoints and current week later than typical gestational-age counting would suggest. This text describes the current behavior rather than changing it.
Sources
- ACOG Committee Opinion, Methods for Estimating the Due Date — clinical guidance on pregnancy dating and estimated due date assignment.
- ACOG Committee Opinion, Definition of Term Pregnancy — standard terminology for early term, full term, late term, and postterm.
- MedlinePlus, Gestational age — patient-facing explanation of gestational age dating.