Someone explain DPO

Brittany • Proud Mama to Baby Girls Born 8/3/18 and 6/5/20
Is DPO calculated by your last or first day of ovulation?