How to calculate ovulation cycle

Hi does anyone know how to keep track of ovulation? My period cycle is irregular every month is different days; sometime I m on 28 days cycle sometime 30-42days. So hard to keep track since every month is hit on different cycle days. Any advice thank you