Skip to content
RK Calculator
Menu

Volume Calculator

Find the volume of a cube, box, sphere, hemisphere, cylinder, cone, frustum, capsule, spherical cap, ellipsoid, pyramid, triangular prism or tube, with its capacity in liters and gallons.

Change the values and press Calculate to work out your own figures.

Cube

Enter the edge.

About edge (a)The length of an edge.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the cube
27 ft³
Surface area
54 ft²
Capacity
201.974026 US gal, 764.554858 liters

The volume of the cube is 27 ft³.

In other units
AmountUnit
0.764554858m³
764.554858liters
27ft³
46,656in³
1yd³
201.974026US gallons
Show the working
  1. V = a³
  2. Volume = 27 ft³

Rectangular box (cuboid)

Enter the length, width and height.

About length (l)The longer side.
About width (w)The shorter side.
About height (h)The perpendicular height.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the rectangular box
24 ft³
Capacity
179.5324675 US gal, 679.6043182 liters

The volume of the rectangular box is 24 ft³.

In other units
AmountUnit
0.6796043182m³
679.6043182liters
24ft³
41,472in³
0.8888888889yd³
179.5324675US gallons
Show the working
  1. V = l × w × h
  2. Volume = 24 ft³

Sphere (ball)

Enter the radius.

About radius (r)From the centre to the edge.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the sphere
113.0973355 ft³
Exact
36π ft³
Capacity
846.0268216 US gal, 3,202.5599 liters

The volume of the sphere is 113.0973355 ft³ (36π ft³).

In other units
AmountUnit
3.2025599m³
3,202.5599liters
113.0973355ft³
195,432.1958in³
4.188790205yd³
846.0268216US gallons
Show the working
  1. V = 4/3 π r³
  2. Volume = 113.0973355 ft³

Hemisphere

Enter the radius.

About radius (r)From the centre to the edge.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the hemisphere
56.54866776 ft³
Exact
18π ft³
Capacity
423.0134108 US gal, 1,601.27995 liters

The volume of the hemisphere is 56.54866776 ft³ (18π ft³).

In other units
AmountUnit
1.60127995m³
1,601.27995liters
56.54866776ft³
97,716.0979in³
2.094395102yd³
423.0134108US gallons
Show the working
  1. V = 2/3 π r³
  2. Volume = 56.54866776 ft³

Cylinder

Enter the radius and height.

About radius (r)From the centre to the edge.
About height (h)The perpendicular height.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the cylinder
113.0973355 ft³
Exact
36π ft³
Capacity
846.0268216 US gal, 3,202.5599 liters

The volume of the cylinder is 113.0973355 ft³ (36π ft³).

In other units
AmountUnit
3.2025599m³
3,202.5599liters
113.0973355ft³
195,432.1958in³
4.188790205yd³
846.0268216US gallons
Show the working
  1. V = π r² h
  2. Volume = 113.0973355 ft³

Cone

Enter the radius and height.

About radius (r)From the centre to the edge.
About height (h)The perpendicular height.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the cone
37.69911184 ft³
Exact
12π ft³
Slant height
5 ft
Capacity
282.0089405 US gal, 1,067.519967 liters

The volume of the cone is 37.69911184 ft³ (12π ft³).

In other units
AmountUnit
1.067519967m³
1,067.519967liters
37.69911184ft³
65,144.06526in³
1.396263402yd³
282.0089405US gallons
Show the working
  1. V = 1/3 π r² h
  2. Volume = 37.69911184 ft³

Conical frustum

Enter the bottom radius, top radius and height.

About bottom radius (r)The larger radius.
About top radius (r)The smaller radius (top and bottom for a barrel).
About height (h)The perpendicular height.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the conical frustum
146.6076572 ft³
Exact
140π/3 ft³
Capacity
1,096.701435 US gal, 4,151.466537 liters

The volume of the conical frustum is 146.6076572 ft³ (140π/3 ft³).

In other units
AmountUnit
4.151466537m³
4,151.466537liters
146.6076572ft³
253,338.0316in³
5.429913228yd³
1,096.701435US gallons
Show the working
  1. V = 1/3 π h (R² + R r + r²)
  2. Volume = 146.6076572 ft³

Capsule

Enter the radius and height.

About radius (r)From the centre to the edge.
About height (h)The perpendicular height.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the capsule
254.4690049 ft³
Exact
81π ft³
Capacity
1,903.560349 US gal, 7,205.759775 liters

The volume of the capsule is 254.4690049 ft³ (81π ft³).

In other units
AmountUnit
7.205759775m³
7,205.759775liters
254.4690049ft³
439,722.4405in³
9.424777961yd³
1,903.560349US gallons
Show the working
  1. V = π r² (4/3 r + h), where h is the length of the cylindrical part
  2. Volume = 254.4690049 ft³

Spherical cap

Enter the radius and height.

About radius (r)From the centre to the edge.
About height (h)The perpendicular height.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the spherical cap
54.45427266 ft³
Exact
52π/3 ft³
Base radius
4 ft
Capacity
407.3462474 US gal, 1,541.973285 liters

The volume of the spherical cap is 54.45427266 ft³ (52π/3 ft³).

In other units
AmountUnit
1.541973285m³
1,541.973285liters
54.45427266ft³
94,096.98316in³
2.016824913yd³
407.3462474US gallons
Show the working
  1. V = 1/3 π h² (3R − h), where R is the sphere's radius
  2. Volume = 54.45427266 ft³

Ellipsoid

Enter the semi-axis a, semi-axis b and semi-axis c.

About semi-axis aFirst semi-axis.
About semi-axis bSecond semi-axis.
About semi-axis cThird semi-axis.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the ellipsoid
25.13274123 ft³
Exact
8π ft³
Capacity
188.0059604 US gal, 711.6799778 liters

The volume of the ellipsoid is 25.13274123 ft³ (8π ft³).

In other units
AmountUnit
0.7116799778m³
711.6799778liters
25.13274123ft³
43,429.37684in³
0.9308422677yd³
188.0059604US gallons
Show the working
  1. V = 4/3 π a b c (a, b, c are the semi-axes)
  2. Volume = 25.13274123 ft³

Square pyramid

Enter the edge and height.

About edge (a)The length of an edge.
About height (h)The perpendicular height.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the square pyramid
48 ft³
Capacity
359.0649351 US gal, 1,359.208636 liters

The volume of the square pyramid is 48 ft³.

In other units
AmountUnit
1.359208636m³
1,359.208636liters
48ft³
82,944in³
1.777777778yd³
359.0649351US gallons
Show the working
  1. V = 1/3 a² h
  2. Volume = 48 ft³

Triangular prism

Enter the side a, side b, side c and length.

About side aFirst side.
About side bSecond side.
About side cThird side.
About length (l)The longer side.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the triangular prism
60 ft³
Base area
6 ft²
Capacity
448.8311688 US gal, 1,699.010796 liters

The volume of the triangular prism is 60 ft³.

In other units
AmountUnit
1.699010796m³
1,699.010796liters
60ft³
103,680in³
2.222222222yd³
448.8311688US gallons
Show the working
  1. V = base area × length; the base area by Heron's formula
  2. Volume = 60 ft³

Tube (pipe)

Enter the outer diameter, inner diameter and length.

About outer diameter (d₁)Outside diameter.
About inner diameter (d₂)Inside diameter.
About length (l)The longer side.
About unitThe unit of every measurement; the answer is then also given in other units.
Result
Volume of the tube
94.24777961 ft³
Exact
30π ft³
Wall thickness
1 ft
Capacity
705.0223514 US gal, 2,668.799917 liters

The volume of the tube is 94.24777961 ft³ (30π ft³).

In other units
AmountUnit
2.668799917m³
2,668.799917liters
94.24777961ft³
162,860.1632in³
3.490658504yd³
705.0223514US gallons
Show the working
  1. V = π (d₁² − d₂²) l ÷ 4
  2. Volume = 94.24777961 ft³

How to use it

Enter the edge. Enter the length, width and height. Enter the radius. Enter the radius. Enter the radius and height. Enter the radius and height. Enter the bottom radius, top radius and height. Enter the radius and height. Enter the radius and height. Enter the semi-axis a, semi-axis b and semi-axis c. Enter the edge and height. Enter the side a, side b, side c and length. Enter the outer diameter, inner diameter and length.

Enter the measurements (decimals, fractions such as 3/4, or mixed numbers such as 1 1/2) and, if you like, their unit; the answer is then also given in other units. Show the working gives the formula.

Key facts

Cylinder V = π r² h; cone V = ⅓ π r² h; sphere V = 4/3 π r³; box V = l w h

Capacity

With a unit chosen, the volume is also given in liters and US gallons (231 cubic inches each), which is what a tank or container holds.

Questions

What is the volume of a cone with radius 3 and height 4?

12π ≈ 37.69911184 cubic units.

How many gallons is 1 cubic foot?

About 7.480519481 US gallons.

Formulas

Cylinder V = π r² h; cone V = ⅓ π r² h; sphere V = 4/3 π r³; box V = l w h

Sources

Limitations

  • All measurements in one calculation use the same unit; the answer is also given in other units.
  • Measurements up to 10¹⁵.

Formula version 0.1.0Reviewed