AI basics
How do period apps predict your next period? From averages to personal patterns
The maths behind period predictions: calendar averages, learning from your own history, confidence windows and explanations, with Cycle Diary as an example.

A period app’s prediction looks like a single date, but behind it sits a small forecasting model. Understanding how it works explains why the date moves, why some apps show a range, and why your own history matters more than any average. Cycle Diary, a period tracker app that learns from your cycles, is a useful worked example.
This piece walks through the simple calendar method, how personalised predictions improve on it, what a confidence window means, why explanations matter, and the limits every prediction has.
What is the simplest way to predict a period?
The starting point is arithmetic. Take the first day of your last period, add your usual cycle length, and you have the next expected date. A basic period calculator does exactly that, often assuming 28 days if you have not told it otherwise.
Ovulation is estimated by counting back. The phase after ovulation tends to be more stable in length than the phase before it, so a common rule places ovulation about fourteen days before the next expected period. A fertile window is then drawn around that day: for example, from five days before ovulation to one day after.
The weakness is obvious. Real cycles vary. The NHS describes anything from about 21 to 40 days as normal, and one person’s cycles can differ by several days from month to month. An average is a fair guess for the first cycle and a poor one by the tenth.
How do personalised predictions improve on the average?
A personalised model replaces the textbook numbers with yours. The more cycles you log, the more it knows about your typical length, your spread and whether your cycles are drifting longer or shorter over time. This is forecasting from data, the same basic idea behind weather or sales forecasts, applied to one person’s history.
Good models also use context. Stress, illness, travel and poor sleep can all delay a period. If an app lets you log those things, it can learn that, for you, a logged trip often means a later period. Body signs help as well: a positive ovulation test or a rise in basal temperature tells the model what actually happened this cycle, instead of what the calendar assumed.
- History: how long your cycles run and how much they vary
- Trend: whether they are slowly getting longer or shorter
- Season: whether they shift at certain times of year
- Context: stress, travel, illness or short nights you logged
- Signals: LH tests, temperature rises and cervical mucus
An average is a fair guess for the first cycle and a poor one by the tenth.
What does a confidence window tell you?
Every forecast carries uncertainty. Showing a single date hides it; showing a likely window is more honest. If your cycles always run 28 or 29 days, the window is narrow. If they range from 24 to 35, it should be wide, and a good model widens it rather than pretending to be precise.
This matters most for an irregular periods tracker. A model that treats a 35-day cycle as an error will keep being wrong. One that treats short and long cycles as part of your pattern gives you a realistic range instead. Accuracy can also be measured: compare past predictions with what actually happened and report the average error in days.
Why should a prediction explain itself?
Explainability is a big topic in AI and data science for a simple reason: people trust and use predictions better when they can see why they were made. In a cycle app, an explanation turns ‘period due Thursday’ into something you can check against your own experience.
Cycle Diary, built by Galveo, shows this approach clearly. Its Smart predictions look at up to three years of your cycles: how long they run, which way they trend, the season, and what you logged, such as stress, travel, illness or a short night. The next period comes with a likely window, a confidence level and a ‘Why this date?’ list, which might say your usual cycle was learned from twelve cycles, or that travel this cycle usually means a later period for you. Insights show how close earlier predictions came. If you prefer plain arithmetic, a Fixed mode sticks to the cycle and period length you set.
The ovulation calculator on its site shows the starting point: an estimate from average lengths that the app later swaps for what your own cycles show.
How does the model handle life changes such as perimenopause?
A model trained on regular cycles can be thrown by a new phase of life. In perimenopause, a period that arrives two months late is not an outlier to ignore but a pattern to follow. Treating it as ‘late’ would make every prediction wrong.
That is why some apps let you choose a life stage, which changes what the model expects. Cycle Diary has eight, from tracking a regular cycle to trying to conceive, the pill, pregnancy, after birth, perimenopause and menopause. As a perimenopause tracker, it keeps skipped periods apart from your usual cycles, shows how likely the current cycle is to run long and counts the months towards menopause, which is twelve in a row without a period.
What can a prediction never do?
A forecast is only as good as its data and its assumptions. A new medication, a pregnancy or a health condition can change your cycle in ways no history predicts. That is why responsible apps describe their output as estimates and information, not a diagnosis.
Predicted fertile days are not reliable contraception on their own. Use the fertile window to understand your cycle, and choose contraception with a doctor or sexual health clinic. See a GP if your periods stop, become very heavy or painful, or change suddenly, and bring your tracked history: a clear record is the most useful thing a model gives you.
Frequently asked questions
How accurate are period tracker predictions?
+
It depends on how regular your cycles are and how much history the app has. Predictions from your own cycles are usually closer than a fixed 28-day assumption. Look for apps that show a range and tell you how close past predictions came.
Do period apps use AI?
+
Some describe their predictions as AI or machine learning; others use statistics on your history. The method matters less than the results: personal data, honest ranges and clear explanations. Treat any prediction as an estimate.
Why did my period app change my predicted date?
+
Predictions update as you log. A late period, a logged trip or illness, or a positive ovulation test can all move the expected date. In Cycle Diary, the ‘Why this date?’ list shows the reasons.
How many cycles does an app need to predict well?
+
A few cycles give a basic personal average, and more history lets a model see your range, trends and seasonal changes. The Cycle Diary FAQ explains that every period you log sharpens the next prediction.
Can I rely on a period app to avoid pregnancy?
+
No. A predicted fertile window is an estimate. Fertility awareness methods need proper teaching and careful daily records. Talk to a doctor or sexual health clinic about contraception that suits you.
A period prediction is a personal forecast. The best ones learn from your own cycles, show how sure they are and explain their reasoning, which makes them easier to trust and easier to question when your body does something new.
How we research: Guides are written from established sources and checked for accuracy. They are general information, not professional advice.
Written by
Cortexpost Editorial Team
Artificial intelligence
Our writers work with AI tools every day and explain them plainly, without hype or doom.


