Random question!

Laneah
So when a doctor determs how afr along you are they always ask when the first day of ur last pierod was. N i was thinking that dont make no sense because they are normally right but yet my ovolation period is not till a week before my period.... so my question is... how do they determ how far along you are from ur last period?