Volume and Surface Area Calculator

  • Free
  • No sign-up
  • Works on phones
  • Shows the working
Geometry & Stats#40

Volume & Surface Area

Volume and surface area of a cube, box, cylinder, cone, sphere, hemisphere or rectangular pyramid.

This volume calculator finds the volume and surface area of seven solids: cube, rectangular prism (box), cylinder, cone, sphere, hemisphere and rectangular pyramid. Pick the solid, enter its dimensions, and you get the volume, the total surface area and, for cylinders and cones, the curved surface area. Answers involving ( pi ) are shown exactly (for example ( 45pi )) and as decimals.

It’s free, runs in your browser and needs no sign-up.

Volume calculator: The volume of a cylinder is the base area πr² times the height h; for r = 3 and h = 5 that is 45π ≈…
The volume of a cylinder is the base area πr² times the height h; for r = 3 and h = 5 that is 45π ≈ 141.4 cubic units.

How to use the volume calculator

  1. First, choose the solid. The menu says which letters it uses: for a cylinder, a is the radius and h is the height.
  2. Enter the dimensions in one unit. Also, boxes the solid doesn’t need are ignored.
  3. Next, press Calculate. Volume comes out in cubic units (cm³, m³) and surface area in square units (cm², m²).

Volume and surface area formulas

SolidVolumeSurface area
Cube (edge a)( a^3 )( 6a^2 )
Rectangular prism( lwh )( 2(lw + lh + wh) )
Cylinder( pi r^2h )( 2pi r^2 + 2pi rh )
Cone( frac13pi r^2h )( pi r^2 + pi rl ), ( l = sqrt{r^2 + h^2} )
Sphere( frac43pi r^3 )( 4pi r^2 )
Hemisphere( frac23pi r^3 )( 3pi r^2 ) (with the flat base)
Rectangular pyramid( frac13lwh )base + four triangular faces

The volume formulas guide explains where each one comes from.

A rectangular wooden table on a white background.

Worked example: a cylinder

A can has radius 3 cm and height 5 cm (as loaded above).

A set of metal measuring cups and spoons.

$$V = pi(3)^2(5) = 45pi approx 141.37 text{ cm}^3$$

$$SA = 2pi(3)^2 + 2pi(3)(5) = 18pi + 30pi = 48pi approx 150.80 text{ cm}^2$$

The ( 30pi ) part is the label wrapped around the side; the ( 18pi ) is the top and bottom.

Worked example: a cone

A cone with radius 3 and height 4 has slant height ( l = sqrt{9 + 16} = 5 ), so

An ice cream cone with chocolate ice cream and whipped cream.

$$V = tfrac13pi(9)(4) = 12pi approx 37.70, qquad SA = pi(3)^2 + pi(3)(5) = 24pi approx 75.40$$

A cone holds exactly one third of the cylinder with the same base and height.

Worked example: a sphere

A ball of radius 6 cm has volume ( frac43pi(6)^3 = 288pi approx 904.78 ) cm³ and surface area ( 4pi(6)^2 = 144pi approx 452.39 ) cm².

Tips and common mistakes

  • Radius, not diameter. Halve the diameter first.
  • Height vs slant height. For cones and pyramids, h is the vertical height; the calculator works out the slant height for the surface area.
  • Units. 1 litre ( = 1000 ) cm³, and 1 m³ ( = 1000 ) litres.
  • Scaling. Doubling every dimension multiplies the volume by 8 and the surface area by 4.

Where the formulas come from

The cone and sphere formulas come from calculus: slice the solid into thin discs and add up their volumes with an integral. This is the disk and washer method, and the disk method calculator does it for any curve. For hollow solids, however, see the shell method.

Volume units and conversions

FromTo
1 m³1,000 litres
1 litre1,000 cm³ (1,000 mL)
1 ft³about 7.48 US gallons, about 28.3 litres
1 US gallonabout 3.785 litres
1 in³about 16.39 cm³

Always convert lengths to one unit before calculating: a box 2 m × 50 cm × 40 cm is 2 × 0.5 × 0.4 = 0.4 m³ = 400 litres.

Worked example: a tank in litres

A rectangular water tank is 2 m long, 1 m wide and 0.8 m deep. Its volume is \( 2 \times 1 \times 0.8 = 1.6 \) m³, which holds 1,600 litres. Filled to 75% it holds 1,200 litres.

Worked example: a pyramid

A square pyramid with base 6 × 6 and height 9 has

$$V = \frac{1}{3} \times \text{base area} \times h = \frac{1}{3} \times 36 \times 9 = 108$$

A pyramid (or cone) holds exactly one third of the prism (or cylinder) with the same base and height.

Composite shapes

Split the shape into simple solids and add their volumes. A grain silo is a cylinder of radius 3 m and height 10 m topped by a hemisphere of radius 3 m:

  • Cylinder: \( \pi \times 3^2 \times 10 = 90\pi \)
  • Hemisphere: \( \frac{2}{3}\pi \times 3^3 = 18\pi \)
  • Total: \( 108\pi \approx 339.3 \) m³

For a hollow shape (a pipe), subtract the inner volume from the outer one.

How volume scales

Volume grows with the cube of length. Doubling every dimension multiplies the volume by \( 2^3 = 8 \), while the surface area is multiplied by \( 2^2 = 4 \). That is why large animals lose heat more slowly than small ones, and why a pot twice as wide and twice as tall holds eight times as much soup.

Step-by-step method

  1. Identify the shape (or split a composite shape into simple ones).
  2. Convert all lengths to the same unit.
  3. Apply the formula for each part and add or subtract.
  4. Give the answer in cubic units, or convert to litres or gallons.

Worked example: surface area and volume together

A closed cylinder with a 3 cm radius and 10 cm height has a volume of \( \pi \times 9 \times 10 = 90\pi \approx 282.7 \) cm³. Its surface area is \( 2\pi r^2 + 2\pi rh = 18\pi + 60\pi = 78\pi \approx 245.0 \) cm². Packaging designers balance these two values. For example, the least metal for a given volume comes from a can. Its height equals its diameter. This is an optimization problem. A volume calculator helps solve it with calculus.

How much water a pipe holds

A pipe with an inside radius of 5 cm holds \( \pi \times 0.05^2 \times 1 \approx 0.00785 \) m³ per metre of length, about 7.85 litres per metre. Halving the radius quarters the volume.

Common mistakes

  • Using the diameter instead of the radius in \( \pi r^2 h \), which makes the answer four times too big.
  • Forgetting the \( \frac{1}{3} \) for cones and pyramids.
  • Mixing centimetres and metres in one calculation.

Volume in calculus

Shapes with curved sides are handled by integration: slicing a solid into thin disks or shells and adding them up. For example, see the disk method calculator.

Practice problems

  1. A cylinder with radius 4 cm and height 10 cm: volume in cm³ and in litres.
  2. Next, a sphere with diameter 12 cm.
  3. A cone with radius 3 m and height 4 m.

Answers: 1. \( 160\pi \approx 502.7 \) cm³ ≈ 0.503 L. 2. \( \frac{4}{3}\pi \times 6^3 = 288\pi \approx 904.8 \) cm³. 3. \( \frac{1}{3}\pi \times 9 \times 4 = 12\pi \approx 37.7 \) m³.

Related guides

Further reading

FAQ

How do you find the volume of a cylinder?

The area of the circular base times the height ( V = pi r^2h ).

What is the volume of a cone?

Also, one third of the matching cylinder ( V = frac13pi r^2h ).

What is the formula for the volume of a sphere?

( V = frac43pi r^3 ).

How do you convert cubic centimetres to litres?

Divide by 1000: 1000 cm³ is 1 litre.

Embed this calculator on your website

Teachers, tutors and bloggers are welcome to use this calculator for free. Copy the code below and paste it into any page (in WordPress, use a "Custom HTML" block). The small script makes the calculator grow to fit its answer; if your site removes scripts, it still works at a fixed height. Please keep the credit link.

More calculators

See all calculators