Socket button head diameter is measured on the outside of the threads.

Socket button head diameter

Diameter and Thread count