LMP Calculator

Find the first day of the last menstrual period (LMP) that matches a due date, an ultrasound result or a conception date — or go from LMP to due date.

Calculation method

The due date your doctor or midwife gave you.

Cycle length (optional)

Usually 21–35 days. Leave at 28 if unsure.

Your estimated due date, week of pregnancy and trimester will appear here.

What does LMP mean?

LMP stands for last menstrual period. In pregnancy dating, “date of LMP” always means the first day of the last period — the first day of bleeding, not spotting and not the day it ended. Every pregnancy week, from the first scan to the due date, is counted from that day.

LMP to EDD and EDD to LMP

FromToFormula
LMPEDD (due date)LMP + 280 days
EDDLMPEDD − 280 days
Gestational age on a dateLMPdate − gestational age (in days)
Conception dateLMPconception − 14 days

Choose what you know above and the calculator gives the matching LMP. If your due date came from an ultrasound, the LMP it implies may differ from your actual period date — that “equivalent LMP” is the one your care team uses from then on.

If you don’t remember your last period

That is common. An early ultrasound can date the pregnancy instead; enter the scan date and the gestational age shown to get the equivalent LMP and due date. To predict future periods from a known LMP, use the Menstrual Calculator. To find how far along you are from your LMP on any date, use the Gestational Age Calculator.

First day of the last period

Doctors always ask for the first day of the last period — the 1st day of the last menstrual period, not the last day. If you are unsure of the first day last period started, check a diary or period app; even an approximate date gives a useful estimate until your first scan.

Frequently asked questions

What is the LMP date in pregnancy?

The first day of your last menstrual period. Pregnancy weeks are counted from that day.

How do I calculate LMP from my due date?

Subtract 280 days (40 weeks) from the due date.

How do I calculate LMP from gestational age?

Subtract the gestational age in days from the date it was measured. For example, 8 weeks 3 days (59 days) on June 1 gives an LMP of April 3.

Formulas reviewed and page updated October 6, 2026.