Gestational Age from Ultrasound Calculator

Gestational Age from Ultrasound Calculator

Popular AI Skill PRO

Enter Calculation

Formula

EDD=Scan Date+(280−g) dayswhere{g=7×GA Weeks+GA DaysScan Date=(Y,M,D)\begin{gathered} \text{EDD} = \text{Scan Date} + \left(280 - g\right)\text{ days} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} g &= 7 \times \text{GA Weeks} + \text{GA Days} \\ \text{Scan Date} &= \left(\text{Y},\ \text{M},\ \text{D}\right) \end{aligned} \right. \end{gathered}
Show calculation steps (1)
  1. Gestational Age Today

    GAtoday=(g+Δ) days=⌊g+Δ7⌋ wk+[(g+Δ)mod7] dwhere{g=7×GA Weeks+GA DaysΔ=(Y,M,D)−(Y,M,D)\begin{gathered} \text{GA}_{\text{today}} = \left(g + \Delta\right)\text{ days} = \left\lfloor \tfrac{g+\Delta}{7} \right\rfloor\text{ wk} + \left[(g+\Delta)\bmod 7\right]\text{ d} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} g &= 7 \times \text{GA Weeks} + \text{GA Days} \\ \Delta &= \left(\text{Y},\ \text{M},\ \text{D}\right) - \left(\text{Y},\ \text{M},\ \text{D}\right) \end{aligned} \right. \end{gathered}

    Elapsed = Today − Scan Date (in days); GA today = g + Elapsed, expressed as weeks and days

Usage stats

Advertisement

Results

Estimated Due Date (EDD)
2024-8-23
based on 280-day full-term gestation
Gestational age today 8 weeks 3 days
Gestational age today (total days) 59
GA at scan (days) 59
Days from scan to EDD 221

For reference only — not a substitute for a clinician's assessment.

Report an error on this page

What this calculator does

An early ultrasound is the most accurate way to date a pregnancy. This tool takes the date of the scan and the gestational age (GA) the sonographer measured at that scan — for example "8 weeks 3 days" — and works out the estimated due date (EDD) plus how many weeks and days pregnant you are today. Dating is based on the standard 280-day (40-week) full-term gestation.

How to use it

Enter the scan date, the gestational age recorded at the scan (weeks and days), and today's date. The calculator returns the EDD as a calendar date and your current gestational age in weeks + days.

Ultrasound scan with scan date and measured gestational age as inputs
Enter the date of the scan and the gestational age (weeks and days) reported on it.

The formula

First the scan GA is converted to days: \(\text{GA}_{\text{scan}} = \text{weeks} \times 7 + \text{days}\). The days still needed to reach a full 280-day term is \(280 - \text{GA}_{\text{scan}}\), and adding that to the scan date gives the EDD. Current gestational age is the scan GA plus the number of days elapsed between the scan date and today.

$$\text{EDD} = \text{Scan Date} + \left(280 - g\right)\text{ days}$$$$\text{where}\quad \left\{ \begin{aligned} g &= 7 \times \text{GA Weeks} + \text{GA Days} \\ \text{Scan Date} &= \left(\text{Y},\ \text{M},\ \text{D}\right) \end{aligned} \right.$$
Advertisement
Timeline showing scan date, measured gestational age, and remaining days to estimated due date
The EDD is the scan date plus the remaining days (280 minus the gestational age measured at the scan).

Worked example

Scan on 2024-01-15 measuring 8 weeks 3 days.

$$\text{GA}_{\text{scan}} = 8 \times 7 + 3 = 59\text{ days}$$$$\text{Days to term} = 280 - 59 = 221$$

Adding 221 days to 2024-01-15 gives an EDD of 2024-08-23. If today is the scan date, current GA is still 8w 3d (59 days).

Interpreting Your Gestational Age and EDD

The calculator counts forward from your scan date: \(\text{EDD} = \text{Scan Date} + (280 - g)\) days, where \(g = 7 \times \text{weeks} + \text{days}\) is the gestational age (GA) measured at the scan. It assumes a full pregnancy of 280 days (40w0d).

The EDD is a midpoint estimate, not a deadline. Only about 4-5% of babies are born on the EDD. Normal, healthy births are spread over several weeks around it.

The American College of Obstetricians and Gynecologists (ACOG) defines these term categories:

  • Early term: 37w0d to 38w6d
  • Full term: 39w0d to 40w6d
  • Late term: 41w0d to 41w6d
  • Post-term: 42w0d and beyond

Trimester boundaries commonly used: first trimester up to 13w6d, second trimester 14w0d to 27w6d, third trimester from 28w0d onward. Some sources draw these lines slightly differently.

Ultrasound measurements taken early in pregnancy (especially in the first trimester) are generally considered more accurate for dating than the last menstrual period (LMP), because early embryos grow at very similar rates. Whether to keep an LMP-based date or change it to the ultrasound date is a decision for your clinician, who uses your scan details and guidelines. The earlier the scan, the narrower the margin of error; later scans are less precise for dating.

This is general information, not medical advice. Always confirm your dates with your healthcare provider.

Gestational Age Reference: Trimesters and Term Definitions

Day counts are total days since the start of GA (0w0d = day 0), using \(\text{days} = 7 \times \text{weeks} + \text{days}\). Term categories follow ACOG; preterm (<37 weeks) matches the WHO definition. Trimester limits vary slightly between sources.

Milestone Range (weeks+days) Range (total days)
First trimester 0w0d to 13w6d 0 to 97
Second trimester 14w0d to 27w6d 98 to 195
Third trimester 28w0d until birth 196 onward
Preterm before 37w0d fewer than 259
Early term 37w0d to 38w6d 259 to 272
Full term 39w0d to 40w6d 273 to 286
Late term 41w0d to 41w6d 287 to 293
Post-term 42w0d and beyond 294 or more
EDD reference point 40w0d 280
Advertisement

Scenario Comparison: Different Scan Dates and Gestational Ages

Each row uses \(\text{EDD} = \text{Scan Date} + (280 - g)\) days. The last column shows the GA 30 days after the scan (\(g + 30\)). Scenarios 3 and 4 cross into 2028, a leap year (February has 29 days), which is accounted for in the day counts.

# Scan date GA at scan g (days) Days to term (280 − g) EDD GA 30 days after scan
1 2025-03-03 6w0d 42 238 2025-10-27 10w2d (72 days) on 2025-04-02
2 2025-06-10 8w3d 59 221 2026-01-17 12w5d (89 days) on 2025-07-10
3 2027-11-15 12w0d 84 196 2028-05-29 16w2d (114 days) on 2027-12-15
4 2028-02-29 20w0d 140 140 2028-07-18 24w2d (170 days) on 2028-03-30

Check of scenario 3 (leap year)

November 15, 2027 is day 319 of 2027 (304 days through October + 15). Adding 196 days gives \(319 + 196 = 515\). Subtracting the 365 days of 2027 leaves day 150 of 2028. In a leap year, January to April total 121 days, so day 150 is \(150 - 121 = 29\) May: May 29, 2028.

Check of scenario 4

February 29, 2028 is day 60 of 2028. Adding 140 days gives day 200. January to June total 182 days in a leap year, so day 200 is July \(200 - 182 = 18\): July 18, 2028.

Earlier scans generally give a more reliable EDD than later ones. These are arithmetic examples only; your clinician decides which dating to use.

FAQ

Is ultrasound dating better than LMP dating? Yes — first-trimester ultrasound is generally more accurate than dating from the last menstrual period, especially with irregular cycles.

What is the 280-day rule? A full-term pregnancy is conventionally counted as 280 days (40 weeks) of gestational age.

Will my real due date change? Clinicians may adjust dating after later scans; this calculator reflects the single scan you enter and is for information only, not medical advice.

Sources & References

  • Evaluation of the Obstetric Patient — MSD Manual Professional Edition (Merck & Co.), Gynecology and Obstetrics. EDD = LMP + 280 days (40 weeks) for a regular 28-day cycle; Naegele's rule; first-trimester ultrasound most accurate. · Verified 2026-11-07
  • Methods for Estimating the Due Date — American College of Obstetricians and Gynecologists, Committee Opinion No. 700 (May 2017, reaffirmed 2025), Obstet Gynecol 2017;129(5):e150-e154, PMID 28426621. ACOG: GA and EDD are set from the LMP and/or the first accurate ultrasound; a pregnancy without an ultrasound before 22 0/7 weeks is suboptimally dated. · Verified 2026-11-07
  • ACOG Committee Opinion No 579: Definition of term pregnancy — American College of Obstetricians and Gynecologists, Obstet Gynecol 2013;122(5):1139-1140, doi:10.1097/01.AOG.0000437385.88715.4a, PMID 24150030. Term categories: early term 37 0/7-38 6/7, full term 39 0/7-40 6/7, late term 41 0/7-41 6/7, postterm 42 0/7 and beyond. · Verified 2026-11-07
  • Evaluation of the Obstetric Patient — MSD Manual Professional Edition (Merck & Co.), Gynecology and Obstetrics. Delivery before 37 weeks is preterm; after 42 weeks postterm. · Verified 2026-11-07

Checked against these sources on . Not reviewed by a clinician. For general information only, not medical advice or a diagnosis. Talk to a doctor about any health concern.

Last updated:

Most popular in Time and Date

View all Time and Date calculators