Skip to content
The Calculatorz
Geometry

Volume and Surface Area Calculator (3D Shapes)

Calculate the volume and surface area of a cube, box, sphere, hemisphere, cylinder, cone or square pyramid.

Shape and dimensions

Shape

How to use this calculator

Choose a shape and enter its dimensions in any one unit of length. The shape list shows which dimensions it uses; unused ones are ignored. Volume is given in cubic units and surface area in square units of the same length unit.

Formula

Cube: V = a³, A = 6a². Box: V = abc, A = 2(ab + bc + ac). Sphere: V = 4/3πa³, A = 4πa². Hemisphere: V = 2/3πa³, A = 3πa². Cylinder: V = πa²c, A = 2πa(a + c). Cone: V = 1/3πa²c, A = πa(a + s) with slant s = √(a² + c²). Square pyramid: V = a²c ÷ 3, A = a² + 2a√((a/2)² + c²).

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Expert reviewIfrahMSc Mathematics

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

What is the difference between volume and surface area?

Volume measures the space inside a solid (cubic units); surface area measures the total area of its outside faces (square units).

Does the surface area of a cylinder include the ends?

Yes. The total surface area includes both circular ends and the curved side. The curved (lateral) area is shown separately.

What is the slant height of a cone?

It is the distance from the tip to the edge of the base along the side: √(radius² + height²). It is needed for the cone's curved surface area.

Which units should I use?

Any length unit, as long as all dimensions use the same one. Results are in that unit cubed and squared, for example cm³ and cm².

How do I convert cubic centimetres to litres?

1,000 cm³ = 1 litre. For other conversions, use the Volume Converter.

Why is a cone one third of a cylinder?

A cone with the same base and height as a cylinder holds exactly one third of the cylinder's volume, a result first proved by Eudoxus and Archimedes.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. Kirk, D. (2023). Contemporary mathematics. OpenStax. View source
  2. Marecek, L., Anthony-Smith, M., & Honeycutt Mathis, A. (2020). Prealgebra 2e. OpenStax. View source
  3. Olver, F. W. J., Lozier, D. W., Boisvert, R. F., & Clark, C. W. (Eds.). (2024). NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. View source
  4. International Organization for Standardization. (2019). ISO 80000-2: Quantities and units—Part 2: Mathematics. View source