# Capsule Volume, Surface Area and Circumference Calculation

Calculate the Volume, Surface Area and Circumference of capsul for given values.

The capsule is a shape consisting of a cylinder with hemispherical ends means a sphere has been cut in half through its center and combined at both the ends of a cylinder.

The radius of sphere and cylinder is same, so we can say a cylinder with two hemispherical caps on either end.

## Formulas

The formula used to calculate volume, surface area and circumference as follows:

Volume **(Vol)** = πr^{2}((4/3)r + a)

Surface Area **(SA)** = 2πr(2r + a)

Circumference **(CIR)** = 2πr

Where r is radius and a is side length.