How do you work out dpo?

Emma
This may sound stupid but how do you calculate dpo according to the app? If your not doing ovulation tests.
Is it the first day the app gives? Middle? Last?