Due Date Compass
MenuClose

Due date mathIn-depth guide

How Due Dates Are Calculated: The Math Behind the Estimate

“How is a pregnancy due date calculated?”

Short answer

By convention, the estimated due date is 280 days (40 weeks) after the first day of your last menstrual period. A known conception date, an IVF transfer date or an ultrasound measurement reaches the same kind of date by a different route. Your prenatal care provider compares what is available and records one date; the gestational age counted from it is what ACOG calls the best obstetric estimate.

An open notebook with blank pages and a cup of tea on a windowsill at twilight, lit by a small candle

You have one date: the first day of your last period, an embryo transfer date, or a due date a clinic has already given you. You want to know how that single date becomes a due date, and why an app, a calculator and an ultrasound report can each show a slightly different day.

The arithmetic is simple enough to do on paper. This guide covers the standard method, the cycle-length adjustment many calculators add, the four other starting points, and how a prenatal care provider settles on the one date that goes in your chart.

Why the count starts at your last period

Pregnancy is dated from the first day of the last menstrual period (LMP), not from conception. MedlinePlus describes gestational age as the number of weeks from the first day of the last menstrual cycle to the current date. That number is what weeks pregnant refers to.

The LMP comes about two weeks before the pregnancy itself begins. ACOG's patient FAQ on fetal growth explains that pregnancy is assumed to start two weeks after the first day of the LMP, so the 40 weeks include about two weeks when you were not yet pregnant.

The convention is practical (where the 40-week figure comes from is covered in why pregnancy is counted as 40 weeks). The start of a period is something you can see and note on a calendar, which is not true of ovulation or fertilization. ACOG's clinical guidance on dating calls finding the first day of the LMP the traditional first step in establishing a due date.

Gestational age is written in completed weeks plus days. On this site, 8 weeks 2 days (8w2d) means 58 days since the LMP. ACOG writes the same thing as 8 2/7 weeks.

The 280-day convention

ACOG Committee Opinion 700 states the rule in one line: by convention, the estimated due date (EDD) is 280 days after the first day of the LMP. Since 280 days is exactly 40 weeks, the due date is the day gestational age reaches 40 weeks 0 days (40w0d).

The number rests on two assumptions that ACOG spells out: a regular 28-day cycle, and ovulation on the 14th day of it. That places conception about 14 days after the LMP and the due date about 266 days after conception, and 14 + 266 = 280. An NIH-funded study of pregnancy length describes the same relationship: with ovulation on day 14, the 280-day convention corresponds to 266 days counted from ovulation.

Two properties of a 280-day count are worth knowing:

  • Because 280 is a multiple of 7, the due date always falls on the same day of the week as the LMP. A due date chart by last period month lists the dates for a last period on the 1st and 15th of each month.
  • Counting days handles month lengths and leap years automatically. The calendar shortcut known as Naegele's rule (add 7 days, subtract 3 months, add 1 year) approximates the same count but can land up to three days later, depending on the months involved. Naegele's rule explained shows where the two part ways.

ACOG is direct about what the convention leaves out. It does not account for an inaccurately remembered LMP, for irregular cycle lengths, or for variation in the timing of ovulation. The same opinion notes reports that only about half of women recall their LMP accurately. So an LMP-based date is a starting estimate, one that an ultrasound may later confirm or revise.

How to calculate a due date by hand

You need a calendar and the first day of your last period.

  1. Write down the first day of your last period. Use the day bleeding started, not the day it ended.
  2. Count the days left in that month. Subtract the LMP's day of the month from the number of days in the month.
  3. Add whole months, keeping a running total. Add each following month's length (watch February) and stop before the total would reach or pass 280.
  4. Subtract the running total from 280. The answer is the day of the next month. That day is the estimated due date.
  5. Check the weekday. It should match the weekday of your LMP. If it does not, recount.
  6. Find how far along you are. Count the days from the LMP to today and divide by 7. The whole number is completed weeks; the remainder is days.

A quicker cross-check is to count forward 40 weeks on a calendar, staying on the same weekday.

Worked example: LMP of August 18, 2026

The LMP is Tuesday, August 18, 2026. August has 31 days, so 31 − 18 = 13 days remain in the month.

MonthDays addedRunning total
Rest of August 20261313
September 20263043
October 20263174
November 202630104
December 202631135
January 202731166
February 202728194
March 202731225
April 202730255

Adding all of May would pass 280, so stop here: 280 − 255 = 25. The estimated due date is May 25, 2027. It is a Tuesday, the same weekday as the LMP.

For gestational age on October 3, 2026: 13 days in August, 30 in September and 3 in October make 46 days. 46 ÷ 7 = 6 with 4 left over, so 6 weeks 4 days (6w4d).

The cycle-length adjustment and its limits

Many calculators, including the one on this site, also ask for your usual cycle length (how to measure it) and shift the date by a rough rule:

EDD = LMP + 280 days + (cycle length − 28) days

The reasoning runs through ovulation. According to ACOG's FAQ on fertility awareness, in an average 28-day cycle ovulation occurs about 14 days before the next period starts, and the stretch between ovulation and the next period is the most consistent part of the cycle. If that second stretch stays near 14 days, a longer cycle means later ovulation. In a 33-day cycle, ovulation would come about 19 days after the LMP rather than 14, so the adjustment moves the due date five days later.

Using the same LMP of August 18, 2026:

Usual cycle lengthAdjustmentEstimated due date
25 days−3 daysMay 22, 2027
28 daysnoneMay 25, 2027
33 days+5 daysMay 30, 2027
35 days+7 daysJune 1, 2027

Three limits apply.

It is not part of ACOG's rule. Committee Opinion 700 names irregular cycle length and variable ovulation as things the 280-day convention misses, but its answer is an ultrasound measurement, not a formula. The adjustment is a calculator convention, and a rough one. A version of it appears in the clinical literature as Parikh's formula, which StatPearls, in a reference article that is now archived, describes as adding nine months to the LMP, subtracting 21 days, then adding the length of the previous cycle.

The 14-day assumption is an average. The Office on Women's Health says the time between ovulation and the next period can be anywhere from one week to more than two weeks (7 to 19 days). If your own interval is not 14 days, the adjusted date is off by the difference.

It needs a stable cycle length. If your cycles swing widely from month to month, there is no single number to enter. Due dates with irregular cycles covers what clinicians do instead.

An adjusted date is still an LMP-based estimate, and it needs the same confirmation as an unadjusted one.

Four other starting points

The LMP is not the only possible input. Each of the others reaches the same kind of date, the day gestational age hits 40w0d, by a different route.

Starting pointFormulaWhere the number comes from
Conception or ovulation datedate + 266 days280 days minus the 14 days assumed between the LMP and ovulation
IVF transfer, day-5 embryotransfer date + 261 days266 minus the embryo's 5 days
IVF transfer, day-3 embryotransfer date + 263 days266 minus the embryo's 3 days
Ultrasoundscan date + (280 − gestational age in days at the scan)the scan assigns a gestational age; the due date is the day it reaches 280 days
A due date you already havenone needed; LMP equivalent = due date − 280 daysthe 280-day convention run backward

Conception or ovulation date. If you know the day you ovulated or conceived, add 266 days. Gestational age on any date is the days since that date plus 14. A date of intercourse is not necessarily the conception date. ACOG's fertility-awareness FAQ notes that sperm can survive about three days, sometimes up to five, so pregnancy can result from sex anywhere from five days before ovulation to one day after it.

IVF transfer. Committee Opinion 700 says a pregnancy from assisted reproductive technology should be dated from that treatment. For in vitro fertilization, that means the embryo's age and the transfer date. It gives two figures: 261 days from transfer for a day-5 embryo and 263 days for a day-3 embryo.

ACOG states only those two figures. This site's calculator applies the same arithmetic, 266 days minus the embryo's age, to a day-6 embryo (transfer + 260 days), and it treats an egg retrieval or IUI date as the conception date (+ 266 days). Those are the site's own calculations, not ACOG statements. The full walk-through is in IVF due date calculation.

Ultrasound. A dating scan reports a gestational age as of the scan day. In the first trimester it comes from the crown-rump length of the embryo or fetus. To turn it into a due date, subtract the measured age in days from 280 and add the result to the scan date.

A due date you already have. If your provider has set a due date, no calculation is needed. Subtracting 280 days gives the LMP equivalent that date implies, and gestational age on any day is 280 minus the days remaining.

Worked example: five inputs, one date

Each of these describes the same timeline as the LMP of August 18, 2026:

  • Ovulation on September 1, 2026: September 1 + 266 days = May 25, 2027.
  • Day-5 embryo transferred on September 6, 2026: September 6 + 261 days = May 25, 2027.
  • Day-3 embryo transferred on September 4, 2026: September 4 + 263 days = May 25, 2027.
  • Ultrasound on November 10, 2026, measuring 12w0d (84 days): 280 − 84 = 196, and November 10 + 196 days = May 25, 2027.
  • Due date of May 25, 2027, already assigned: May 25, 2027 − 280 days = August 18, 2026.

Real inputs do not always line up this neatly. The next section covers what happens then.

When two dates disagree: the best obstetric estimate

Your chart holds one due date, not one per method. Committee Opinion 700 lays out how it is chosen.

  • As soon as the LMP, the first accurate ultrasound, or both are available, the gestational age and the EDD should be determined, discussed with the patient and documented.
  • Ultrasound measurement in the first trimester, up to and including 13w6d, is the most accurate way to establish or confirm gestational age. ACOG gives its accuracy as plus or minus 5 to 7 days.
  • If ultrasound dating before 14w0d differs from LMP dating by more than 7 days, the EDD is changed to match the ultrasound. Before 9w0d the threshold is tighter: more than 5 days. Later scans are less precise, and their thresholds widen to more than 21 days in the third trimester.
  • If the LMP is uncertain, dating rests on the ultrasound. If the pregnancy came from IVF, the transfer-based date is used.

The two methods often disagree. In one trial ACOG cites, 40% of the women who had a first-trimester ultrasound had their due date adjusted because the scan and the LMP differed by more than 5 days.

Continue the example. On November 10, 2026, the LMP count says 12w0d. Suppose the scan measures 11w3d (80 days). Its due date is November 10 + 200 days = May 29, 2027, four days later than the LMP date.

Four is not more than 7, so under ACOG's rule the LMP-based date of May 25, 2027 stays. If the scan had measured 10w5d (75 days), its due date would be June 3, 2027, nine days later, and the EDD would change to June 3.

The result of this process is what ACOG calls the "best obstetric estimate." It is the gestational age used for clinical care and, at delivery, recorded on the birth certificate. The CDC's National Center for Health Statistics made the obstetric estimate its standard measure of gestational age starting with 2014 birth data. In its comparison of 2013 births, the obstetric estimate and the LMP-based figure gave the same week for 62.1% of births and were within one week for 83.4%.

Once set, the date is meant to hold. ACOG says later changes to the EDD should be reserved for rare circumstances, discussed with the patient and documented. It also considers a pregnancy with no ultrasound confirming or revising the date before 22w0d to be suboptimally dated. The thresholds for every stage of pregnancy are laid out in ultrasound vs. last period due date.

What the date can and cannot tell you

A due date marks the day gestational age reaches 40 weeks. It does not predict the day labor starts. ACOG's fetal growth FAQ puts the share of women who give birth on their due date at about 1 in 20.

Part of that spread is natural variation, not dating error. In the NIH-funded study cited above, researchers identified ovulation with urinary hormone measurements in 125 pregnancies. Even after preterm births were excluded, the time from ovulation to birth varied across a span of 37 days.

What the date does well is anchor everything else. The ACOG FAQ notes that the EDD sets the gestational age used to track the fetus's growth and provides the timeline for tests during pregnancy. Weeks along, trimester and the dates of screening windows are all counted from it.

A calculator, including this one, only does arithmetic on the date you enter. It cannot confirm a pregnancy, stand in for an ultrasound, or tell you which day the baby will arrive.

Slips to avoid in the arithmetic

  • Starting from the wrong day. The count begins on the first day of bleeding, not the last day of the period and not the day a period was missed.
  • Adding nine calendar months. Nine calendar months come to 273 to 276 days, depending on which months they span, not 280.
  • Mixing the two clocks. Gestational age runs 14 days ahead of time since conception. Adding 280 days to a conception date lands two weeks late; adding 266 days to an LMP lands two weeks early.
  • Using the cycle adjustment in the wrong place. It belongs only to the LMP method. Conception, IVF and ultrasound dates do not use cycle length.
  • Recalculating a date your provider has set. If a calculator and your chart disagree, the chart's date is the one your care is scheduled around. Enter it as a known due date instead of recomputing from the LMP.

Next step

Enter the first day of your last period in the due date calculator and check the result against your own hand count. Bring that date to your first prenatal visit, along with the LMP and your usual cycle length. Your doctor or midwife will confirm or revise it, and the date they record is the one to use from then on.

Sources

  1. American College of Obstetricians and Gynecologists: Committee Opinion No. 700: Methods for Estimating the Due Date (May 2017, reaffirmed 2025)
  2. American College of Obstetricians and Gynecologists: How Your Fetus Grows During Pregnancy (FAQ156)
  3. American College of Obstetricians and Gynecologists: Fertility Awareness-Based Methods of Family Planning (FAQ024)
  4. MedlinePlus, U.S. National Library of Medicine: Gestational age: MedlinePlus Medical Encyclopedia
  5. Office on Women's Health, U.S. Department of Health and Human Services: Your menstrual cycle
  6. Centers for Disease Control and Prevention, National Center for Health Statistics: Measuring Gestational Age in Vital Statistics Data: Transitioning to the Obstetric Estimate (National Vital Statistics Reports, Vol. 64, No. 5, 2015)
  7. PubMed Central, U.S. National Library of Medicine: Length of human pregnancy and contributors to its natural variation (Jukic et al., Human Reproduction, 2013)
  8. NCBI Bookshelf, U.S. National Library of Medicine: Estimated Date of Delivery (Archived) (StatPearls)

Due Date Compass

Independent publisher

Published by Due Date Compass, an independent site. Its publisher is not a medical professional; this guide reports what the sources listed above say.

How guides are sourced and corrected: Editorial Policy. Spotted an error? Email hello@duedatecompass.com.

Newsletter

Get an e-mail when Due Date Compass publishes something new

We ask only for your e-mail address. At most one e-mail a day, only when something new is published, with no tracking pixels. How we handle your address