Barrel Calculator

The barrel is roughly cylindrical in shape except that it is bulged outwards in the middle. The barrel calculator calculates the volume of a barrel. The volume of a Barrel can be calculated by the given height and radii.
Barrel Calculator
Middle radius :
Top and Bottom radius (r1,r2):
Height (h):
Formula for Volume of Barrel:
Volume of Barrel =
(h * PI * (2* r12 + r22) / 3 )

h = Height of the Barrel
r1, r2 = Radii of the Barrel