The Period Formula: How to Calculate Your Menstrual Cycle

Hi, I'm Kanika. Most period calculators show you a date but never explain the maths behind it. This page shows you the exact formula: and lets you run it yourself on your own numbers.

Evidence-based: built on current NHS, Mayo Clinic and ACOG guidance. Last updated: August 2026

Run the Period Formula

Enter your details: everything is calculated in your browser and never leaves your device.

Not sure? 28 is the average
How many days does your period usually last?

Your formula results

What is the period formula

The period formula is the simple piece of arithmetic behind almost every period tracker, app, and calculator on the internet: including this one. Strip away the design and the notifications, and every one of them is running the same three equations on your dates. Understanding the formula yourself means you're never dependent on a black box to know what's happening in your own body.

At its core, the period formula treats your menstrual cycle as a repeating loop of a fixed number of days. Day 1 is the first day of bleeding. The cycle ends the day before the next period begins. If you know the length of that loop, you can project it forward from any known starting point: that's the entire idea.

How to calculate your next period date step by step

The formula: Next Period Date = Last Period Start Date + Average Cycle Length

Here's how to apply it manually:

  1. Find the start date of your last period. This is day 1: the first day you saw blood, not the day before or the heaviest day.
  2. Find your average cycle length. Count the days from the start of one period to the start of the next. If you have data from your last 3 cycles, average them for a more reliable number. If you don't track yet, 28 days is the population average, though your personal cycle can range from 21 to 45 days and still be entirely normal.
  3. Add the two together. If your last period started on the 3rd of the month and your average cycle is 30 days, your next period is expected on the 2nd of the following month.
  4. Repeat each cycle. Update your "last period" input every month so the formula is always working from your most recent data point.

You can run this by hand with a calendar, or use our free period calculator, which runs the same formula instantly and adds your fertile window, current cycle phase, and a 3-month forecast on top.

The ovulation formula: how to find your fertile window

The formula: Ovulation Date = Next Period Date − 14 days

This is the formula most people get backward. It's tempting to assume ovulation happens a fixed number of days after your period starts, but that's only true if your cycle happens to be exactly 28 days. The more reliable relationship is between ovulation and your next period, not your last one.

That's because the second half of your cycle, from ovulation to your next period, is remarkably consistent at around 14 days for most people, regardless of how long the first half runs. The first half of the cycle, before ovulation, is the part that actually varies from person to person and month to month. So instead of counting forward from your last period, the formula counts backward from your predicted next one.

Once you have your ovulation date, your fertile window formula is: Fertile Window = (Ovulation Date − 5 days) through Ovulation Date. That's six days in total. Sperm can survive in the reproductive tract for up to five days, which is why the window opens well before the egg is actually released. For a deeper breakdown of fertile-window timing and best days to conceive, see our ovulation calculator.

The luteal phase formula

The formula: Luteal Phase Length = Cycle Length − 14 days

The luteal phase is the stretch of your cycle between ovulation and the start of your next period. It's the most hormonally stable part of the equation, which is exactly why the ovulation formula above works by subtracting from your next period rather than adding from your last one.

For a 28-day cycle, the luteal phase formula gives you 14 days. For a 32-day cycle, it gives you 18 days. A typical luteal phase falls somewhere between 11 and 17 days. A luteal phase that consistently comes out shorter than 10 days in this formula can sometimes point to a hormonal pattern worth discussing with a doctor, particularly if you're trying to conceive.

Why the formula is an estimate not a guarantee

Every formula on this page assumes your cycle behaves like clockwork: the same length, the same luteal phase, month after month. Real bodies rarely work that precisely. Stress, illness, travel, changes in weight or exercise, and normal biological variation can all shift ovulation earlier or later than the formula predicts, which shifts your next period along with it.

This doesn't make the formula useless: for a regular cycle it typically lands within 1 to 3 days of the actual date. But it does mean you should treat the result as a well-informed estimate, not a certainty, especially if you're using it for anything time-sensitive like planning conception or ruling out pregnancy.

How to use the formula if your cycle is irregular

The standard formula breaks down when your cycle length itself is inconsistent, because it needs one fixed number to add or subtract. If your cycles have varied by more than 7 to 9 days over the last several months, plugging in a single "average" cycle length will often give you a date that's off by a week or more.

The fix isn't a different formula: it's a range. Instead of one cycle length, use your shortest recent cycle to estimate your earliest possible next period, and your longest recent cycle to estimate your latest possible one. That gives you a window instead of a single date, which is far more useful when your body doesn't run on a fixed schedule. Our irregular period calculator automates exactly this approach: enter your shortest and longest recent cycles and it returns a probability window rather than a single prediction.

Common reasons cycles stop following a fixed formula include PCOS, thyroid conditions, perimenopause, significant stress, and rapid changes in weight or exercise. If your cycle has become newly irregular, it's worth mentioning to your doctor.

Frequently asked questions

The formula is: Next Period Date = Last Period Start Date + Average Cycle Length (in days). For example, if your last period started on the 1st and your average cycle is 28 days, your next period is expected on the 29th. This formula assumes a regular, consistent cycle length.
Take the first day of your last period and add your average cycle length in days. Your average cycle length is measured from the first day of one period to the first day of the next, ideally averaged over your last 3 to 6 cycles for the most reliable result.
Ovulation Date = Next Period Date − 14 days. This works because the luteal phase (the time between ovulation and your next period) is almost always close to 14 days, regardless of how long your total cycle is. So ovulation timing is calculated backward from your next period, not forward from your last one.
It depends entirely on your cycle length, not a fixed number of days after your period. For a 28-day cycle, ovulation is around day 14 after your period started. For a 35-day cycle, it's closer to day 21. The formula is: Cycle Length − 14 = approximate day of ovulation.
Cycle Length = Number of days from the first day of one period to the day before the first day of the next period. If your period started on March 1st and your next period started on March 29th, your cycle length is 28 days.
Mark the first day of your last two or three periods on a calendar. Count the days between each start date to find your average cycle length. Add that average to your most recent period start date to estimate your next one. Repeat each month and your accuracy improves.
The three core formulas are: Next Period = Last Period + Cycle Length. Ovulation = Next Period − 14. Fertile Window = Ovulation − 5 days through Ovulation day. Together these three equations describe the mathematics behind almost every period and ovulation calculator.
The formula is highly accurate for regular cycles, typically within 1–3 days. It becomes less reliable for irregular cycles, where cycle length varies by more than 7–9 days month to month, because the formula assumes a fixed, repeating length. For irregular cycles, a range-based prediction works better: see our irregular period calculator.
Cyluna provides health information and tools for educational purposes only. Always consult a qualified healthcare provider for medical advice.