Barrel Volume Calculator
Barrel dimensions
- Kepler's barrel rule treats the cask as two frustums: V = (pi x L / 12) x (2D^2 + d^2), with D the bulging bung diameter and d the head diameter.
- Substituting L = 95 cm, D = 69 cm and d = 57 cm gives 317.6 litres.
- A straight cylinder of the head diameter would hold only 242.4 litres, so the bulge adds 31.0 percent.
- In US gallons the barrel holds 83.9 gal; coopers rely on the same rule when they gauge a cask from its three measurements.
This barrel volume calculator estimates the capacity of a cask from three outside measurements: its length, its bung diameter (the widest point, at the middle) and its head diameter (the flat ends). It applies Kepler's barrel rule, V = (pi x L / 12) x (2D^2 + d^2), where D is the bung diameter and d is the head diameter. For example, a barrel 95 cm long with a 69 cm bung and 57 cm heads holds 317.6 litres, or 83.9 US gallons. A straight cylinder of the head diameter would hold only 242.4 litres, so the bulge adds 31.0 percent. Smaller casks scale down the same way: one 88 cm long with 64 and 54 cm diameters holds 255.9 litres, and a keg-sized one holds 86.3 litres.
Coopers and gaugers have used this rule for centuries because a barrel can be measured from outside without opening it, and it remains the accepted standard for this kind of calculation. This page shows the formula, step-by-step workings, worked examples and sources, so you can check every figure yourself rather than trusting a black box.
Worked examples
Standard wine barrel proportions
(95 cm · 69 cm · 57 cm)
| Barrel volume (Kepler's rule) | 317.6 litres |
| Volume in US gallons | 83.9 gal |
| Straight cylinder at the head diameter | 242.4 litres |
| Extra volume from the bulge | 31.0% |
Smaller cask
(88 cm · 64 cm · 54 cm)
| Barrel volume (Kepler's rule) | 255.9 litres |
| Volume in US gallons | 67.6 gal |
| Straight cylinder at the head diameter | 201.5 litres |
| Extra volume from the bulge | 27.0% |
Keg-sized cask
(60 cm · 45 cm · 38 cm)
| Barrel volume (Kepler's rule) | 86.3 litres |
| Volume in US gallons | 22.8 gal |
| Straight cylinder at the head diameter | 68.0 litres |
| Extra volume from the bulge | 26.8% |
Three measurements, one volume
A barrel is not a cylinder, so three measurements do the work of a simple diameter and length. The first is the bung diameter, the width of the barrel at its widest point — the middle, where the bung hole sits. The second is the head diameter, the width of the flat circular ends, called the heads. The third is the stave length, the distance from one head to the other along the side of the cask. Enter those three numbers into a barrel volume calculator and it returns the capacity. Kepler's barrel rule, which the calculator applies, is V = (pi × L / 12) × (2D² + d²), where L is the stave length, D is the bung diameter and d is the head diameter.
The bulge is why a plain cylinder formula falls short. If you treated the barrel as a cylinder built from the head diameter, you would measure a shape narrower than the real cask along its entire middle. The worked example shows the size of the gap. A barrel 95 cm long with a 69 cm bung and 57 cm heads holds 317.6 litres, or 83.9 US gallons. A straight cylinder of the head diameter would hold only 242.4 litres, so the bulge adds 31.0 percent. That is not a rounding difference; it is nearly a third of the contents. The rule handles the bulge by weighting the bung diameter twice as heavily as the head diameter, which approximates the curved profile between the two ends.
The same three measurements scale down to smaller casks. A smaller cask of 88 cm with 64 and 54 cm diameters holds 255.9 litres, and a keg-sized one holds 86.3 litres. In each case the bung diameter, head diameter and stave length are all you need — no filling, no weighing, no internal probing.
That convenience is the reason the rule has lasted. Coopers and gaugers have used it for centuries because a barrel can be measured from outside without opening it. A tape around the middle gives the bung diameter, a tape across a head gives the head diameter, and the stave length follows the side of the cask. The barrel volume calculator simply does the arithmetic on those outside measurements, so you can size a cask, estimate what it will hold, or check a stated capacity without disturbing what is inside.
Kepler's rule at work
Kepler's rule turns three outside measurements into a volume estimate: V = (pi x L / 12) x (2D^2 + d^2), where L is the length of the cask, D is the bung diameter and d is the head diameter. Because every term comes from the outside of the barrel, the barrel volume calculator can do its work without anyone removing a head or opening a bung. That is the practical reason coopers and gaugers have used the rule for centuries.
The worked example shows how the arithmetic lands. Take a barrel 95 cm long with a 69 cm bung and 57 cm heads. Substituting those three figures into the rule gives 317.6 litres, or 83.9 US gallons. The same three numbers also show why the shape matters: a straight cylinder of the head diameter, 57 cm, across the same 95 cm length would hold only 242.4 litres. The bulge therefore adds 31.0 percent over that straight-sided comparison.
The comparison is the useful part of the rule. If you judged the cask by its heads alone, you would underestimate it by nearly a third. The 317.6-litre result sits well above the 242.4-litre cylinder, and that gap is the volume carried by the curved staves between the heads and the bung. Reading the two figures side by side makes the effect of the barrel's profile visible without any guesswork.
The rule scales down as well. A smaller cask 88 cm long with 64 cm and 54 cm diameters holds 255.9 litres, and a keg-sized one holds 86.3 litres. Running the same three measurements through the barrel volume calculator each time keeps the results consistent from cask to cask, so a row of barrels can be compared on the same footing.
| Cask | Length | Bung diameter | Head diameter | Volume |
|---|---|---|---|---|
| Worked example barrel | 95 cm | 69 cm | 57 cm | 317.6 litres (83.9 US gallons) |
| Straight cylinder of head diameter | 95 cm | — | 57 cm | 242.4 litres |
| Smaller cask | 88 cm | 64 cm | 54 cm | 255.9 litres |
| Keg-sized cask | — | — | — | 86.3 litres |
How good is the rule?
Kepler's barrel rule estimates a cask's volume from three measurements: V = (pi x L / 12) x (2D^2 + d^2), with D the bung diameter and d the head diameter. For typical cooperage shapes — casks whose sides bow out in a smooth, even curve between the heads — the rule tracks the true volume closely enough for trade, storage and shipping decisions. Run the numbers and you can see why. A barrel 95 cm long with a 69 cm bung and 57 cm heads holds 317.6 litres, or 83.9 US gallons. A straight cylinder of the head diameter would hold only 242.4 litres, so the bulge adds 31.0 percent — a difference far too large to ignore, and one the rule captures.
The rule holds up across sizes, which is part of its appeal. A smaller cask of 88 cm with 64 and 54 cm diameters holds 255.9 litres, and a keg-sized one holds 86.3 litres. In each case the formula accounts for the full swell of the barrel rather than treating it as a plain tube. Coopers and gaugers have used the rule for centuries because a barrel can be measured from outside without opening it — a real practical advantage when the contents must stay sealed, whether the cask holds wine, spirits, oil or water.
Accuracy depends on the shape. The closer a cask is to a smooth, symmetrical bulge between its heads, the better the estimate. Barrels that are noticeably asymmetric, dented, or built with an unusual profile — or casks that are only partly full, so the liquid surface sits below the bung — move away from the ideal the formula assumes. For everyday standard cooperage the result is dependable; for irregular or damaged casks it is an estimate, not a certificate.
When precision matters more than convenience, gaugers switch methods. Weighing a cask and dividing by the density of its contents avoids shape assumptions altogether. Displacement — measuring the volume of liquid the filled cask pushes aside — gives a direct reading of external volume. Both approaches cost more time and equipment than three quick measurements with a tape, which is why the barrel volume calculator and the centuries-old rule behind it remain the first tool most people reach for.
Barrels in trade
A barrel is rarely the shape its name suggests. Coopers build casks with a bulge at the middle and flat heads at each end, so the volume depends on where you measure. The bung diameter across the widest point is larger than the head diameter at the ends, and that difference is the whole reason a barrel volume calculator cannot simply treat a cask as a cylinder. Trade practice has long accepted this: the nominal size on a cask describes a class of container, while the actual contents depend on the specific staves, the bulge, and how full the cask is filled.
Kepler's barrel rule handles the geometry from outside. It estimates a cask's volume from three measurements: V = (pi x L / 12) x (2D^2 + d^2), with D the bung diameter and d the head diameter. A worked example makes the gap concrete. A barrel 95 cm long with a 69 cm bung and 57 cm heads holds 317.6 litres, or 83.9 US gallons. A straight cylinder of the head diameter would hold only 242.4 litres, so the bulge adds 31.0 percent. That is not a rounding difference; it is roughly a third more liquid than the head measurement alone would suggest, which is why buyers and sellers who eyeball a cask by its ends can be badly wrong.
The 83.9-gallon figure is the practical anchor. In a cellar, that number converts a physical cask into a working quantity: how many containers a barrel will fill, how much ullage to allow, and how the stock compares with other casks. Customs work runs on the same figure. Duty, documentation, and inventory records are kept in gallons and litres, so the measured dimensions must be translated into a declared volume. A smaller cask of 88 cm with 64 and 54 cm diameters holds 255.9 litres, and a keg-sized one holds 86.3 litres. Each size carries its own gallon equivalent, and the barrel volume calculator applies the same rule across them so that the declared figure matches the cask in front of the gauger.
Coopers and gaugers have used the rule for centuries because a barrel can be measured from outside without opening it. That matters in a cellar and at a customs inspection alike: the cask stays sealed, the contents stay undisturbed, and the dimensions still yield a defensible volume. Nominal barrel sizes and actual contents differ for the same reason. The name describes the container type, while the rule describes the liquid inside it, and only the second is what gets counted, taxed, and sold.
FAQs
How do I calculate the volume of a barrel?
Measure the length, the bung (middle) diameter and the head diameter. Then apply Kepler's rule: V = (pi x L / 12) x (2D^2 + d^2). Use the bung diameter for D and the head diameter for d, and keep all measurements in the same units so the result comes out correctly.
How much does a standard wine barrel hold?
The worked example's proportions give 317.6 litres, about 83.9 US gallons. That figure comes from applying Kepler's rule to those specific measurements. Nominal trade sizes vary by tradition, so a barrel sold as a standard size in one region may not match this exactly. Measure your own cask for a precise answer.
Why not just use a cylinder formula?
The bulge matters. A cylinder of the head diameter holds 242.4 litres here, undercounting by 31.0 percent. Because the middle of a cask is wider than its ends, a straight cylinder formula misses the extra volume in the bulge. Kepler's rule accounts for that curve, so it gives a more accurate result.
Who was Kepler's rule named for?
Johannes Kepler, who worked out barrel volumes for the wine trade. The rule treats the cask as two frustums joined at the middle, which is why it uses both the bung diameter and the head diameter. That approach captures the bulge that a simple cylinder formula would miss.
What if my barrel is more or less bulged?
The rule assumes a typical cooperage curve. Very straight or very round casks drift a little from it, so treat the result as a close estimate rather than an exact figure. For unusual shapes, measuring the actual volume by filling the cask is more reliable.
Can I measure in inches?
Yes. Convert to centimetres first, or compute in cubic inches and convert afterward. The rule only needs consistent units, so any single unit works as long as length and both diameters use the same one. Just be careful not to mix inches and centimetres in the same calculation.