Health & Life Runs locally Ready to use Built-in examples No tracking

Ovulation Calculator

Enter cycle length and last period date to get ovulation day, fertile window and next period.

Anyone trying to conceive counts the ovulation day, but the common rule of counting days after a period ends is unreliable — the clinical approach fixes the next period first and counts back 14 days. Enter the cycle length and the last period date, and this page gives roughly which day ovulation falls on, which days make up the most fertile window, and when the next period is due, with a comparison across cycles of 24 to 32 days.

On the conventions and the limits: ovulation is taken as 14 days before the next period, the luteal phase being comparatively fixed, and the error grows when cycles are irregular; the fertile window runs from five days before ovulation to one day after. This is a calendar estimate and does not apply with PCOS, during breastfeeding or around the menopause transition; ovulation tests or a scan are the better monitor when trying to conceive.

How to use

  1. Enter the average cycle length and the last period date.
  2. Read the estimated ovulation day and fertile window.
  3. Check the next period date and the cycle-length comparison.
  4. Use ovulation tests alongside it if cycles are irregular.

How it works

How the ovulation day is projected

The convention is "14 days before the next period": the luteal phase (ovulation to menstruation) averages about 14 days in the population and is relatively stable, so the next period date is set by the cycle length and the ovulation day is back-solved. A 28-day cycle ovulates on day 14; a 35-day cycle on day 21; longer cycles ovulate later.

Why the fertile window is 5+1 days

The fertile window is 5 days before to 1 day after ovulation, based on gamete survival: sperm survive in the female reproductive tract about 3-5 days, and the egg can be fertilized within about 24 hours of release. So the highest conception probability isn't ovulation day itself but 1-2 days before. For a 28-day cycle with an LMP of August 1, ovulation is August 15 and the fertile window August 10-16.

When not to use it

The failure scenarios must be stated: with irregular cycles (PCOS, thyroid issues, breastfeeding, perimenopause) the "fixed 14-day luteal phase" assumption notably breaks down; with cycles shorter than 21 days or longer than 40, the tool refuses outright, as that's a range needing medical evaluation. More importantly: **it can't be used as contraception** — the calendar method's typical-use annual failure rate can exceed 20%.

Calculation basis: ovulation = next period − 14 days (the average luteal phase assumption), with a fertile window from 5 days before to 1 day after ovulation. The method is markedly less accurate for irregular cycles and must not be used as contraception; cycle lengths are limited to 21–40 days, and anything outside that range suggests seeing a doctor.

Code example

JavaScript Ovulation from the calendar method

const DAY = 86400000;

function ovulation(lmp, cycleDays) {
  const t = new Date(lmp).getTime();
  const next = t + cycleDays * DAY;
  const ovu = next - 14 * DAY;              // the luteal phase is a fixed 14 days
  return {
    ovulation: new Date(ovu),
    window: [new Date(ovu - 5 * DAY), new Date(ovu + 1 * DAY)],
    nextPeriod: new Date(next)
  };
}

Python The same formulas in Python

from datetime import date, timedelta

def ovulation(lmp, cycle_days):
    t = date.fromisoformat(lmp)
    ovu = t + timedelta(days=cycle_days - 14)
    return {"ovulation": ovu,
            "window": (ovu - timedelta(days=5), ovu + timedelta(days=1)),
            "next": t + timedelta(days=cycle_days)}

# Back-solved from a fixed 14-day luteal phase; the error grows with irregular cycles

FAQ

How exactly is the ovulation day computed?

By counting 14 days back from the next period. A 28-day cycle is day 14 (with the LMP's first day as day 1), a 35-day cycle day 21. The longer the cycle, the later the ovulation.

Why is 1 day after ovulation also fertile?

Sperm survive about 3-5 days in the body and the egg can be fertilized within about 24 hours of release, so 5 days before to 1 day after ovulation is all potentially fertile; the probability is highest 1-2 days before.

Can the safe period be used for contraception?

No. The 14-day luteal phase is only an average, with individual variation of several days, and the calendar method's typical-use annual failure rate exceeds 20%. Use reliable methods like condoms, combined oral contraceptives or IUDs.

How do I compute with an irregular cycle?

The formula breaks down. Record for 3+ months to average and observe fluctuation; if the cycle is under 21 days or over 40, or clearly irregular, seek medical evaluation for PCOS, thyroid or endocrine issues first.

Are there physical signs at ovulation?

Some people feel one-sided lower-abdominal aching, clearer stretchy discharge, or a 0.3-0.5°C basal temperature rise. But none are reliable indicators: basal temperature only confirms ovulation after the fact, not predicts it.

How should I use this while trying to conceive?

Have intercourse every 1-2 days within the fertile window; no need to abstain to "save up." Regular intercourse is no less likely to conceive than targeting only the ovulation day. If conceiving after a full year of regular trying (6 months if over 35), see a doctor.

Is my cycle data uploaded?

No. Cycle length and dates are used only in your browser, and the site neither receives nor saves them; history stays only in your browser, clearable anytime, gone on close in incognito mode.