Period cycle

My last 5 period cycles have been 36,26,27,28,31 days... how does one work out an average when they are all over the place?