Help me understand please

Gogo
How is the length of a pregnancy calculated? My last period started on 13th Oct and I ovulated around the 25th Oct. The app tells me I'm 5 weeks 4 days pregnant today. Why is it calculated from the period day and not ovulation? I just don't get it. Can someone please explain in the most simple way? #confused