How the weeks are counted
Pregnancy is counted from the first day of your last menstrual period (LMP), not from conception. That day is day zero, and the estimated due date is 280 days later, at exactly 40 weeks. This is the convention the American College of Obstetricians and Gynecologists describes, and it is the count your prenatal record uses.
The calculator does one subtraction. From a last period, it counts the days from that date to the date you picked. From a due date, it first steps back 280 days to find day zero, then counts forward. The total is split into completed weeks and leftover days. That figure is the gestational age, so a tool like this is also called a gestational age calculator.
- 17 weeks 2 days (written 17w2d) means 17 full weeks are behind you, plus 2 days.
- “17 weeks pregnant” covers the seven days from 17w0d to 17w6d. You are then in your 18th week, which is why an app that names the week you are in can show a number one higher.
The longer explanation, with worked examples and the common counting mistakes, is in How many weeks pregnant am I?
What each input means
- Due date
- The due date on your prenatal record, if you have one. It already includes any change made after an ultrasound or an IVF transfer, so the weeks here match your chart.
- Last period
- The first day of your last menstrual period: the day bleeding began. The count assumes a 28-day cycle; the due date calculator can adjust for a longer or shorter one.
- Show my weeks on
- The day to count to. It starts as today, as your own device’s calendar shows it, and can be any past or future date.
Worked example
Entered: Due date Thursday, March 11, 2027, weeks shown on Wednesday, October 28, 2026.
| Result | Value | Worked out as |
|---|---|---|
| Day zero | Thursday, June 4, 2026 | Due date − 280 days. |
| How far along | 20 weeks 6 days (20w6d) | 146 days from day zero, split into weeks and days. |
| Month of pregnancy | Month 5 | 4 calendar months completed since day zero, plus one. |
| Trimester | Second | Second trimester: 14w0d to 27w6d (ACOG). |
| Days to go | 134 | Due date − the chosen day. |
Computed by the calculator’s own code when this page was built, and checked against hand-worked values by the site’s tests.
Which date should you enter?
If a doctor or midwife has given you a due date, use that. It already includes anything they adjusted after an ultrasound or an IVF transfer, so the weeks you see here will match your chart. If you have not had a visit yet, use the first day of your last period. The result assumes a 28-day cycle; for a longer or shorter cycle, the due date calculator can apply a rough adjustment.
Weeks, months and trimesters
Prenatal care runs on weeks because months are too coarse. For the times someone asks how many months along you are, the calculator converts weeks to months by counting real calendar months from day zero: you have completed a month each time the calendar reaches the same day of the month as your start date. Counted that way the due date falls about nine months and one week after day zero, which is why 40 weeks is “about nine months” and not ten. See the weeks-to-months conversion chart.
Trimesters follow the boundaries in ACOG’s patient guidance: the first trimester runs through 13 weeks 6 days, the second from 14 weeks 0 days through 27 weeks 6 days, and the third from 28 weeks 0 days. Other reputable sources draw the lines a week or so away; this guide explains why.
What the result cannot tell you
- Anything the date does not hold. The weeks are counted from the date you enter; nothing is measured. A wrong or old date gives a wrong week.
- A due date your provider has changed. If an ultrasound moved your due date, enter the new one. Why a due date changes explains when that happens.
- Weeks outside the pregnancy. Before day zero or after 42 weeks 6 days, the calculator says the day is outside the count instead of showing a week.
Common questions
Why am I already “4 weeks” when conception was two weeks ago?
Because the count starts about two weeks before conception, on the first day of the last period. Gestational age and the age of the embryo or fetus differ by roughly two weeks for the whole pregnancy. Gestational age vs. fetal age covers the difference.
Why does my app or my clinic show a different week?
Usually for one of three reasons: the app names the week you are in rather than the weeks you have completed; it is counting from a different due date; or your clinic changed your due date after an ultrasound and the app still has the old one. Enter the due date from your prenatal record to line the numbers up.
Can I check a date in the past or the future?
Yes. Change the “show my weeks on” date to see how far along you were at a scan, or will be on a trip, a holiday or your last day at work. For the whole pregnancy at once, use the week-by-week pregnancy calendar.
Sources
This page was last updated on . Each date is the day the source was last opened and the statements this page takes from it were confirmed.
- American College of Obstetricians and Gynecologists: Committee Opinion No. 700: Methods for Estimating the Due Date Checked .
- American College of Obstetricians and Gynecologists: How Your Fetus Grows During Pregnancy (FAQ) Checked .
- MedlinePlus, U.S. National Library of Medicine: Gestational age Checked .