Pregnancy Week Calculator: How the Due Date Math Works

Contents
You can calculate your pregnancy week and due date with just one thing: the first day of your last period. This calculator does nothing more than add 280 days to that date (Naegele's rule) and divide the number of days between then and today by 7 — and it shows you the due date, your current week, and your appointment schedule on screen.
This post walks through exactly what math happens behind the screen, using facts you can verify yourself, so you can check the results and avoid misreading them.
Summary ① Your due date is the first day of your last period (LMP) plus 280 days (Naegele's rule). ② If you enter the same date in the "Last period" tab and the "Conception date" tab, the two due dates come out exactly 14 days apart. ③ The 12, 16, 20, 28, and 36-week appointment dates are all fixed dates counted back from your last period, and the ✓ simply means today is already past that date.
The confusion that comes from mixing up last period and conception date
There's a situation a lot of people run into after confirming a pregnancy. You want a rough idea of how many weeks along you are and when your next appointment might be before you call the clinic, but you don't know the exact way to count.
On top of that, some calculators ask for your "last period" while others ask for your "ovulation date" or "conception date." If you don't separate the two and just drop whatever date you know into whatever field is there, the two results won't differ by chance — they'll differ by exactly 14 days, every time, by design.
You may know the appointment weeks your clinic gives you — the 12-week screening test, the 16-week quad screen, the 20-week anatomy scan, the 28-week glucose test — but you still have to work out separately what actual calendar dates those weeks fall on.
How to calculate it by hand without a tool
You can do all of it with just a calendar and a calculator. Here's the order.
- Pick one reference date. If you know the first day of your last period, use that date (LMP). If you know your ovulation or conception date exactly, use that instead, but you'll need to convert it to an LMP in the next step.
- If you're starting from conception, subtract 14 days. Ovulation is generally assumed to happen about 14 days after your last period starts, so subtracting 14 days from your conception date gives you a converted LMP. For example, if your conception date is March 15, your converted LMP is March 1.
- Add 280 days (40 weeks) to the LMP. This is Naegele's rule. Flip through the calendar ten times in 28-day blocks (28×10=280) and you land on the date exactly 280 days later. For example, if your LMP is March 1, your due date is December 6 of the same year.
- Calculate your current week. Count the days between today and your LMP, then divide by 7. The quotient is weeks and the remainder is days. If your LMP is March 1 and today is July 17, 138 days have passed, so you're 19 weeks and 5 days.
- Work out the trimester and appointment dates. Under 14 weeks is the first trimester, under 28 weeks is the second, and anything beyond that is the third. Appointment dates are LMP + (week × 7) days. With the same example (LMP March 1), 12 weeks is May 24, 16 weeks is June 21, 20 weeks is July 19, 28 weeks is September 13, and 36 weeks is November 8.
Run those five steps in order and you can get your due date, current week, and appointment dates entirely by hand, no tool needed. That said, it's easy to make a mistake when you're counting dates over and over, and picking the wrong tab and landing 14 days off is a common slip too.
Check it with our tool.
Enter just your last menstrual period or conception date, and the tool instantly calculates your due date, current pregnancy week, and a 12–36 week appointment schedule. The date you enter is never sent to a server.

Where it's easy to misread the tab selection and the on-screen display
Enter the same date in the "Last period" tab and the "Conception date" tab and you can see the 14-day gap right away. Enter July 17, 2026 as your last period and the calculator gives you a due date of April 23, 2027.
Enter that same date in the conception date tab and the calculator subtracts 14 days, treats that as your LMP, and runs the same math — so your due date becomes April 9, 2027, exactly 14 days earlier. That's not an error. It's the calculator working exactly as designed.
The "Weeks" display rounds down, not to the nearest. If the gap between today and your LMP is 138 days, then 138÷7=19 remainder 5, so it shows 19 weeks and 5 days. Even at 137 days it's still 19 weeks and 4 days — it won't bump itself up to 20 weeks.
The items on screen don't all use quite the same reference week.
| Screen item | Calculation basis |
|---|---|
| Trimester number at the top (1st, 2nd, 3rd) | Current week under 14 = 1st trimester, under 28 = 2nd trimester, anything above = 3rd trimester |
| Segment start points in the trimester timeline | LMP+91 days (13 weeks), LMP+189 days (27 weeks), and the due date |
| Dates in the 12, 16, 20, 28, 36-week appointment table | All fixed at LMP + (week × 7) days, regardless of today's date |
| "✓" marks in the appointment table | Only means that appointment date is before today (already passed), not that you actually had the appointment |
One more thing worth noting: the timeline boundaries (13 weeks and 27 weeks) and the thresholds for the trimester number at the top (14 weeks and 28 weeks) aren't the exact same week numbers. Both are just different screen elements with different calculation logic — neither one is wrong.
The short version
- Due date = first day of your last period + 280 days (Naegele's rule). It's just addition.
- If you enter a conception (ovulation) date, the calculator subtracts 14 days internally to convert it to an LMP, then applies the same addition. That's why the same date gives you due dates 14 days apart depending on which tab you use.
- The "Weeks" number on screen is the quotient and remainder of the days between today and your LMP divided by 7 (rounded down).
- The 12, 16, 20, 28, and 36-week appointment dates are fixed dates counted back from your LMP, regardless of today's date, and the ✓ only marks that the date has already passed.
- The trimester number at the top is drawn at 14 and 28 weeks while the timeline segments are drawn at 13 and 27 weeks, so the boundaries aren't exactly the same.
Enter just your last menstrual period or conception date, and the tool instantly calculates your due date, current pregnancy week, and a 12–36 week appointment schedule. The date you enter is never sent to a server.
Frequently asked questions
What if I don't know the exact date of my last period?
This calculator works backward from a single date, so you need at least one of the two — last period or conception date — to use it. If you don't know the exact date, it's standard to get an estimated pregnancy week from an ultrasound at your OB-GYN instead.
Can my actual delivery date differ from the calculated due date?
Naegele's rule assumes a 28-day cycle with ovulation on day 14. If your actual cycle is longer or shorter than that, the calculated due date can differ from when you actually ovulated or conceived.
When should I use the conception (ovulation) tab?
Use it when you know your conception or ovulation date exactly, such as with IVF. Whatever date you enter in that tab gets converted internally to a date 14 days earlier and plugged straight into the last-period formula (LMP + 280 days).
Where is the date I entered stored?
It isn't. This calculator does all the math in your browser and never sends the date you enter to a server or stores it anywhere.
This article was adapted from our Korean original. Read the Korean original