Gestational age and due date calculator

Find your weeks and days pregnant. Use a gestational age calculator for your estimated due date. Options include your last period, conception, IVF transfer, or a dating scan.

Last menstrual period (LMP)Conception dateIVF – day-5 transferIVF – day-3 transferUltrasound (dating scan)Due date I already know
Today, unless you pick another date.
Enter a date to see the gestational age and due date.

How to calculate gestational age: a gestational age calculator

We count gestational age from the first day of the last menstrual period, about two weeks before conception. The due date is 280 days after that day, or 266 days after conception. A first-trimester dating ultrasound is the most accurate method, and doctors use it when the dates differ.

Gestational age and due date calculator: A pregnant woman's hands forming a heart shape over her belly.
How it’s calculated
Due date = LMP + 280 days (+ cycle length − 28). Gestational age = 280 − days until the due date.
Data source
ACOG Committee Opinion 700, Methods for Estimating the Due Date
Checked by
Yasir Hafeez, founder and editor — how we test
</> Embed this calculator

Free to use on your website, blog or school page. Copy the code and paste it into your page’s HTML.

Gestational age and due date calculator

Photo: FotofreaksKL / Pixabay

Gestational age, in plain words

Midwives, doctors, and scans count pregnancy. They start from the last menstrual period’s first day. This is two weeks before conception in a typical 28-day cycle. They use gestational age, written as weeks and days. For example, “21+4” means 21 weeks and 4 days. A full pregnancy is 40 weeks of gestational age. This is 38 weeks from conception (fetal age). You can use a gestational age calculator for this.

Pregnant woman holding a red heart in front of her belly.

The rules the calculator uses

The calculator follows the method set out by the American College of Obstetricians and Gynecologists (ACOG Committee Opinion 700):

  • Last period: due date = first day of the LMP + 280 days. With a longer or shorter cycle, ovulation shifts, so we add (cycle length − 28) days.
  • Conception date: due date = conception + 266 days.
  • IVF: due date = transfer date + 261 days for a day-5 blastocyst, or + 263 days for a day-3 embryo.
  • Dating scan: due date = scan date + (280 days − the gestational age measured at the scan).

From the due date, gestational age on any day is simply 280 days minus the days left. The table lists key dates: the end of the first trimester (13 weeks 6 days), the anatomy scan (around 20 weeks), the start of the third trimester (28 weeks), full term (39 weeks) and 42 weeks.

When a scan changes the due date

A first-trimester ultrasound measures the baby’s crown–rump length. This is the most accurate way to date a pregnancy. ACOG recommends using the scan date. This applies instead of the period date. This is true when the two differ by more than 5 days before 9 weeks. It also applies for more than 7 days from 9 to 13 weeks 6 days. Larger margins apply later in pregnancy. That is why your official due date may differ. This differs from the one worked out from your period. Your care team’s date always wins. This date is more accurate than a gestational age calculator using only your last menstrual period.

A couple holding hands, symbolizing partnership and support.

Important

This gestational age calculator gives estimates for planning. It is not medical advice. It cannot tell how a pregnancy progresses. If you think you may be pregnant, speak to a midwife, doctor, or pharmacist. Have questions about your dates? Speak to a professional. After birth, the baby age calculator shows your baby’s age. This includes corrected age for babies born early. It shows age in weeks and months.

A pregnant woman resting on a chair with a dog nearby.

Using the Calculator: A Step-by-Step Guide

This gestational age and due date calculator helps you find key pregnancy dates easily. First, identify which calculation method suits your situation best. You can choose from your last menstrual period, conception date, IVF transfer details, or a dating scan result. Each method requires specific information.

Next, input the required dates accurately into the tool. For example, if using your last menstrual period (LMP), enter the first day. If you know your cycle length, add that too. The calculator then processes this data. It provides your estimated due date and current gestational age in weeks and days.

  1. Select your preferred calculation method from the options provided.
  2. Enter the specific date or dates requested for your chosen method.
  3. Click the calculate button to see your results.
  4. Review the estimated due date and current gestational age displayed.

Understanding Your Results

The calculator provides two key pieces of information. It gives your estimated due date and your current gestational age. The due date is the day your pregnancy is expected to reach 40 weeks. It is a target date, not a guarantee. Most babies arrive close to this date, but not exactly on it.

Your gestational age is shown in weeks and days, for example, '15+2'. This means 15 weeks and 2 days pregnant. This number reflects how far along your pregnancy is from the first day of your last period. Healthcare providers use this age for all pregnancy milestones. It helps track fetal development and plan appointments.

Common Mistakes and How to Avoid Them

One common mistake for a gestational age calculator is entering the wrong date for your last menstrual period (LMP). Always use the first day of your last period, not the last day. Also, ensure you select the correct month and year. A small error here can shift your due date significantly. Double-check all entered dates before calculating.

Another error involves confusing conception date with LMP. These are two different starting points for calculations. The gestational age and due date calculator offers separate options for each. If you are unsure, consult your healthcare provider. Similarly, for IVF, ensure you select the correct transfer type (day-3 or day-5 embryo) for accurate results.

Frequently asked questions

How is gestational age calculated?

We count from the first day of the last menstrual period (LMP), not from conception. Conception usually happens about two weeks later, which is why we count you as “4 weeks pregnant” about two weeks after it.

How is the due date worked out?

LMP + 280 days (40 weeks), adjusted if your cycle is longer or shorter than 28 days. From a known conception date it is + 266 days; after IVF, + 261 days from a day-5 blastocyst transfer or + 263 days from a day-3 embryo transfer.

Which is more accurate, the period or the scan?

An ultrasound in the first trimester (up to 13 weeks 6 days) is the most accurate way to date a pregnancy. Doctors change the due date when the scan and the LMP date differ by more than a set number of days.

How many babies are born on the due date?

Only about 1 in 20. Most are born in the two weeks either side of it; 39 to 40 weeks 6 days is called full term.

Sources

Photo of Yasir Hafeez
Written and checked by Yasir Hafeez. Last reviewed October 16, 2026. Results are calculated with fixed rules and tested against an independent date library; see how we check.

More age tools

From the blog