Shoulder bolt diameter is measured on the machined shoulder. Thread diameter is measured on the outside of the threads.