How this surface area calculator works
A surface area calculator finds the total outer area of a solid from its dimensions. Choose a shape (default Cube), a length unit (default metres), and enter every required dimension greater than 0. The headline is the surface area in the matching square unit (m → m², ft → ft², and so on), with up to four decimal places. The formula used for that shape is shown as a detail.
Empty or typed 0 on any required dimension is no result. Units are m, cm, km, ft, in, yd, and mi; all dimensions share that unit. Advanced options is GPA-style: a Show volume checkbox is unused while the section is closed, even if it stays checked. All six shapes can show volume when that option is open and checked.
How to use the surface area calculator
- Choose a shape. Cube is the default. Each shape shows only the dimensions it needs.
- Choose a length unit. Surface area is reported in that unit squared. Default is metres.
- Enter every shown dimension greater than 0. Empty or typed 0 is no result.
- Open Advanced options only if you want volume as well. Closing the section hides that row even if the checkbox stays checked.
Advanced options, and closing them
This section is GPA-style. Closed, volume is unused even if Show volume stays checked. Open and checked, volume appears for every shape on this tool: cube s³, box lwh, sphere ⁴⁄₃πr³, cylinder πr²h, cone ⅓πr²h, and square pyramid ⅓a²h. Closing the section is an opt-out.
Surface-area formulas
Cube A = 6s². Box A = 2(lw + lh + wh). Sphere A = 4πr². Cylinder A = 2πr(r + h) (closed). Right cone A = πr(r + l) with slant l = √(r² + h²). Right square pyramid A = a² + 2al with slant l = √((a/2)² + h²). Cone and pyramid assume a right, straight shape so slant is derived; you do not enter it. π is JavaScript Math.PI.
Worked examples
Example: cube with side 5 m
Surface area is 6 × 5² = 150 m². With Advanced options open and Show volume checked, volume is 5³ = 125 m³. Closing Advanced options hides the 125 m³ row even if the checkbox stays checked.
Example: right cone with radius 3 m and height 8 m
Slant l = √(3² + 8²) = √73 ≈ 8.544 m. Surface area is π × 3 × (3 + 8.544) ≈ 108.87 m². Volume, if Advanced options is open and checked, is ⅓π × 3² × 8 ≈ 75.40 m³.
Example: right square pyramid with base 6 m and height 4 m
Slant l = √((6/2)² + 4²) = √(9 + 16) = 5 m. Surface area is 6² + 2 × 6 × 5 = 36 + 60 = 96 m². Volume, if shown, is ⅓ × 6² × 4 = 48 m³.
Things to keep in mind
Every dimension must be greater than 0. Cone and pyramid are right and straight: slant height is derived from radius or half-base and vertical height. Cylinder surface area includes both bases. A square unit matches the length unit you pick.
Surface area calculator FAQ
Which fields are required?
Every dimension shown for the chosen shape must be greater than 0. Empty or typed 0 on any of them is no result. Shape defaults to Cube and unit defaults to metres. Advanced options are optional.
What happens when I close Advanced options?
The volume row is unused even if the checkbox stays checked — the same GPA contract as other calculators on this site. Surface area still calculates from the dimensions.
Do I enter slant height for a cone or pyramid?
No. The tool assumes a right, straight cone or square pyramid and derives slant from radius (or half the base) and vertical height. You only enter those two dimensions.
How do units work?
All dimensions share one length unit: m, cm, km, ft, in, yd, or mi. Surface area is reported in that unit squared. Volume, when shown, uses the matching cubic unit.
Which shapes can show volume?
All six: cube, box, sphere, cylinder, cone, and square pyramid. The volume row appears only while Advanced options is open and Show volume is checked.
Does this surface area calculator store my numbers?
Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics.