Gauge is 1.67 over the cube root of the diameter in inches. Technically it’s derived from lbs since the number refers to the number of lead balls the width of the barrel you’d need to equal 1 lb. Eg, a 12 gauge is the width of a 1/12th lb ball of lead.