Foot length question

My sock is the same length on top at both ends. When measuring from the heel it is 2 inches from the toetip if stretched. Unstretched the sole needs another half inch or so to reach length. How to measure?