Nut size (A.K.A. diameter) is the size bolt that the nut is used with. The same is true of the thread count. Thus a 1/4"-20 nut fits a 1/4"-20 bolt.
Click on a product # for additional info
A standard six sided nut.
A hex nut with a nylon ring to resist loosening.