What does this calculator do?
One tool for the surface area of the six most common solids: cube, rectangular prism (box), right cylinder, right cone, sphere and right square pyramid. Pick the shape and the form shows exactly the dimensions that shape needs; the result panel reports the total surface area, plus the lateral and base areas where the shape distinguishes them. Use any length unit — the areas come out in that unit squared.
Formula
One formula per shape:
Cube: S = 6a² Prism: S = 2(lw + lh + wh) Cylinder: S = 2πr(r + h) Cone: S = πr(r + l), l = √(r² + h²) Sphere: S = 4πr² Square pyramid: S = a² + 2al, l = √((a/2)² + h²)
How to use it
Choose the shape first — the input fields adapt. Enter every dimension in the same unit. For deeper results on a single shape (volume, diagonals, slant height), open its dedicated calculator from the related list.
Worked example
Cube with edge 3: S = 6 × 3² = 54. Switching the shape to cylinder with r = 3 and h = 5 gives S = 2π × 3 × 8 = 150.7964 with lateral 94.2478 and base 28.2743.
Frequently asked questions
What is the difference between total and lateral area?
Total counts every face including bases; lateral counts only the sides (the curved wall of a cylinder, the four triangles of a pyramid). Spheres and cubes have no separate base, so only the total is shown.
Which l does the cone formula use?
The slant height l = √(r² + h²), derived automatically from the radius and vertical height you enter — it is shown in the calculation steps.
Why does my paint estimate differ from the total area?
Real objects have overlaps, openings and waste. The formulas give exact mathematical surface area; add a practical margin (often 10%) and subtract faces you will not coat.
Sources
- Standard solid geometry (volume, surface area, diagonals and slant heights of cubes, rectangular prisms, cylinders, cones, spheres and right square pyramids). Results are mathematically calculated from the supplied values, subject to input and display precision; π is used at full floating-point precision internally.
- OpenStax — Contemporary Mathematics (chapter on volume and surface area)
- Khan Academy — Volume and surface area (accessible explainer, not the primary source)
- Reviewed: 2026-07-31
Related calculators
Last updated: 2026-07-31 · v1.0.0 · Report an error