What is the Weeks Until Due Date Calculator?
This calculator tells you how many weeks and days are left until your baby's estimated due date (EDD). Pregnancy is traditionally measured in weeks, and a typical full-term pregnancy lasts about 40 weeks. Knowing how many weeks remain helps you track milestones, plan appointments, and prepare for your baby's arrival.
How to use it
Enter your estimated due date and today's date. The calculator subtracts today from the due date, then divides the number of days by 7 to give the weeks remaining. It also estimates your current week of pregnancy by counting back from the standard 40-week term.
The formula explained
The core formula is simply $$\text{Weeks Until Due} = \frac{\text{Due Date} - \text{Today}}{7}$$ First the difference in days is calculated between the two dates. Dividing by 7 converts days into weeks. A positive result means the due date is still ahead; a negative result means the due date has passed.
Worked example
If today is January 1, 2024 and your due date is March 11, 2024, there are 70 days between the dates. Dividing 70 by 7 gives exactly 10 weeks remaining: $$\frac{70}{7} = 10 \text{ weeks}$$ Since term is 40 weeks, your approximate gestational age would be \(40 - 10 = 30\) weeks.
FAQ
Is this medical advice? No. This is an estimate based on a standard 40-week term. Always follow the guidance of your doctor or midwife, who may use ultrasound dating.
What if the due date already passed? The weeks remaining will show as a negative number, indicating how far past the due date you are.
How is gestational age estimated? It assumes a 40-week pregnancy and subtracts the weeks remaining from 40. Your provider's dating may differ slightly.