luteal phase

can anyone please explain to me how i calculate this? google is giving me mixed results it tells me first day of last period or first day of ovulation. if its the first day of period my luteal phase would be 28 days but if i could it from the first day of ovulation its 19 days. TIA