Pick a shape, enter its dimensions in any mix of units, and get the volume with the formula and common unit conversions.
Volume is the amount of three-dimensional space a shape takes up, written in cubic units such as cubic metres (m³) or cubic feet. It is also how much a container can hold, and for liquids that capacity is usually quoted in litres or gallons: one cubic metre is 1,000 litres, or about 264 US gallons. Choose a shape, type the dimensions, and the calculator shows the volume together with the same value in other common units, so you can move between a technical drawing in cubic metres and a shop that sells by the litre.
Here is each shape on the page with the numbers it opens with. All lengths are in metres, so the volumes are in cubic metres.
| Shape | Default dimensions | Formula | Volume (m³) |
|---|---|---|---|
| Sphere | r = 2 | 4/3 × π × r³ | 33.51 |
| Cone | r = 3, h = 4 | 1/3 × π × r² × h | 37.70 |
| Cube | a = 3 | a³ | 27.00 |
| Cylinder | r = 3, h = 5 | π × r² × h | 141.37 |
| Rectangular tank | l = 2, w = 3, h = 4 | l × w × h | 24.00 |
| Capsule | r = 2, h = 5 | 4/3 × π × r³ + π × r² × h | 96.34 |
| Spherical cap | r = 3, h = 1 (so R = 5) | 1/3 × π × h² × (3R − h) | 14.66 |
| Conical frustum | r = 2, R = 4, h = 5 | 1/3 × π × h × (r² + rR + R²) | 146.61 |
| Ellipsoid | a = 2, b = 3, c = 4 | 4/3 × π × a × b × c | 100.53 |
| Square pyramid | a = 4, h = 5 | 1/3 × a² × h | 26.67 |
| Tube (hollow cylinder) | d₁ = 6, d₂ = 4, l = 10 | π × (d₁² − d₂²) × l ÷ 4 | 157.08 |
The page opens on a sphere of radius 2 m. The volume is 4/3 × π × 2³ = 32π/3 = 33.510321638291 m³. Below it the tool lists the same volume in other units:
| Unit | Same volume |
|---|---|
| Cubic meters (m³) | 33.510321638291 |
| Liters | 33510.321638291 |
| Milliliters (cm³) | 33510321.638291 |
| US gallons | 8852.490442369 |
| Cubic feet | 1183.4058403861 |
| Cubic inches | 2044925.2921872 |
A cylindrical tank has a radius of 3 m and a height of 5 m. The volume is π × 3² × 5 = 141.37 m³. Since 1 m³ is 1,000 litres, the tank holds about 141,372 litres, and as a litre of water has a mass of 1 kg, that is about 141.37 tonnes of water when full.
A cone holds exactly one third as much as the cylinder with the same base and height. A cone of radius 3 m and height 4 m has a volume of 37.70 m³, while the cylinder with that base and height would hold 113.10 m³, three times as much. The same rule gives the pyramid: a square pyramid with a base edge of 4 m and a height of 5 m has 4² × 5 ÷ 3 = 26.67 m³, a third of the 80 m³ box around it.
Archimedes found a neat link. For a sphere of radius 2 m, the cylinder that just contains it has a height of 4 m and a volume of 50.27 m³. The sphere takes up 33.51 m³, exactly two thirds of that. A cone with the same radius and height 2 m has 8.38 m³, so the cone, the hemisphere and the cylinder with the same radius and height are in the proportion 1 : 2 : 3.
Volume grows with the cube of the size. Doubling the radius of a sphere multiplies its volume by 8, and tripling it by 27.
| Radius | Volume of a sphere | Compared with radius 1 |
|---|---|---|
| 1 | 4.19 | 1 times |
| 2 | 33.51 | 8 times |
| 3 | 113.10 | 27 times |
| 4 | 268.08 | 64 times |
Volume tells you how much space a liquid takes, and from that its mass. Water has a mass of 1 kg per litre, so a US gallon (3.785 litres) of water has a mass of about 3.785 kg, or 8.35 lb, and a cubic foot of water has a mass of about 62.43 lb. The default sphere of 33.51 m³ would hold 33,510 kg of water, or 33.51 tonnes. For other materials, multiply the volume by the density, which the Density Calculator and the Mass Calculator do for you.
Each dimension has its own unit menu, so you can enter a length in feet, a width in inches and a height in metres. The calculator converts everything to a common unit and shows the answer in each unit you used. A box 6 feet long, 24 inches wide and 1 metre high has a volume of 39.37 ft³, which is 68,031 in³ or 1.11 m³, and the same volume in litres, gallons and other units appears underneath.
| Unit | Equals |
|---|---|
| 1 cubic metre | 1,000 litres = 264.17 US gallons = 35.31 cubic feet |
| 1 litre | 1,000 millilitres = 1,000 cm³ = 0.2642 US gallons |
| 1 US gallon | 3.785 litres = 231 cubic inches |
| 1 cubic foot | 28.317 litres = 7.48 US gallons |
| 1 cubic yard | 27 cubic feet = 0.7646 cubic metres |
The large number is the volume with its unit, and a formula box repeats the equation used. For shapes where there are two answers, such as a spherical cap, both are shown. At the bottom the same volume appears in cubic metres, litres, millilitres, US gallons, cubic feet and cubic inches. The Density Calculator turns a volume into a mass.
Multiply pi by the radius squared and by the height. For a radius of 3 and a height of 5 the volume is about 141.37 cubic units.
There are 1,000 litres in a cubic metre, which is about 264 US gallons.
A cone with the same base and height as a cylinder always holds exactly one third as much. The same applies to a pyramid and the box around it.
Yes. Each dimension has its own unit menu. The calculator converts to a common unit and shows the answer in each unit you used.
It gives the volume of the material in a hollow cylinder, from the outer diameter, the inner diameter and the length.
Fill in any two of the base radius, the ball radius and the height. If you give the base radius and the ball radius, there can be two caps, a small one and a large one.
Sources: Wikipedia: Volume; Wikipedia: Spherical cap; Wikipedia: Frustum; Wikipedia: On the Sphere and Cylinder
Pick another tool to jump straight to it.