Understanding the surface area calculator — concept and principle
This calculator finds the total surface area of common 3D solids: cube, rectangular box, cylinder, cone, sphere, hemisphere, rectangular pyramid, triangular prism, frustum of a cone and capsule. It splits the total into the lateral (side) area and the base area and shows the formula used. Use it for painting, wrapping, insulation, sheet-metal work, packaging and geometry homework.
How it is calculated
- Cube 6a²; box 2(ab + bc + ac).
- Cylinder 2πrh + 2πr² (side + two circles).
- Cone πr·s + πr², with slant height s = √(r² + h²).
- Sphere 4πr²; hemisphere 2πr² + πr² (curved part + flat base).
- Rectangular pyramid ab + a·√((b/2)² + h²) + b·√((a/2)² + h²).
- Triangular prism (a + b + c)·length + 2 × triangle area (Heron's formula).
- Frustum π(r₁ + r₂)·s + π(r₁² + r₂²), with s = √((r₁ − r₂)² + h²).
- Capsule 2πrℓ + 4πr².
Results are in the input unit squared.
The principle
Surface area is the area of the "skin" you would get if you cut a solid open and laid it flat, called its net. Flat faces are rectangles, triangles or circles. A cylinder's side unrolls into a rectangle whose width is the circumference 2πr and whose height is h. A cone's side unrolls into a circular sector with area πr·s. A sphere cannot be flattened without stretching, but Archimedes showed its area equals the side of a cylinder that just encloses it, 4πr².
Worked example
Default inputs: cylinder, radius a = 3, height b = 10.
- Lateral area = 2π × 3 × 10 = 60π ≈ 188.4955592.
- Base area = 2 × π × 3² = 18π ≈ 56.54866776.
- Total = 78π ≈ 245.044227.
- Formula used: S = 2πrh + 2πr². Slant height does not apply to a cylinder.
| a | Total surface area |
|---|---|
| 0.75 | 50.65818154 |
| 1.5 | 108.3849465 |
| 2.25 | 173.180295 |
| 3 | 245.044227 |
| 3.75 | 323.9767424 |
| 4.5 | 409.9778413 |
| 6 | 603.1857895 |
How to read the result
The total area is what you need for a closed object, such as wrapping a tin. For painting a wall-mounted tank, an open bucket or a pipe, use only the parts you will actually cover: the lateral area plus one base, or the lateral area alone. Because area grows with the square of size, doubling all dimensions quadruples the surface.
Common mistakes
- Using the height instead of the slant height for cones and pyramids.
- Counting both bases for an open container.
- Confusing radius and diameter.
- Mixing units, such as a radius in cm and a height in m.
Frequently asked questions
What is the difference between lateral and total surface area?
Lateral area is the side only; total area adds the bases.
How do I find the area of a pipe's outside?
Use the lateral area of a cylinder with the outer radius: 2πrh.
Why is a sphere's area 4πr²?
It equals the curved side of the cylinder that just encloses it, 2πr × 2r, a result proved by Archimedes.
Sources: OpenStax, Prealgebra 2e, §9.6 Solve Geometry Applications: Volume and Surface Area · OpenStax, Calculus Volume 2, §2.4 Arc Length of a Curve and Surface Area