During an ultrasound, the sonographer will measure the BPD at the level of the thalami and the cavum septi pellucidi. The measurement is taken from the outer edge of the near parietal bone to the inner edge of the far parietal bone. Accurate measurement of BPD is crucial for estimating gestational age and fetal weight.