To calculate your menstrual cycle, start counting from the first day of your period. The cycle ends the day before your next period begins. This number of days is the length of your cycle for that month.