The strength of the bar or of the ring of a piercing, marked red in the image on the left, describes the "thickness" so the diameter of the bar respectively the ring.
The length of the bar is measured between the two balls.
By rings the inner diameter of the ring is measured.
For the size of the ball the ball diameter, marked red in the image on the left, is measured.