Length is measured from the point at which the head sits flat with the surface, to the tip of the threads. Hex, pan, truss,
button, socket cap, and round head screws are measured from right under the head to the end of the threads.
Flat head screws are measured from the top of the head to the tip of the threads.