← All blog posts

Pregnancy Due Date Calculator formula — how it actually works

WhiteUI · A plain-English guide to the Pregnancy Due Date Calculator

The Pregnancy Due Date Calculator uses one rule, and it is nearly 200 years old: Naegele’s rule, named after the German doctor Franz Naegele. It says a pregnancy lasts 280 days — 40 weeks — counted from the first day of the last menstrual period. This page takes the rule apart, shows the shortcut doctors have used for generations, and checks both against the same date.

For information only. A due date from this calculator is an estimate, not a medical diagnosis or medical advice. Confirm your due date with your doctor or midwife — an early scan dates a pregnancy more accurately than this rule.

The formula

Due date = first day of last period + 280 days (40 weeks)
First trimester ends = last period + 97 days (13 weeks, 6 days)
Second trimester ends = last period + 195 days (27 weeks, 6 days)

Reading the formula, piece by piece

  • 280 days. That is 40 weeks, the standard length of a pregnancy as counted from the last period. It includes about two weeks before conception, because the count starts at the last period rather than at conception.
  • 97 days. The first trimester runs 13 weeks and 6 days from the last period. For a last period on 1 January 2026, that ends on 8 April 2026.
  • 195 days. The second trimester runs to 27 weeks and 6 days from the last period. For the same date, that ends on 15 July 2026.

Worked example — the long way and the shortcut

Take a last period starting 1 January 2026. The long way: add 280 days, which lands on 8 October 2026. The shortcut doctors use is to add 7 days, subtract 3 months, then add 1 year: 1 January + 7 days is 8 January, minus 3 months is 8 October 2025, plus 1 year is 8 October 2026. Both routes give the same date, which is how you know the shortcut works — it is just 280 days rearranged.

Long way:  1 January 2026 + 280 days = 8 October 2026
Shortcut:   1 January 2026 + 7 days − 3 months + 1 year = 8 October 2026

Where conception fits in

With a regular 28-day cycle, conception usually happens about 14 days after the last period starts — around 15 January 2026 in this example. That is why the 280-day count and the 266-day count from conception describe the same pregnancy: 280 days from the last period is the same date as 266 days from conception. The calculator uses the last period because it is a date most people can remember, while the conception date usually is not.

At a glance

280 days, two ways of countingLast period 1 Jan 2026 → due 8 Oct 2026 (280 days)Conception ≈ 15 Jan 2026 → due 8 Oct 2026 (266 days)The first 14 days are counted before conception.

Both bars end on the same due date, 8 October 2026. The top bar starts at the last period; the lower bar starts about two weeks later, at conception.

The mistake to avoid

Treating 40 weeks as 9 calendar months. Nine calendar months from 1 January 2026 is 1 October 2026 — a full week before the real due date of 8 October 2026. Months are different lengths, so “nine months” is a rough phrase, not a calculation. The 280-day count is the one to use.

Naegele’s rule vs counting 40 weeks on a calendar

Naegele’s rule and the 280-day count are the same calculation in two forms. The rule says: add 7 days, subtract 3 months, add 1 year. The count says: add 280 days. They agree because 280 days is 40 weeks, and 40 weeks from a date lands in the same place as the rule’s three steps — the rule is just the shortcut doctors use when there is no calculator to hand.

Take a last period starting 17 May 2026. Add 280 days and the estimated due date is 21 February 2027. The first trimester ends 97 days after the last period, on 22 August 2026, and the second ends 195 days after it, on 28 November 2026. Work the shortcut: 17 May plus 7 days is 24 May, minus 3 months is 24 February 2026, plus 1 year is 24 February 2027 — three days later than the 280-day count. The two routes usually agree to the day; here they differ by three days because the shortcut treats every month as the same length, and May to February crosses months of 31 and 30 days. When they disagree, the 280-day count is the exact one.

What to check when the shortcut and the long count disagree

Check the month subtraction first. “Minus 3 months” from 24 May is 24 February, but February is short, and the shortcut does not adjust for it. A difference of a few days between the two routes is expected, not a sign that either is broken — it is the shortcut rounding the calendar.

Check the starting date next. Both routes use the first day of the last period, and a starting date that is off by a week moves both answers by a week. If the shortcut and the long count disagree by more than a few days, the starting date is the likelier culprit.

Check which answer your doctor uses. Clinics usually work from the 280-day count or an ultrasound, and the shortcut is a bedside check. If your doctor’s date and your calculation differ by a few days, ask which one they are using before assuming either is wrong.

Frequently asked questions

What is Naegele’s rule?

A rule that puts the due date 280 days — 40 weeks — after the first day of the last menstrual period. It is the standard way due dates are estimated when the last period is known.

Why 280 days and not 266?

Because the count starts at the last period, about two weeks before conception. 280 days from the last period is the same date as 266 days from conception.

What is the add-7-days shortcut?

Add 7 days to the last period, subtract 3 months, then add 1 year. For 1 January 2026 that gives 8 October 2026 — the same answer as adding 280 days.

Does the rule assume a 28-day cycle?

Yes. It assumes ovulation about 14 days after the last period starts. Longer or shorter cycles shift the estimate, and a scan gives a better date in that case.

More guides on the Pregnancy Due Date Calculator

Try it yourself

A free calculator that works out an estimated due date and trimester dates from the first day of your last period.

Open the Pregnancy Due Date Calculator