Pregnancy
How To Calculate How Many Weeks Pregnant
Gestational age is counted from the last period, so it is a day count divided into weeks and days.
Quick Answer
weeks = floor(days since last period / 7)
- weeks
- Whole weeks of gestation, counted from the last period
- days
- Days since the first day of the last menstrual period
- term
- Standard term length, 280 days or 40 weeks
Count the days since the first day of your last menstrual period, divide by seven and drop the remainder to get whole weeks. One hundred and fifty four days is exactly 22 weeks, and 126 days remain of the standard 280 day term.
What Is How Many Weeks Pregnant?
Weeks pregnant is the number of days since the first day of the last menstrual period divided by seven. One hundred and fifty four days is exactly twenty two weeks, with no days left over, and one hundred and twenty six days remain of the standard two hundred and eighty day term.
The count starts from the last menstrual period rather than from conception, which is roughly two weeks earlier. This convention exists because the first day of a period is observable and the day of conception usually is not, and every clinical estimate of gestational age uses it.
That means the first two weeks of a forty week pregnancy happen before conception. A gestational age of six weeks is usually only about four weeks of actual development, which surprises people who try to reconcile the calendar with an ultrasound measurement.
The remainder matters and is usually reported alongside the whole weeks. Twenty two weeks and three days is a different stage from twenty two weeks exactly, and prenatal appointments, screening windows and viability discussions are all framed in that form.
Due date is derived by adding two hundred and eighty days to the first day of the last period, which is forty weeks. Only a small share of births happen on the due date itself, and a range of about a week either side is normal.
The term length of two hundred and eighty days comes from the mean of a large distribution, and the spread around it is substantial. Birth between thirty seven and forty two weeks is considered full term, and labour is induced or scheduled within that window for medical reasons.
Cycle length changes the arithmetic. The two hundred and eighty day figure assumes a regular twenty eight day cycle with ovulation around day fourteen. A longer or shorter cycle shifts the estimate, and clinicians adjust by adding or subtracting the difference.
Ultrasound measurement can override the last period date, especially when it is taken in the first trimester. Crown to rump length in early pregnancy is a more reliable estimate of gestational age than a recalled period date, which is why the due date sometimes moves after a scan.
Irregular periods, recent hormonal contraception and breastfeeding all make the last period date less reliable. In those cases the first ultrasound usually becomes the primary source of gestational age rather than a cross-check.
Trimesters are counted in gestational weeks. The first runs to week thirteen, the second from fourteen to twenty seven, and the third from twenty eight to birth, which is the framework most appointment schedules and screening windows are organised around.
Finally, gestational age and foetal age are different numbers. Gestational age is measured from the last period and is the one clinicians use; foetal age starts at conception and is about two weeks less. Mixing the two shifts every milestone by a fortnight.
Formula
weeks = floor(days / 7)
Formula page →Days since the last menstrual period divided by seven, with the remainder reported separately as whole days.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| w | Weeks | count | Whole weeks of gestation. |
| d | Days | count | Days since the last menstrual period. |
remaining = 280 - days
Formula page →Days left of the standard term, clamped at zero once the term has passed.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| r | Days remaining | count | Days left of the term. |
| d | Days | count | Days since the last menstrual period. |
How To Calculate How Many Weeks Pregnant
- 1
Find the first day of the last menstrual period
This is the start point for every clinical estimate. Use the first day of bleeding rather than the last, since the convention is defined from the beginning of the period.
- 2
Count the days since then
Include today if you count the start day as day zero. A consistent convention matters more than which one you pick, so keep it the same between appointments.
- 3
Divide by seven and drop the remainder
One hundred and fifty four over seven is exactly twenty two. The whole number is the weeks figure and the leftover days are reported separately.
- 4
Work out the leftover days
One hundred and forty three over seven is twenty with three days remaining, which is reported as twenty weeks and three days rather than as a decimal.
- 5
Check the days remaining against the term
Two hundred and eighty minus one hundred and fifty four leaves one hundred and twenty six days, which places the date inside the third trimester.
Examples
Example 1: 154 days since the last menstrual period
- Days since the last period
- 154
| Step | Calculation | Result |
|---|---|---|
| Whole weeks | floor(154 / 7) | 22 |
| Extra days | 154 - 22 * 7 | 0 |
| Days remaining in the term | 280 - 154 | 126 |
| Share of the term complete | 154 / 280 | 0.55 |
Result: Exactly 22 weeks with no extra days, 126 days remaining, and 0.55 of the term complete, which is the start of the third trimester.
Example 2: 143 days since the last menstrual period
- Days since the last period
- 143
| Step | Calculation | Result |
|---|---|---|
| Whole weeks | floor(143 / 7) | 20 |
| Extra days | 143 - 20 * 7 | 3 |
| Days remaining in the term | 280 - 143 | 137 |
| Share of the term complete | 143 / 280 | 0.5107 |
Result: 20 weeks and 3 days, with 137 days remaining and 0.5107 of the term complete, midway through the second trimester.
Example 3: 197 days since the last menstrual period
- Days since the last period
- 197
| Step | Calculation | Result |
|---|---|---|
| Whole weeks | floor(197 / 7) | 28 |
| Extra days | 197 - 28 * 7 | 1 |
| Days remaining in the term | 280 - 197 | 83 |
| Share of the term complete | 197 / 280 | 0.7036 |
Result: 28 weeks and 1 day, with 83 days remaining and 0.7036 of the term complete, well inside the third trimester.
Calculator
Weeks pregnant
22
- Extra days
- 0
- Days remaining in the term
- 126
- Share of the term complete
- 55.00%
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
Prefer a full-width tool? Open the How Many Weeks Pregnant calculator page.
Common Mistakes
Counting from conception instead of the last period
Clinical gestational age starts at the last period, about two weeks before conception. Counting from conception shifts every milestone by a fortnight.
Reporting a decimal number of weeks
Twenty two weeks and three days is not 22.43 weeks. The remainder is reported as whole days because appointments are scheduled in that form.
Using the last day of the period as the start
The convention is defined from the first day of bleeding. Starting from the last day pushes the whole estimate several days late.
Applying the 280 day term to every cycle
The term assumes a regular twenty eight day cycle. Longer or shorter cycles shift the estimate and clinicians adjust for the difference.
Confusing gestational age with foetal age
Gestational age runs from the last period, foetal age runs from conception and is about two weeks less. Mixing them moves every screening window.
Treating the due date as a promise
Only a small share of births happen on the due date. A window of about a week either side is normal, and thirty seven to forty two weeks is full term.
FAQ
How do I calculate how many weeks pregnant I am?
Count the days since the first day of your last menstrual period and divide by seven. One hundred and fifty four days is exactly twenty two weeks.
Why do clinicians count from the last period rather than conception?
Because the first day of a period is observable and the day of conception usually is not. The convention keeps every clinical estimate comparable.
How many days is a full term pregnancy?
Two hundred and eighty days, which is forty weeks. Birth between thirty seven and forty two weeks is considered full term.
What is the difference between gestational age and foetal age?
Gestational age runs from the last period. Foetal age runs from conception and is about two weeks less, and it is rarely used clinically.
Can my due date change after an ultrasound?
Yes. First trimester crown to rump measurements are more reliable than a recalled period date, so the estimate is often revised after a scan.
Which week does the third trimester start?
Week twenty eight. The first trimester runs to week thirteen, the second from fourteen to twenty seven, and the third from twenty eight to birth.
References
- [1]Wikipedia, Gestational age — https://en.wikipedia.org/wiki/Gestational_age
- [2]Wikipedia, Pregnancy — https://en.wikipedia.org/wiki/Pregnancy
- [3]Wikipedia, Estimated date of delivery — https://en.wikipedia.org/wiki/Estimated_date_of_delivery
- [4]Wikipedia, Prenatal development — https://en.wikipedia.org/wiki/Prenatal_development