Use this free pregnancy calculator to enter your last period date and cycle length to see your gestational age in weeks and days, your Naegele due date and your current trimester.
Pregnancy Calculator
Gestational age, due date and trimester from your last period date, with the cycle-length adjustment most simple tools skip.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Pregnancy Result
Calculated locally in your browser
—
Name
—
First day of last period
—
Cycle length
—
Calculate as of
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
To calculate gestational age, count the days from the first day of the last menstrual period to today and divide by seven. A last period starting 1 January measured on 29 January gives twenty eight days, exactly four weeks pregnant, and Naegele’s rule sets the due date 280 days after the period start.
- Due date = LMP + 280 days (Naegele), adjusted for cycle length
- Gestational age is counted from LMP, not conception
- Full term is 39-40 weeks; only ~4% arrive on the due date
Pregnancy milestones by gestational age
Reference values for this calculator.
| Milestone | Gestational age | Note |
|---|---|---|
| End of first trimester | 13 weeks 6 days | Miscarriage risk falls sharply |
| Anatomy scan window | 18-22 weeks | Standard ultrasound window |
| Viability threshold (approx.) | 23-24 weeks | Varies by centre |
| Full term (early) | 37 weeks | ACOG definitions begin |
| Due date | 40 weeks | 280 days from LMP |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Uses Naegele’s rule with a cycle-length adjustment, reports gestational age in days as the headline plus weeks+days, due date and trimester. Enhancement: the cycle adjustment and an explicit reference date make the result reproducible instead of silently using today.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
Four weeks exactly
LMP 2026-01-01, cycle 28, reference 2026-01-29
| Calculation | Steps |
|---|---|
| Days = 29 Jan - 1 Jan = 28 days = 4 weeks 0 days. Due date = 1 Jan + 280 days = 2026-10-08. | 28 days pregnant, 4 weeks 0 days, due 2026-10-08, first trimester. |
Result
Example 2
Fourteen weeks with a longer cycle
LMP 2026-01-01, cycle 35, reference 2026-04-09
| Calculation | Steps |
|---|---|
| Days = 98 = 14 weeks 0 days. Due date = 1 Jan + 280 + (35-28) = +287 days = 2026-10-15. | 98 days pregnant, second trimester, due date shifted a week later by the 35-day cycle. |
Result
Example 3
Twenty weeks at the anatomy scan
LMP 2026-01-01, cycle 28, reference 2026-05-21
| Calculation | Steps |
|---|---|
| Days = 140 = 20 weeks 0 days, inside the standard 18-22 week anatomy scan window. | 140 days pregnant, 20 weeks, second trimester. |
Result
How to use this calculator
Step 1
Enter the first day of your last menstrual period.
Step 2
Adjust cycle length if yours is not 28 days.
Step 3
Set the reference date, usually today.
Step 4
Read gestational age in days, weeks and days.
Step 5
Take the due date as an estimate window of about two weeks either side.
Frequently asked questions
How is the due date calculated?
By Naegele’s rule: add 280 days (40 weeks) to the first day of the last period, adjusted by the difference between your cycle length and 28 days. It assumes ovulation on day 14 of a 28-day cycle.
How accurate is a due date?
Only about 4% of babies are born on their due date; most arrive within two weeks either side. A first-trimester ultrasound dating is usually more accurate than LMP dating.
What if my cycles are irregular?
LMP dating can be off by weeks with irregular cycles. Enter your average cycle length as a rough adjustment and rely on the dating ultrasound your clinician orders.
Which trimester am I in?
First trimester runs to 13 weeks 6 days, second from 14 weeks to 27 weeks 6 days, and third from 28 weeks until birth. This tool reports the trimester from your gestational age.
Does this replace medical advice?
No. It is an estimate for planning only; your clinician’s dating, based on history and ultrasound, overrides any calculator.
About this calculator
A pregnancy calculator works out how far along a pregnancy is — gestational age in days, weeks and days — from the first day of the last menstrual period, and projects the due date with Naegele’s rule. It also names the current trimester, which is how appointments and screening windows are scheduled.
Obstetrics counts pregnancy from the last period, not from conception, because the period date is knowable and conception day usually is not. That is why you are already about two weeks “pregnant” at ovulation and four weeks at a missed period.
Naegele’s rule adds 280 days to the LMP. Its hidden assumption is a 28-day cycle with ovulation on day 14; this calculator corrects for that by shifting the due date by (your cycle minus 28) days, which matters for women with 35-day cycles, whose ovulation is typically a week later.
Use it after a positive test to estimate your week, plan the first midwife or OB appointment, and understand screening windows quoted in weeks. Use the reference-date field to answer “how far along will I be on a given date” for travel or event planning.
How to calculate it yourself
Step 1
Find the first day of your last period (day 1, not the last day).
Step 2
Count the days from that date to today — that is gestational age in days.
Step 3
Divide by 7: the quotient is completed weeks, the remainder is extra days.
Step 4
Add 280 days to the LMP, plus (cycle length - 28) days, for the due date.
Step 5
Match completed weeks to the trimester bands for screening windows.
Real-life examples
Planning a holiday around the due date
A couple with an LMP of 1 January 2026 want to know how far along the pregnancy will be for a trip on 21 May 2026, and when the baby is due.
Reference 2026-05-21 gives 140 days = 20 weeks 0 days, mid-second trimester, a common comfortable travel window; due date is 2026-10-08.
20 weeks on the trip date; due 2026-10-08.
Long cycles, later due date
A woman with regular 35-day cycles gets an LMP of 1 January 2026 and is told a flat 40-week date by a simple app, which feels early to her clinician.
With the cycle adjustment the due date is LMP + 287 days = 2026-10-15, a week later than the unadjusted 2026-10-08, matching her later ovulation.
Adjusted due date 2026-10-15 instead of 2026-10-08.
Ideas & use cases
- Plan backwards from the due date: set the reference date to a wedding, flight or work deadline to see your week on that day before committing.
- Compare LMP dating with a dating scan: if the scan moves the date by more than about a week in the first trimester, clinicians usually keep the scan date.
- Use the trimester output to time screening: enter future reference dates to see when the 18-22 week anatomy window opens for you.
Limitations & sources
- Estimate only, based on LMP and an assumed ovulation day; irregular cycles, IVF pregnancies and ultrasound dating can shift the real due date. It does not diagnose pregnancy or replace antenatal care.
Sources: Naegele’s rule as described in standard obstetrics references; ACOG Committee Opinion on methods for estimating the due date (No. 700) · NHS pregnancy due date guidance: pregnancy lasts about 280 days from LMP
