Estimated Due Date
{{ dueDateText }}
{{ weeks }} wks {{ daysLeft }} days left {{ trimester }} trimester
dd/mm/yyyy
days
days
days
days
days
Metric Value Copy
{{ r.label }} {{ r.value }}
WeekStartEnd
{{ row.w }} {{ row.s }} {{ row.e }}
MilestoneDate
{{ m.name }} {{ m.date }}
{{ sizeWeek }}
Length{{ lengthDisplay }}
Weight{{ weightDisplay }}

                

Introduction:

Pregnancy due dates are calendar estimates that connect the start of a pregnancy to a likely birth window. They help plan appointments and prepare support at home and at work so you can organize the next months with less guesswork.

Enter either the date of the last period or a conception date, then review the estimated due date together with weeks of gestation, days remaining, and trimester. You can also preview fetal length and weight by week and copy neatly formatted summaries for your records.

A common flow is to use the last period, leave the default settings in place, and note the due date and trimester span. If cycle length differs from the usual pattern, adjust the cycle field so the calendar aligns better with your history.

Results are estimates and real timelines vary. Use consistent dates and units, repeat entries if details change, and treat the output as planning guidance only. This tool provides informational estimates and does not substitute professional advice.

Technical Details:

The calculator models gestational age and an estimated due date from a start reference. The reference is either the last menstrual period or a conception date that is converted to an equivalent reference. Outputs include the due date, gestational days and weeks, a trimester label, remaining days, and a lightweight projection of fetal length and weight by week.

The core computation anchors all dates to a base start date and adds a configurable gestation length. When the last period is used, the cycle length adjustment shifts the due date relative to a base cycle. When the conception method is selected, an internal two‑week offset is applied for gestational age calculations.

Trimester labeling follows week bands of zero to twelve, thirteen to twenty seven, and twenty eight to forty. Progress is the fraction of gestational days completed, expressed as a percentage with one decimal place, and remaining days are the difference between the configured gestation and days elapsed.

D = B + T + (CC) + O G = clamp(0,T, todayB + X)

Where B is the base start date, D is the due date, T is the gestation length in days, C is the cycle length, C₀ is the base cycle, O is an optional calendar offset, G is gestational days, and X is an internal offset used only when the conception method is selected.

Symbols and units
SymbolMeaningUnit/DatatypeSource
BBase start date (LMP or conception adjusted)datederived
DEstimated due datedatederived
TGestation lengthdaysinput
CCycle lengthdaysinput
C₀Base cycle (reference)daysinput
ODue date offsetdaysinput
GGestational agedaysderived
XGestational offset for conception methoddaysconstant (=14)
Worked example. Last period on 01/01/2025; T=280, C=28, C₀=28, O=0.
Using D = B + T + (C − C₀) + O, the due date is 08/10/2025. Interpretation: week labels place this result in the third trimester as that date approaches.
Trimester bands
Threshold BandLower Bound (weeks)Upper Bound (weeks)InterpretationAction Cue
1st trimester012Early development window.Confirm dates and early scans as advised.
2nd trimester1327Mid pregnancy milestones.Plan screening and anatomy scan.
3rd trimester2840Late preparation period.Finalize support and time off.

Validation & bounds extracted from the code

Inputs and validation
FieldTypeMinMaxStep/PatternError TextNotes
Methodselectlast | conceptionChoose calculation basis.
Datedateyyyy‑mm‑ddInvalid date.Required to compute results.
Cycle lengthnumber101Warning if outside 10 to 60; tooltip cites 24 to 35 typical.
Gestation lengthnumber2503101Warning if far from 250 to 310.
Base cyclenumber20601Reference for cycle adjustment.
EDD offsetnumber1Shifts the due date by days.
Working days per weeknumber071Used to estimate working days left.
General warningsDue date is before the start date.Shown when inputs conflict.

Units, precision & rounding

  • Dates render as dd/mm/yyyy using the device locale fallback when needed.
  • Gestational days use whole days with floor rounding; progress shows one decimal place.
  • Working days left uses nearest integer rounding.
  • Fetal length shows centimetres or inches; inches round to one decimal.
  • Fetal weight shows kilograms or pounds; both round to two decimals.

I/O formats & encoding

Inputs and outputs
InputAccepted FamiliesOutputEncoding/PrecisionRounding
Start dateDate picker valueFormatted datesdd/mm/yyyy stringsCalendar day
NumbersIntegersPercent, counts1 decimal for percentFloor or nearest as above
ExportCSV, JSONSummary, timeline, milestonesPlain textExact values

Networking & storage

Computation runs in your browser and no server requests are made for entered data. Clipboard and download actions create local files and copies only.

Assumptions & limitations

  • Base gestation default is 280 days and may not reflect individual history.
  • Conception method applies an internal two week offset to gestational age.
  • Inputs outside suggested bands display warnings but remain usable.
  • Dates use your device time zone; close to midnight may shift day labels.
  • Fetal size values are fixed reference points for weeks five to forty.
  • Progress caps at the configured gestation length.
  • Working days left scales linearly with the weekly setting.
  • Heads‑up Valid dates do not imply a clinical schedule.

Edge cases & error sources

  • Blank or unparsable date prevents calculation.
  • Start date after today yields zero gestational days until that date passes.
  • Due date before the start date triggers a warning.
  • Very large positive or negative offsets can produce confusing timelines.
  • Cycle length below ten or above sixty prompts a caution.
  • Gestation below 250 or above 310 prompts a caution.
  • Daylight saving transitions can shift local midnight boundaries.
  • Switching units changes rounding in displayed size values only.
  • Copy to clipboard may require user permission.
  • JSON and CSV reflect exactly what is shown, including rounding.

Privacy & compliance

No data is transmitted or stored server‑side. This tool provides informational estimates and does not substitute professional advice.

How‑to Guide:

Pregnancy due dates and trimester timing are calculated from a start reference and simple options.

  1. Select Last period or Conception date.
  2. Pick the calendar date.
  3. (If using last period) Enter cycle length if it differs from your reference cycle.
  4. Open Advanced to adjust gestation length, base cycle, or add an offset.
  5. Review the summary, timeline, and trimester rows.
  6. Use the size week slider to preview length and weight.
  7. Copy or download CSV and JSON if you need to share or archive.

You now have a dated plan you can revisit and adjust as details change.

FAQ:

Is my data stored?

No. All calculations run in your browser and files are created locally. Nothing is uploaded or retained on a server.

Clipboard access may prompt for permission.
How accurate is the due date?

It is an estimate based on entered dates and settings. Real timelines vary and clinical recommendations may differ.

Use it to plan, not to diagnose.
Which units and formats are used?

Dates show as dd/mm/yyyy. Length shows centimetres or inches and weight shows kilograms or pounds based on the unit switch.

Can I work without a connection?

Yes. After the page loads, calculations do not require a connection because they use only your local device.

How are trimesters defined here?

First is weeks zero to twelve, second is thirteen to twenty seven, and third is twenty eight to forty.

How is gestational age from conception handled?

The conception method converts the date to a last period reference and then applies a two week offset to gestational days.

Can I export the results?

Yes. You can copy CSV to the clipboard or download CSV and JSON summaries for sharing or record keeping.

What does a borderline week mean?

Values near a band edge can label either side after rounding. Focus on the date span rather than a single day.

Glossary:

Estimated Due Date (EDD)
Projected birth date from inputs and settings.
Last Menstrual Period (LMP)
Start reference when using the last period method.
Gestational Age
Elapsed days since the base start, reported in days and weeks.
Cycle Length
Number of days in a menstrual cycle used for adjustment.
Base Cycle
Reference cycle against which adjustments are calculated.
EDD Offset
Manual shift in days applied to the due date.