Volume Calculator with Steps

Choose a 3D shape and enter its measurements to get both the volume and the surface area, with the formulas and every step of the working. A labelled sketch of the solid updates as you type.

Grades 5–10FreeNo sign-up

How to use the volume calculator

  1. Choose the solid: cube, rectangular prism, cylinder, cone, sphere, square pyramid or triangular prism.
  2. Type the measurements the shape needs. Make sure they are all in the same unit, then pick that unit from the list.
  3. 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

SolidVolumeSurface area
CubeV = s³SA = 6s²
Rectangular prismV = l × w × hSA = 2(lw + lh + wh)
CylinderV = πr²hSA = 2πr² + 2πrh
ConeV = ⅓πr²hSA = πr² + πrl, with l = √(r² + h²)
SphereV = ⁴⁄₃πr³SA = 4πr²
Square pyramidV = ⅓a²hSA = a² + 2al, with l = √(h² + (a ÷ 2)²)
Triangular prismV = ½ × b × h × LSA = 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

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.