Question.

My period use to be every 1st of every month and ends on the third day until I saw it two different times in may 1st -3rd and then 20th -23rd. What could be the cause?

Please how do one calculate average cycle length? Am still not good with the calculation.