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.
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$$
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.
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.