# Volume Calculator

Use this calculator to easily calculate the volume of common bodies like a cube, rectangular box, cylinder, sphere, cone, and triangular prism. Formulas and explanation below.

## How to calculate the volume of a body?

Depending on the particular body, there is a different formula and different required information you need to calculate its volume. Below are volume formulas for the most common types of geometric bodies - all of which are supported by our online volume calculator above. All measures need to be in the same unit. The result is always in cubic units: cubic centimeters, cubic inches, cubic meters, cubic feet, cubic yards, etc.

Volume calculations are useful in a lot of sciences, in construction work and planning, in cargo shipping, in climate control (e.g. air conditioning calculations), swimming pool management, and more.

## Volume of a cube

The volume formula for a cube is *side ^{3}*, as seen in the figure below:

The only required information is the side, then you take its cube and you have the cube's volume.

## Volume of a box

The volume formula for a rectangular box is *height x width x length*, as seen in the figure below:

To calculate the volume of a box or rectangular tank you need three dimensions: width, length, and height. They are usually easy to measure due to the regularity of the shape.

## Volume of a cylinder

The volume formula for a cylinder is *height x π x (diameter / 2) ^{2}*, where (diameter / 2) is the radius of the base (d = 2 x r), so another way to write it is

*height x π x radius*. Visual in the figure below:

^{2}You need two measurements: the height of the cylinder and the diameter of its base. In many school formulas the radius is given instead, but in real-world situations it is much easier to measure the diameter instead of trying to pinpoint the midpoint of the circular base so you can measure the radius.

## Volume of a sphere

The volume formula for a sphere is *4/3 x π x (diameter / 2) ^{3}*, where (diameter / 2) is the radius of the sphere (d = 2 x r), so another way to write it is

*4/3 x π x radius*. Visual on the figure below:

^{3}Same as a circle, you only need one measurement of the sphere: its diameter or its radius.

## Volume of a cone

The volume formula for a cone is *(height x π x (diameter / 2) ^{2}) / 3*, where (diameter / 2) is the radius of the base (d = 2 x r), so another way to write it is

*(height x π x radius*, as seen in the figure below:

^{2}) / 3Despite being a somewhat complex shape, you only need to know three dimensions to calculate the volume of a regular cone. For irregular cones, which are not supported by our volume calculator, yet, you would also need to know the angle of the cone.

## Volume of a triangular prism

The volume formula for a triangular prism is *(height x base x length) / 2*, as seen in the figure below:

Similar to rectangular boxes, you need just three dimensions: height, base, and length.

#### Cite this calculator & page

If you'd like to cite this online calculator resource and information as provided on the page, you can use the following citation:

Georgiev G.Z., *"Volume Calculator"*, [online] Available at: https://www.gigacalculator.com/calculators/volume-calculator.php URL [Accessed Date: 19 Jan, 2020].