Gestational Age Calculator
Why pregnancy is counted from the last period
Gestational age starts on the first day of the last menstrual period — about two weeks before conception actually happens in a typical cycle. It seems odd until you see the practical reason: the LMP is a date most women can identify, while the moment of conception is usually unknowable. Obstetrics therefore standardised on the LMP, and every chart, scan measurement and milestone in pregnancy care is calibrated to it. When a midwife says you are 12 weeks pregnant, the embryo has been developing for about 10. This calculator follows the same convention, so its figure matches what your care team will quote.
The due date is the LMP plus 280 days — 40 weeks exactly. Naegele's rule computes the same date by calendar: add a year, subtract three months, add seven days. Both methods assume a 28-day cycle with ovulation on day 14. If your cycle is longer, ovulation was likely later and the true due date a few days after the estimate; shorter cycles pull it earlier. That is one reason a first-trimester dating scan, which measures the embryo directly, is used to confirm or adjust the LMP date — early ultrasound is the most accurate dating tool there is, and when scan and LMP disagree by more than a few days, the scan wins.
Trimesters and milestones
The 40 weeks divide into three trimesters: the first runs to 13 weeks 6 days, the second from 14 weeks to 27 weeks 6 days, and the third from 28 weeks to the birth. The milestones that structure care hang off the gestational age: the dating scan at 11 to 14 weeks, the anomaly scan at 18 to 21, the start of the third trimester at 28, and "term" from 37 weeks — a baby born at 37 weeks or later is not premature. Viability, the point where a baby born early has a real chance with intensive care, begins around 23 to 24 weeks. Only about 1 in 20 babies arrive on the due date itself; the normal window for a spontaneous birth runs roughly from 37 to 42 weeks, which is why the date is officially an estimate, and why this page shows the weeks remaining as a range to plan around, not an appointment.
If your LMP date is uncertain — irregular cycles, recent contraception, breastfeeding — say so at your first appointment rather than guessing confidently here. An error of two weeks in the LMP propagates into every screening window and can push tests outside the narrow weeks when they work. The calculator is exact arithmetic on the date you give it; the date itself is the clinical question.
A worked example
Last period began 1 October 2026. Days elapsed by 24 November 2026: 54 — which is 7 weeks and 5 days of gestational age, in the first trimester. Due date: 1 October plus 280 days = 8 July 2027; Naegele's rule agrees (1 October + 1 year = 1 October 2027, - 3 months = 1 July, + 7 days = 8 July). Days remaining on 24 November: 226, or 32 weeks and 2 days. By the anatomy-scan window of 18 to 21 weeks, this pregnancy would be scanned between early February and late February 2027 — the kind of forward planning the gestational age makes possible from a single date.
Frequently asked questions
How do I calculate how many weeks pregnant I am?
Count the days from the first day of your last menstrual period (LMP) to today, and divide by seven: the whole weeks are your weeks, and the remainder is the days. An LMP 54 days ago means 7 weeks and 5 days. This LMP method is the universal convention in pregnancy care, so the figure from this calculator matches what a midwife or doctor will quote — even though conception itself happened about two weeks after the LMP in a typical cycle.
How accurate is a due date from the LMP?
It assumes a 28-day cycle with ovulation on day 14, and it is a good estimate when cycles are regular and the LMP date is certain — but only about 5 percent of babies are born on their due date. The normal arrival window is 37 to 42 weeks. A first-trimester dating scan is more accurate (within about 5 days) because early embryos grow at a very consistent rate, and care teams will adjust your due date if the scan and LMP dates differ significantly.
What if I do not know my LMP or my cycles are irregular?
Use your best estimate here, and tell your care team it is an estimate. With irregular cycles, ovulation may have happened much later than day 14, making the pregnancy younger than the LMP suggests — sometimes by weeks. This is exactly the situation dating scans exist for: an ultrasound before 14 weeks measures the embryo and sets the gestational age directly. Do not rely on an uncertain LMP for time-sensitive screening decisions.
What trimester am I in?
The first trimester runs from week 1 to the end of week 13 (13 weeks 6 days). The second runs from 14 weeks to 27 weeks 6 days. The third runs from 28 weeks until the birth. At 7 weeks 5 days you are in the first trimester; at 24 weeks, the second; at 30 weeks, the third. The calculator states your trimester alongside the weeks and days, and the weeks remaining to the 40-week due date.
Why is pregnancy 40 weeks but 9 months?
Because the count starts two weeks before conception, and calendar months are longer than four weeks. Forty weeks is 280 days, which is nine calendar months plus about a week — the due date by Naegele's rule is literally nine months and seven days after the LMP. Counted from conception, development is about 38 weeks. The "nine months" of everyday speech and the 40 weeks of medicine are describing the same span from different start lines.
Related tools
Method checked on 24 November 2026 (280-day rule; Naegele's rule). This page does arithmetic on the dates you enter; it is not medical advice, and your care team's dating scan overrides any LMP estimate. Everything is calculated in your browser — nothing you type is sent anywhere.