Fertile window

Erica
I am using glow and another app, I have different fertile windows. How does glow calculates the fertile window? I have a 31 day cycle.