Edd Calculator By Weeks



Calculating the Estimated Due Date (EDD) during pregnancy is crucial for both healthcare providers and expecting parents. An accurate EDD helps in monitoring the baby’s development and planning for the delivery. To simplify this process, we present an EDD calculator using HTML and JavaScript.

How to Use

  1. Enter the first day of your last menstrual period (LMP) in the provided input field.
  2. Click the “Calculate” button to get the estimated due date.
  3. The result will be displayed below the input field, providing the EDD in weeks.


The calculation of the EDD is commonly done using Naegele’s Rule. The formula is as follows:

Where is the first day of the last menstrual period.


Suppose the LMP is January 1, 2023.

EDD=January 1, 2023+280 days=October 8, 2023


Q1: Why is the EDD important?

A1: The EDD helps healthcare providers track the pregnancy’s progress and plan for delivery, ensuring optimal care for both mother and baby.

Q2: Is Naegele’s Rule always accurate?

A2: While Naegele’s Rule is a standard method, individual variations can occur, and ultrasound assessments may provide more accurate results.

Q3: Can the EDD change during pregnancy?

A3: Yes, factors like irregular menstrual cycles or conception occurring at a different time can lead to adjustments in the estimated due date.


Our EDD calculator simplifies the process of determining the due date during pregnancy. It uses the widely accepted Naegele’s Rule to provide an estimate based on the first day of the last menstrual period. This tool proves valuable for healthcare professionals and expecting parents alike in ensuring a smooth and well-prepared journey towards childbirth.

Leave a Comment