Volume calculator

Pick a solid, enter its dimensions and read off the volume and the total surface area. All lengths must use the same unit, and the results are in cubic and square units of it.

Volume27
Total surface area
54

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose the solid.
  2. Enter its dimensions in one common unit.
  3. The volume and total surface area are calculated as you type.

Formulas

Solid Volume Total surface area
Cube s³ 6s²
Box l × w × h 2(lw + lh + wh)
Cylinder πr²h 2πr(r + h)
Sphere 4⁄3 πr³ 4πr²
Cone ⅓πr²h πr² + πrs, with s = √(r² + h²)
Pyramid ⅓ × l × w × h lw + l√(h² + (w/2)²) + w√(h² + (l/2)²)
Hemisphere ⅔πr³ 3πr²

The pyramid has a rectangular base and its apex sits straight above the centre of the base.

Worked examples

  • Box 2 × 3 × 4. Volume 24, surface area 2 × (6 + 8 + 12) = 52.
  • Sphere with radius 3. Volume 4⁄3 × π × 27 = 36π ≈ 113.097.
  • Cone, radius 3, height 4. The slant height is 5, the volume 12π ≈ 37.70 and the surface area 24π ≈ 75.40.

Common mistakes

  • Using the slant height as the height of a cone or pyramid. The volume needs the vertical height.
  • Forgetting that units cube. Doubling every length makes the volume eight times larger and the surface area four times larger.

Frequently asked questions

What is the volume formula for a cylinder?

Multiply the area of the circular base by the height, V = πr²h. A cylinder with radius 2 and height 5 holds 20π, about 62.83 cubic units.

How is the volume of a cone related to a cylinder?

A cone has exactly one third of the volume of a cylinder with the same base and height, V = ⅓πr²h. The same one-third rule applies to a pyramid compared with a prism.

Does the surface area include the bases?

Yes, it is the total surface area. For a cylinder that is two circular ends plus the side, for a cone the base plus the slanted side, for a hemisphere the curved part plus the flat circle.

How do I get litres from the volume?

If all lengths are in centimetres, divide the cubic centimetres by 1000 to get litres. If they are in metres, multiply the cubic metres by 1000. The volume converter handles other units.

More in Math

All tools in this category: Math ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.