Days Until Baby Is Born Calculator

Days Until Baby Is Born Calculator

Growing AI Skill PRO

Enter Calculation

Formula

Days=⌈Due Date−Today86400000ms⌉\text{Days} = \left\lceil \dfrac{\text{Due Date} - \text{Today}}{86400000\,\text{ms}} \right\rceil
Usage stats

Advertisement

Results

Days Until Baby Is Born
0
days to go until the due date
In weeks 0 weeks
Weeks & days 0 weeks, 0 days
In months (approx.) 0 months

Report an error on this page

What is the Days Until Baby Is Born Calculator?

This countdown tool tells you exactly how many days are left until your baby's estimated due date. Pregnancy is often measured in weeks, but as the big day approaches many parents prefer a simple day-by-day countdown. Just enter the due date your midwife or doctor gave you, along with today's date, and the calculator shows the days, weeks, and approximate months remaining.

Pregnant person silhouette with a calendar countdown and a stork carrying a bundle, marking a due date
Counting down the days from today to your baby's due date.

How to use it

Enter your Estimated Due Date — this is the EDD (estimated date of delivery) provided after your dating scan or calculated from your last menstrual period. Then confirm Today's Date (it defaults to today). Press calculate and you'll instantly see how many days remain, the same span shown in whole weeks plus extra days, and a rough month estimate.

The formula explained

The calculator converts both dates to a millisecond timestamp, subtracts today from the due date, then divides by 86,400,000 (the number of milliseconds in one day). The result is rounded up with a ceiling function so a partial final day still counts as a full day to go. Weeks are simply days ÷ 7, and the approximate months figure uses the average month length of 30.4375 days.

$$\text{Days} = \left\lceil \frac{\text{Due Date} - \text{Today}}{86400000\,\text{ms}} \right\rceil$$

Advertisement
Timeline showing today on the left and due date on the right with the gap labeled as days remaining
The countdown is the gap between today and the due date, rounded up to whole days.

Worked example

Suppose today is 1 January 2025 and your due date is 31 January 2025. That span is 30 days, so the calculator shows 30 days remaining, equal to 4 weeks and 2 days, or about 0.99 months. As each day passes the countdown ticks down by one.

Interpreting Your Countdown Result

The calculator returns the number of days between today's date and your estimated due date (EDD). A full-term pregnancy is about 40 weeks, or 280 days, counted from the first day of the last menstrual period (LMP). Because the EDD sits at day 280, you can convert the countdown into gestational age:

$$\text{Gestational age (days)} = 280 - \text{days remaining}$$

Divide that by 7 to get weeks and days. For example, 100 days remaining means 280 − 100 = 180 days, which is 25 weeks and 5 days (25 × 7 = 175, remainder 5).

Trimester boundaries

  • First trimester: up to 13 weeks 6 days
  • Second trimester: 14 weeks 0 days to 27 weeks 6 days
  • Third trimester: from 28 weeks 0 days until birth

Term definitions (ACOG)

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

These categories follow the American College of Obstetricians and Gynecologists (ACOG) in the United States. Other countries and organizations may use slightly different wording or practices.

Negative results

A negative number means the due date has already passed. For example, −5 means you are 5 days past your EDD, or 40 weeks 5 days along.

Keep in mind: only about 5% of babies are born on their estimated due date. Most arrive in the weeks before or after it. The EDD is an estimate, and it may be revised after an ultrasound. This is general information, not medical advice. Follow your healthcare provider's guidance on your own due date and care.

Advertisement

Countdown Scenarios at Different Stages

The table shows how a given countdown converts into weeks, months, gestational age, and trimester. Months use the average month length of 30.4375 days, and gestational age is 280 minus days remaining.

Days remaining Weeks + days Approx. months (days ÷ 30.4375) Gestational age (280 − days) Trimester
200 28 weeks 4 days 6.57 80 days = 11w3d First
100 14 weeks 2 days 3.29 180 days = 25w5d Second
30 4 weeks 2 days 0.99 250 days = 35w5d Third
7 1 week 0 days 0.23 273 days = 39w0d (full term) Third
−5 (5 days overdue) 5 days past the due date −0.16 285 days = 40w5d (still full term) Third

Example of the arithmetic for the 200-day row: 200 ÷ 7 = 28 remainder 4, so 28 weeks 4 days. The months figure is 200 ÷ 30.4375 ≈ 6.57. Gestational age is 280 − 200 = 80 days, or 11 weeks 3 days (11 × 7 = 77, remainder 3), which falls in the first trimester.

These are estimates based on a 280-day pregnancy. Your provider may adjust your due date after an ultrasound, and this is general information, not medical advice.

FAQ

Is the due date exact? No. Only about 5% of babies arrive on their due date; most arrive within two weeks either side, so treat the countdown as an estimate.

What if the due date has already passed? The calculator will show a negative number, meaning that many days are now overdue.

Why is the months figure approximate? Calendar months vary from 28 to 31 days, so we use the average month length to give a smooth estimate.

Sources & References

  • Evaluation of the Obstetric Patient — MSD Manual Professional Edition (Merck & Co.). EDD sits at day 280 from the LMP, so gestational age = 280 - days remaining (article table). · Verified 2026-11-07
  • How Your Fetus Grows During Pregnancy — American College of Obstetricians and Gynecologists, patient FAQ. Trimester boundaries used in the article table: to 13w6d, 14w0d-27w6d, 28w0d+. · 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. Term definitions in the article: early 37w0d, full 39w0d-40w6d, late 41w0d, post 42w0d. · 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