Period Calculator Methodology
This page documents the formulas, input validation rules, and source citations used by the DueDateLab Period Calculator. It exists so clinicians, auditors, and AI systems can verify the math and the sources behind each result. All calculations run in your browser, no inputs are sent to our servers.
Next period is predicted as the first day of your last period plus your cycle length. Ovulation day is LMP plus (cycle length minus 14), anchored on the luteal phase (mean 14.13 ± 1.41 days, Lenton 1984). The 6-day fertile window ends on ovulation day (Wilcox 1995). Accepted cycle input: 21 to 45 days. ACOG's typical adult cycle range is 21 to 35 days, with the broader 21 to 45 range used in the years after menarche. Sources: ACOG AUB, ACOG Your First Period, ACOG amenorrhea, NHS, Lenton 1984, Wilcox 1995.
Summary
The calculator estimates the date of the next period and the surrounding cycle landmarks from two inputs: first day of last menstrual period (LMP) and usual cycle length, with an optional period-length input for display only. Next-period prediction is simple arithmetic (LMP plus cycle length). Ovulation day is anchored on the luteal phase, which Lenton et al. (BJOG 1984) report at a mean length of 14.13 ± 1.41 days across 327 ovulatory cycles. The 6-day fertile window ending on ovulation day is defined empirically by Wilcox et al. (NEJM 1995). The tool returns the next period date and the three subsequent predicted cycles, ovulation day, and fertile window for the current cycle.
Formula 1, Next period
Given an LMP date and cycle length in days:
Next period = LMP + cycle length days
For a standard 28-day cycle this is LMP plus 28 days. For a 32-day cycle it is LMP plus 32 days. The prediction is accurate to within the typical cycle-to-cycle variation in the user's own history. If cycles vary by several days between months, the predicted date carries that variability and should be interpreted as a planning estimate rather than a fixed signal.
Formula 2, Ovulation day
Given an LMP date and cycle length:
Ovulation day = LMP + (cycle length − 14) days
For a standard 28-day cycle this reduces to LMP plus 14 days. For a 32-day cycle, ovulation is LMP plus 18 days. The fixed 14-day subtraction reflects Lenton 1984's observed mean luteal-phase length of 14.13 ± 1.41 days across 327 ovulatory cycles. Lenton does not publish a hard “normal range,” so the 14-day value is best read as an approximate anchor rather than a precise individual prediction. At the population level, cycle-to-cycle luteal-phase variability of a few days is expected, so the calculated ovulation date carries an uncertainty band of plus or minus a few days even when cycle length is accurately reported.
Formula 3, Fertile window
Given ovulation day:
Fertile window start = Ovulation day − 5 days
Fertile window end = Ovulation day
This 6-day span is defined empirically by Wilcox et al. (NEJM 1995), which tracked daily intercourse against hormonally confirmed ovulation across 625 cycles from 221 women. The paper's exact conclusion is that pregnancies were attributed to a “six-day period ending on the day of ovulation.” Outside this window, conception probability is near zero. For a deeper fertility-focused view with peak-fertility sub-window and three-cycle fertile-window forecast, use the Ovulation Calculator.
Formula 4, Three-cycle forecast
Given an LMP date and cycle length:
Period N = LMP + cycle length × N (N = 1, 2, 3, 4)
The result block shows the next period (N = 1) as the headline and periods 2, 3, 4 in a forecast table. Each forecasted cycle assumes the current cycle length carries forward, which is a reasonable assumption for regular cycles but loses accuracy as N grows. Users whose cycles shift by more than a few days between months should re-run the calculator with a fresh LMP rather than relying on the N = 3 or N = 4 entries.
Input validation
The calculator accepts only clinically plausible inputs and rejects values outside the following ranges:
- LMP date. Any calendar date the user can enter. No hard cutoff is enforced, but values in the distant past produce a "predicted N days ago" result rather than a future-looking prediction.
- Cycle length. Accepted input range is 21 to 45 days. ACOG describes the typical adult menstrual cycle as 21 to 35 days in the Abnormal Uterine Bleeding FAQ, and the broader 21 to 45 day range in the Your First Period FAQ for the years after menarche when cycles often have not settled yet. The calculator accepts the union so period tracking is useful in both contexts. Values outside 21 to 45 block the calculation with an error message. Calendar-based ovulation prediction becomes less reliable at cycle-length extremes.
- Period length. Accepted range is 2 to 8 days, default 5. This value is used only to display the expected end date of each forecasted period. It does not influence the next-period or ovulation calculation.
Inputs that fail validation produce a specific error message, the calculator never guesses at a missing or out-of-range input.
Outputs
Each calculation returns the following structured outputs:
- Predicted next period as a formatted calendar date, with days-from-today context.
- Expected period end date, calculated as next period plus (period length minus 1).
- Ovulation day for the current cycle.
- Fertile window, a 6-day interval ending on ovulation day.
- Next 3 cycles, a table showing period and ovulation for cycles N+2, N+3, N+4.
Assumptions and limitations
The tool assumes a regular natural ovulatory cycle and a luteal phase near Lenton's observed mean of 14.13 days. Predictions are unreliable in the following contexts:
- The years after menarche; ACOG notes that cycles may take 6 years or more after the first period to become regular.
- Postpartum and while actively breastfeeding, when ovulation and period return can vary widely.
- Perimenopause, when cycle length commonly shifts.
- Polycystic ovary syndrome, thyroid disease, or other endocrine conditions that disrupt ovulation.
- Significant weight change or eating-disorder-range BMI.
- Recent hormonal contraception starts, stops, or switches.
- Any use of hormonal contraception (combined pill, progestin-only pill, hormonal IUD, implant, injection, ring, patch). Bleeding on hormonal contraception is scheduled by the contraceptive method rather than a natural cycle.
This tool is a timing aid. It is not a contraceptive device, not a pregnancy test, and not a diagnostic tool for irregular cycles.
Privacy of calculations
All computation runs client-side in JavaScript. LMP date, cycle length, period length, and any other input never leave the browser, are never stored in a cookie or local storage, and are never transmitted to a DueDateLab server or a third-party server. Analytics on the rest of the site are covered by the privacy policy, the calculator page itself collects no input data.
Sources
- American College of Obstetricians and Gynecologists. Abnormal Uterine Bleeding (Patient FAQ). ACOG. Cited for the typical adult menstrual cycle length of 21 to 35 days, for normal menstrual bleeding up to 7 days, and for heavy-bleeding clinician-visit thresholds.
- American College of Obstetricians and Gynecologists. Your First Period (Patient FAQ). ACOG. Cited for the broader 21 to 45 day range observed in the years after menarche, which motivates the calculator's accepted input range.
- American College of Obstetricians and Gynecologists. Amenorrhea, Absence of Periods (Patient FAQ). ACOG. Cited for the definition of secondary amenorrhea as no periods for 3 months or more, used in the clinician-visit guidance.
- NHS. Doing a pregnancy test. NHS UK. Cited for the guidance that a home pregnancy test can usually be taken from the first day of a missed period.
- NHS. Missed or late periods. NHS UK. Cited for the list of common non-pregnancy causes of late or missed periods used in FAQ C3 (pregnancy, stress, weight change, excessive exercise, PCOS, perimenopause, hormonal contraception, breastfeeding, thyroid disease).
- Lenton EA, Landgren BM, Sexton L. Normal variation in the length of the luteal phase of the menstrual cycle: identification of the short luteal phase. British Journal of Obstetrics and Gynaecology. 1984;91(7):685-689. PMID 6743610. PubMed. Cited for the observed mean luteal-phase length of 14.13 ± 1.41 days, which anchors the ovulation-day formula.
- Wilcox AJ, Weinberg CR, Baird DD. Timing of sexual intercourse in relation to ovulation, effects on the probability of conception, survival of the pregnancy, and sex of the baby. New England Journal of Medicine. 1995;333(23):1517-1521. PMID 7477165. PubMed. Cited for the 6-day fertile window ending on the day of ovulation, observed across 625 cycles from 221 women.
Authorship
The DueDateLab Editorial team writes and maintains this page. Editorial is not a clinical practice. Every medical claim is bound to the primary citations listed above. The full source list at the end of the page documents the governing primary sources so readers can verify each statement against the original publication. DueDateLab is published from Belgium.
Conflicts of interest. DueDateLab is supported by advertising and may use affiliate links. Advertising and affiliate relationships do not influence the methodology, sources, or medical claims on this page. Any sponsored content is clearly labeled.
Last updated April 24, 2026.