Use this ovulation calculator when you are trying to get pregnant. Enter the first day of your last period and how long your cycle usually lasts (anywhere from 20 to 45 days) to calculate when you’re most likely to be fertile. Your most fertile days will be shown in the ovulation calendar below including the first day you can test for pregnancy.