Practical guide / Daya

How to calculate your menstrual cycle length, with an example

By , developer of Daya · Checked on 24 November 2026

To calculate your menstrual cycle length, count from the first day of your period (day 1) up to the day before your next period starts. That number of days is your cycle length. According to the NHS, the average is around 28 days, and regular cycles from 21 to 35 days are normal.

Disclosure: ELX Labs publishes this guide and develops Daya, a period tracker. Medical reference points come from the NHS, checked on November 24, 2026. This calculation is a tracking tool: it is not a diagnosis or a method of contraception.

The method in three steps

  1. Write down the first day of your period. That is the first day of real bleeding, not light spotting. It is day 1 of your cycle.
  2. Write down the first day of your next period. Your cycle ends the day before.
  3. Count the days between the two dates. The number of days between two period start dates is your cycle length.

A dated example

Your period starts on March 3 and the next one on March 31. From March 3 to March 30 inclusive there are 28 days, so your cycle lasted 28 days. If the next period starts on April 2 instead, the cycle lasted 30 days. Period length (for example 5 days) is a different measure and is not part of this calculation.

How to average several cycles

One cycle is not enough to know your pattern. Record three or more, then average them. Example: 27, 31 and 29 days give an average of 29 days. The gap between the longest and shortest (31 − 27 = 4 days) is your variation, a useful number for judging how seriously to take a “predicted” date.

NHS reference points for the menstrual cycle
MeasureReference
Average cycle lengthAround 28 days
Regular cycles considered normal21 to 35 days
Irregular periodsA gap of less than 21 days or more than 35 days
Period length2 to 7 days, usually about 5

Mistakes that skew the count

  • Counting from the end of your period instead of the first day: the cycle looks a few days shorter.
  • Mistaking spotting for a period: one light bleed can create a false cycle start.
  • Missing a cycle: one unrecorded month doubles the gap.
  • Treating a prediction as an observation: a date shown by an app is not a real period date until you confirm it.

Can you calculate your cycle to avoid pregnancy?

No. Cycle length describes the past; it cannot reliably tell you when you are fertile, especially if your cycles vary. It is not a method of contraception. For contraception, talk to a health professional.

When to get advice

The NHS advises seeing a GP if, among other things, the gap between your periods is less than 21 days or more than 35 days, your periods last longer than 7 days, you bleed between periods, or your usual pattern changes. A dated history helps you prepare: see keeping a useful symptom diary and tracking irregular periods.

How Daya calculates it

Daya is an iPhone period tracker with a menstrual calendar, symptom diary and cycle history. Essential tracking is free, with no ads, account or subscription. Cycle data stays on your device. Optional one-time in-app purchases let you support the project.

In the Stats tab, Average cycle is the mean gap between recorded period starts, which needs at least two starts. Cycle variation is the difference between the longest and shortest gaps, which needs three. Calendar predictions use the cycle length chosen in settings (18 to 45 days), not the calculated average: Daya does not copy it over automatically. Details are in reading cycle length and variation in Daya and why predicted periods don’t match. See Daya’s page.

Keep in mind

Period dates, ovulation and fertile windows are estimates. Daya is not a medical device or a contraceptive method, and cannot confirm or rule out pregnancy.

Frequently asked questions

How do you calculate your menstrual cycle?

Count from the first day of your period (day 1) up to the day before your next period starts. The number of days between two period start dates is your cycle length.

What is a normal menstrual cycle length?

According to the NHS, the average is around 28 days, and regular cycles from 21 to 35 days are normal.

Does the cycle start at the beginning or end of a period?

At the beginning. The first day of bleeding is day 1; the cycle ends the day before your next period.

How do you calculate an irregular cycle?

Record each period start, work out each gap, then the average and the variation between the longest and shortest cycles. A large variation makes predictions less reliable.

Can you calculate your cycle to avoid pregnancy?

No. Cycle length describes the past and cannot reliably tell you when you are fertile. It is not a method of contraception.

Sources checked on November 24, 2026