### Formula

r2

top or bottom radius

V

volume of barrel

r1

middle radius

h

height

r2

top or bottom radius

V

volume of barrel

r1

middle radius

h

height

A barrel or cask is a hollow cylindrical container.

V

r1

h

r2

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP