Hex bolt diameter is measured on the outside of the threads.
^ NOTE: While 12tpi is the fine thread (UNF) standard, 14tpi is far more common in actual use.
A bolt with a six sided head.