How is that possible?

To get pregnant, sperm has to meet the egg, and the egg only shows up at ovulation. The fertile window lasts about 6 days: the 5 days before ovulation and the day itself, because sperm survives a few days in the body (Wilcox, 1995). The NHS says up to 7 days.

Now picture a short cycle, 21 or 22 days long. Ovulation could come around day 7 or 8 of the cycle. Sex at the end of your period, on day 5 or 6, already falls inside that fertile window. That is how pregnancy happens.

What studies show

In a study that tracked ovulation closely, only about 2% of women were already in their fertile window by day 4 of the cycle. But from day 6 to day 21, every day had at least a 10% chance of falling in the fertile window, even for those with regular cycles (Wilcox, 2000).

When you had sexChance of it falling in the fertile window
First days of your periodVery low
End of your period, with a short cycleLow, but real
Right after your period (from day 6)At least 10% on each day
Close to ovulationThe highest of the cycle

Sources: Wilcox, 2000; NHS; Planned Parenthood.

Was it really your period?

Sometimes what looks like a period is a different kind of bleeding. It could be mid-cycle spotting around ovulation (NHS), or implantation bleeding. If you had sex on those days thinking you were on your period, it may have been right in your fertile window.

And right after your period?

Then the chance is already higher. If you ovulate early, which is common with a short cycle, you can get pregnant in the days right after your period ends (NHS). With an irregular cycle, it is even harder to predict (Planned Parenthood). See how to estimate your days with the ovulation calculator and in fertile window with an irregular cycle.

Important

If you do not want to get pregnant, use birth control every time you have sex, including during your period (NHS; Planned Parenthood). Condoms also protect against sexually transmitted infections. Calendars and cycle apps, including AVEN, are not birth control.

If you want to get pregnant, sex during your period does not get in the way, but what helps most is timing it for the days around ovulation. Learn more in signs of ovulation.