How this works
A typical menstrual cycle has two phases: the follicular phase (from the first day of your period until ovulation) and the luteal phase (from ovulation until the next period). The luteal phase is remarkably consistent across cycles and across women — almost always 12-16 days, with 14 the population mode. The follicular phase is what varies; it can be anywhere from 7 to 30+ days, which is why total cycle length varies between people and between cycles for the same person. Because the luteal phase is constant, the standard ovulation prediction works backward from the next expected period: if your cycle is 28 days and your luteal phase is 14 days, you ovulate around day 14 (28 − 14). If your cycle is 32 days, you ovulate around day 18.
The fertile window is the 6-day span ending on ovulation day. Sperm survive in the female reproductive tract for up to 5 days; the egg itself only lives 12-24 hours after release. So the days you can conceive are the 5 days before ovulation plus ovulation day itself — anything later and the egg is no longer viable. Pregnancy probability per day rises through this window, peaks the day before ovulation (not the day of), and drops sharply afterward. This is why people trying to conceive who only time intercourse to the predicted ovulation day often miss — the highest-probability day is actually the day before.
Three caveats. (1) The 14-day luteal phase is an average; individuals may have a 12 or 16 day luteal phase consistently, which shifts the prediction by a few days. If you can track basal body temperature or use ovulation predictor kits (LH surge tests), you'll get a more personalised estimate. (2) The model assumes a regular cycle. PCOS, perimenopause, breastfeeding, stress, weight changes, and various hormonal conditions can produce anovulatory cycles or wildly variable cycle lengths — in which case calendar prediction is unreliable and you should use ovulation tests or speak to a clinician. (3) For contraception, calendar methods are notoriously unreliable (~24% annual failure rate even when used perfectly) because the fertile window can shift unpredictably from cycle to cycle. Use this calculator for trying-to-conceive timing, not as a contraceptive method.
The formula
LMP is the first day of your last menstrual period — day one of bleeding, not the day before. cycle_length is the average number of days from one period start to the next; track 3+ cycles to get a reliable average. luteal_phase_length defaults to 14 days; if you've confirmed yours via temperature charting or LH tests, use that instead. The 5-day fertile window before ovulation accounts for sperm survival.
Example calculation
- Your last period started on the 1st of the month. Your cycle is 28 days. Your luteal phase is the standard 14 days.
- Ovulation = day 1 + (28 − 14) = day 15 of the month.
- Fertile window = day 10 through day 15 (5 days before ovulation through ovulation day). Highest probability is day 14.
- Next period expected on day 1 + 28 = day 29. If your cycle were 32 days instead, ovulation shifts to day 18 (32 − 14) and the fertile window becomes day 13 to day 18.
Frequently asked questions
How accurate is calendar-based ovulation prediction?
Reasonably accurate (within 1-3 days) for women with regular cycles, but only a starting point for irregular cycles. The 14-day luteal-phase assumption holds for ~70% of women; the rest run 12 or 13 days (more common) or 15-16 days. Even within one woman, ovulation can shift by a few days month to month due to stress, illness, sleep changes, or travel. For higher accuracy, layer on basal body temperature (BBT) charting or ovulation predictor kits (OPKs) — BBT confirms ovulation retrospectively (a temperature rise of 0.2-0.5°C the day after) and OPKs detect the LH surge that triggers ovulation 24-36 hours before it happens. The combination of calendar prediction + OPKs + BBT is the gold standard for trying-to-conceive timing without medical intervention.
My cycle isn't exactly 28 days. Will the calculator still work?
Yes — that's exactly what the cycle-length input is for. The 28-day cycle is a population average, not a requirement. Plug in your actual average cycle length and the math handles the rest. Cycle lengths between 21 and 35 days are considered normal medically. If your cycles vary by more than 7-8 days from one month to another, that's clinically called "irregular" and calendar prediction becomes unreliable — in that case, use the calculator with your average cycle length to get a rough fertile window, then layer ovulation tests for confirmation. Track your cycles for at least 3 months to compute a meaningful average; period-tracking apps (Clue, Flo, Natural Cycles) automate this and many also incorporate temperature data.
Can I use this calculator for natural family planning / contraception?
No — calendar-only methods are not recommended for contraception. The CDC and WHO list them as among the least effective forms of contraception, with annual failure rates of 12-24% in typical use. The fertile window can shift unpredictably from cycle to cycle (illness, stress, travel, hormonal swings), and a single shifted ovulation can result in an unintended pregnancy. If you want a fertility-awareness-based contraceptive method, the symptothermal method (combining BBT, cervical mucus tracking, and calendar) is the most effective family-planning approach (~2-5% failure rate when used perfectly) but requires daily monitoring and proper training, ideally with a certified FAM educator. For reliable contraception with no daily compliance burden, IUDs, implants, and injections are 99%+ effective. Speak to a healthcare provider about what fits your goals.