21 C.F.R. § 164.120
(2) The method for determining the percent of fill is as follows:
(ii) Classify the container by shape and determine its volume in cubic centimeters according to one of the following methods as appropriate:
(a) For containers of irregular shape, including glass jars, follow the general method for water capacity of containers as prescribed in § 130.12(a) of this chapter and determine the container volume, considering the water capacity in grams to be numerically equivalent to volume in cubic centimeters, or the water capacity in ounces (avoirdupois) to be equivalent to 28.35 cubic centimeters per ounce.
(b) For box-shaped containers (that is, with opposite sides parallel), measure the inside height, width, and depth and calculate the volume as the product of these three dimensions. For such containers used to enclose vacuum packs and containing 4 ounces or less of the product, consider the height to be the inside height minus three-eighths inch.
(c) For cylindrical containers, calculate the container volume in cubic centimeters as the product of the height times the square of the diameter, both measured in inches, times 12.87; or as the product of the height times the square of the diameter, both measured in centimeters, times 0.7854. For containers that do not have indented ends, use the inside height and inside diameter as the dimensions. For metal cans with indented ends (that is, metal cans with ends attached by double seams), consider the height to be the outside height at the double seam minus three-eighths inch (0.953 centimeter) and the diameter to be the outside diameter at the double seam minus one-eighth inch (0.318 centimeter). For fiber-bodied containers with indented ends (that is, fiber-bodied cans with metal ends attached by double seams), consider the height to be the outside height at the double seam minus three-eighths inch (0.953 centimeter) and the diameter to be the outside diameter at the double seam minus three-sixteenths inch (0.476 centimeter).