How to use the volume calculator
- Choose the solid: cube, rectangular prism, cylinder, cone, sphere, square pyramid or triangular prism.
- Type the measurements the shape needs. Make sure they are all in the same unit, then pick that unit from the list.
- The volume and surface area appear at once, followed by two sets of numbered steps. The sketch shows which measurement is which — dashed orange lines are heights and radii inside the solid.
Volume and surface area: what is the difference?
Volume is the amount of space a solid takes up — how much water would fill it. It is measured in cubic units (cm³, m³, in³) because you are counting 1 × 1 × 1 cubes. Surface area is the total area of the outside of the solid — how much wrapping paper would cover it — and is measured in square units (cm², m²).
Volume and surface area formulas
| Solid | Volume | Surface area |
|---|---|---|
| Cube | V = s³ | SA = 6s² |
| Rectangular prism | V = l × w × h | SA = 2(lw + lh + wh) |
| Cylinder | V = πr²h | SA = 2πr² + 2πrh |
| Cone | V = ⅓πr²h | SA = πr² + πrl, with l = √(r² + h²) |
| Sphere | V = ⁴⁄₃πr³ | SA = 4πr² |
| Square pyramid | V = ⅓a²h | SA = a² + 2al, with l = √(h² + (a ÷ 2)²) |
| Triangular prism | V = ½ × b × h × L | SA = bh + (b + s₁ + s₂) × L |
The two big ideas behind the formulas
Prisms and cylinders: base area × height. A prism is the same shape all the way through, like a stack of identical slices. So its volume is the area of one slice times how tall the stack is. A box has a rectangular slice (l × w), a cylinder a circular one (πr²) and a triangular prism a triangular one (½ × b × h). If you can find the base with the area calculator, you can find the volume of any prism.
Pyramids and cones: one third of that. A pyramid or cone that fits exactly inside a prism or cylinder — same base, same height — takes up exactly one third of its volume. You can check this by filling a cone with water three times to fill the matching cylinder.
Worked examples
Rectangular prism. A box is 6 cm long, 4 cm wide and 3 cm high.
V = 6 × 4 × 3 = 72 cm³.
SA = 2 × (24 + 18 + 12) = 2 × 54 = 108 cm².
Cylinder. A can has radius 3 cm and height 8 cm.
V = π × 3² × 8 = 72π ≈ 226.1947 cm³.
SA = 2π × 3² + 2π × 3 × 8 = 18π + 48π = 66π ≈ 207.3451 cm².
Cone. Radius 3 in, height 4 in.
V = ⅓ × π × 9 × 4 = 12π ≈ 37.6991 in³.
The slant height is √(3² + 4²) = 5 in, so SA = π × 9 + π × 3 × 5 = 24π ≈ 75.3982 in².
Height versus slant height
For cones and pyramids there are two different “heights”. The height (h) goes straight up from the centre of the base to the tip, at a right angle to the base — you need it for the volume. The slant height (l) runs along the sloping surface from the edge of the base to the tip — you need it for the surface area. The two are connected by a right triangle, so if you know one you can find the other with the Pythagorean theorem. This calculator asks for the vertical height and works out the slant height for you.
Tips and common mistakes
- Radius, not diameter. If you are given the distance across a cylinder or sphere, halve it first. The circle calculator converts between them.
- Same units everywhere. Convert before you calculate: a box 2 m × 50 cm × 40 cm is 200 × 50 × 40 cm.
- Cubic units scale fast. 1 m³ is 100 × 100 × 100 = 1,000,000 cm³, and 1 ft³ is 12³ = 1,728 in³. Doubling every dimension multiplies the volume by 8 and the surface area by 4.
- Litres. 1 litre is exactly 1,000 cm³, so a 72 cm³ box holds 0.072 L.
Frequently asked questions
How do I calculate the volume of a rectangular prism?
Multiply length × width × height. A box 6 by 4 by 3 has a volume of 72 cubic units.
What is the formula for the volume of a cylinder?
V = πr²h: the area of the circular base, πr², multiplied by the height. For radius 3 and height 8, V = 72π ≈ 226.19 cubic units.
Why is the volume of a cone one third of a cylinder?
A cone with the same base and height as a cylinder fills exactly one third of it. This can be shown with calculus or by pouring: three cones of water fill the cylinder.
How do I find the surface area of a rectangular prism?
Find the areas of the three different faces (l × w, l × h and w × h), add them, and double the total: SA = 2(lw + lh + wh).
What is the difference between volume and surface area?
Volume measures the space inside a solid in cubic units. Surface area measures the total area of its outer faces in square units.
How do I find the volume of a sphere?
Cube the radius, multiply by π, then multiply by 4/3: V = ⁴⁄₃πr³. A sphere of radius 6 has volume 288π ≈ 904.78 cubic units.