How do I calculate DPO?

I know this may seem like a dumb question, but I am new to this. My period this month was from the 1-4 and according to this app I ovulated the entire week after. How exactly do I calculate DPO