Calculate barrel or drum capacity in liters, US and UK gallons and oil barrels from inside diameter and height, or look up standard barrel sizes.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Cylindrical drum capacity | Finds the volume of a straight-sided drum or barrel | Requires the inside diameter and the inside height or length |
| Curved barrel capacity | Estimates the volume of a cask that bulges in the middle | Requires the inside head diameter, the inside bilge diameter at the widest point and the inside length |
| Number of barrels needed | Finds how many whole barrels hold a given volume | Requires the total volume and the capacity of one barrel, in L, US gal or oil barrels |
| Standard barrel sizes | Gives the nominal capacity of a common barrel or drum | Requires a barrel type from the list |
Dimensions are entered in cm, in, ft or m. The two capacity functions also take a fill percentage and a liquid density in kg/L, which add the volume at that fill and the mass of the liquid. Capacities are listed in liters, US gallons, Imperial gallons, oil barrels, m³ and ft³.
Barrel Capacity Formulas
| V | Volume, in the cube of the length unit; 1 m³ is 1,000 L |
| D | Inside diameter |
| L | Inside height or length |
Cylindrical drum capacity
This is the cylinder formula π × r² × h written with the diameter [1]. A round barrel 36 in across holding 30 in of water contains π × 36² × 30 ÷ 4 = 30,536 in³, which is 500.4 L or 132.2 US gal.
Curved barrel capacity
(2 × B² + H²) ÷ 12 [2]
B is the bilge diameter, the widest point in the middle, and H is the head diameter at the ends. The formula treats the curve of the staves as part of an ellipse [2]. A cask with a 56 cm head, a 70 cm bilge and a 90 cm length holds about 304.8 L. With B equal to H it gives the same answer as the cylinder formula.
Number of barrels needed
rounded up
Storing 1,000 L in 55 US gal drums of 208.2 L each takes 1,000 ÷ 208.2 = 4.80, so 5 drums, with 41.0 L of spare capacity.
Standard barrel sizes
A barrel has no single size. An oil barrel is 42 US gallons, or 158.99 L [3], and US federal tax on beer uses a 31 gallon barrel [4]. The other sizes in the list are the usual trade sizes for each container.
| Barrel type | Nominal size | Liters | US gallons |
|---|---|---|---|
| Oil barrel | 42 US gal | 158.99 | 42.00 |
| Steel drum | 55 US gal | 208.20 | 55.00 |
| US beer barrel | 31 US gal | 117.35 | 31.00 |
| UK beer barrel | 36 UK gal | 163.66 | 43.23 |
| Whiskey barrel | 53 US gal | 200.63 | 53.00 |
| Wine barrique | 225 L | 225.00 | 59.44 |
Fill and liquid mass
density
V is in liters and density in kg/L, so the mass is in kg. Water is 1 kg/L.
Limits of This Estimate
- Capacity depends on inside dimensions. Measuring the outside of a barrel overstates it by the thickness of the walls and ends.
- The fill percentage is a share of the volume, not of the liquid height. In a barrel lying on its side, half the height is half the volume but a quarter of the height is much less than a quarter.
- The curved formula assumes a symmetric cask with an elliptical bulge. Casks with flatter or sharper curves hold a little less or more.
- These estimates are based on the best available data and estimations. Standard sizes are nominal, individual containers vary, and other barrel sizes are set by law or trade custom [4].
Sources
- Wolfram MathWorld, Cylinder: volume of a right circular cylinder
- Wolfram MathWorld, Barrel: volume of a barrel with elliptical sides
- NIST, Guide to the SI (Special Publication 811), Appendix B.8: petroleum barrel of 42 US gallons, US and Imperial gallon in liters
- NIST, Handbook 44 (2026), Appendix C, General Tables of Units of Measurement: the range of legal and customary barrel sizes
