What is volume?
Volume tells you how much space is inside a solid shape. Think of how much water a fish tank holds or how much soil fits in a planter. Area covers a flat surface. Volume adds depth.
Because we measure a length in each of three directions, volume is always in cubic units, written with a small 3, as in cm³.
Volume formulas for each shape
Three more shapes are available. A triangular prism is the triangle's area times the length. A cone frustum is a cone with its tip cut off. An ellipsoid is a stretched sphere with three semi-axes.
How to use the volume calculator
- Choose a shape from the list. There are nine: cube, box, cylinder, sphere, cone, pyramid, triangular prism, cone frustum and ellipsoid.
- Enter the sizes that appear for that shape. Use the same unit for all of them.
- For round shapes, enter the radius, not the diameter.
- Read the volume and the steps.
- Write your unit with a small 3, such as m³.
Volume examples by shape
Example 1: A cylinder
A can has a radius of 3 centimeters and a height of 5 centimeters.
- V = π × r² × h.
- r² = 9, so V = π × 9 × 5 = 45π.
- 45π ≈ 141.37.
The can holds about 141.37 cm³, which is about 141 milliliters.
Example 2: A cone
An ice cream cone has a radius of 3 centimeters and a height of 4 centimeters.
- V = ⅓ × π × r² × h.
- V = ⅓ × π × 9 × 4 = 12π.
- 12π ≈ 37.70.
The cone holds about 37.70 cm³.
Example 3: A box
A shipping box is 40 cm long, 30 cm wide and 25 cm tall. The volume is 40 × 30 × 25 = 30,000 cubic centimeters. Since 1,000 cubic centimeters equal 1 liter, the box holds 30 liters.
Example 4: A sphere
A ball has a radius of 5 cm. The volume is 4⁄3 × π × 5³ = 500π⁄3 ≈ 523.60 cubic centimeters. If you only know the diameter, halve it first. A diameter of 10 cm gives the same radius of 5 cm.
Example 5: A square pyramid
A pyramid has a square base 6 m on each side and a height of 9 m. The base area is 36 square meters. The volume is 1⁄3 × 36 × 9 = 108 cubic meters.
Example 6: A frustum
A paint bucket is a cone frustum with a top radius of 2 cm, a bottom radius of 4 cm and a height of 5 cm. The bracket is 2² + 2 × 4 + 4² = 4 + 8 + 16 = 28. The volume is 1⁄3 × π × 5 × 28 = 140π⁄3 ≈ 146.61 cubic centimeters.
Example 7: A triangular prism
A tent is a triangular prism. The triangle has a base of 6 m and a height of 4 m, and the tent is 10 m long. The triangle area is 1⁄2 × 6 × 4 = 12 square meters, so the volume is 12 × 10 = 120 cubic meters.
Volume units and conversions
The answer comes back in cubic units of whatever you typed. Centimeters give cm³, feet give ft³. To turn that into a capacity:
| From | To | Factor |
|---|---|---|
| 1,000 cm³ | liters | 1 L |
| 1 m³ | liters | 1,000 L |
| 1 ft³ | US gallons | about 7.48 gal |
| 231 in³ | US gallons | 1 gal |
The unit converter handles other volume units.
Shapes the calculator does not list
Break the shape into pieces it does list, then add. A capsule is a cylinder plus two half spheres, which make one whole sphere. With radius 2 and a straight middle of 6: π × 4 × 6 ≈ 75.40, plus (4/3) × π × 8 ≈ 33.51, for a total of about 108.91 cubic units. For a hollow pipe, subtract the inner cylinder from the outer one.
For an irregular solid object, measure it by water displacement. Put it in a measuring jug: if the level rises from 500 mL to 650 mL, the object's volume is 150 mL, which is 150 cm³.
Volume versus surface area
Volume counts the space inside and is cubed. Surface area counts the outside skin and is squared. Paint and wrapping need surface area; filling and storage need volume. Use the surface area calculator for the outside.
Tips for measuring
- Choose the shape first, then fill in the lengths it asks for.
- Use the radius for round shapes. If you have the diameter, divide by 2.
- Use the vertical height for cones and pyramids, not the slanted side.
- Keep all lengths in one unit. Convert first if some are in meters and some in centimeters.
- For all the formulas side by side, see volume formulas for cube, cylinder and sphere.
Common volume mistakes
- Using the diameter as the radius. This makes a round shape's volume four times too large.
- Forgetting the one-third factor for cones and pyramids.
- Mixing units. Do not enter one length in inches and another in feet.
- Using the slant height instead of the height for a cone or pyramid. You need the straight-up height. The Pythagorean theorem can turn a slant height into a height.
- Writing square units. Volume uses cubic units.
Real-life uses of volume
You use volume to buy the right amount of concrete, to fill a pool, to size a water tank, to pack boxes, to follow a recipe in cups or milliliters, and to compare packaging. Science classes use it to find density, which is mass divided by volume. For help changing units, read how to convert units with ratios.
Volume of a tube
A tube, a pipe or a drinking straw is a cylinder: volume = π × radius² × height (or length). If you have the outer and inner diameters of a hollow tube and want only the material, subtract the inner cylinder from the outer one: V = π × length × (R² − r²). For water inside the pipe, use the inner radius only.
Example: a pipe with an inner diameter of 4 cm (radius 2 cm) and a length of 2 m (200 cm). Volume of water it holds = π × 2² × 200 ≈ 2,513 cm³, which is 2.513 litres. The water flow rate calculator starts from that same inner diameter, together with a pressure drop and a length, when the question is how fast the water moves rather than how much the pipe holds. The surface area calculator will give the outside of a cylinder if you need paint or wrapping rather than volume.
Choose “Cylinder” in the shape list, enter the inner radius and the length, and read the steps.