Skip to main content
Math & statisticsLocal in browser — nothing is uploaded

2D & 3D geometry calculator

Calculate area, circumference, Heron triangle area, perimeter, diagonal, slant height, volume, and surface area for common 2D shapes and 3D solids.

Volume (π r² h)
942.477796
Total Surface Area (2πr(r + h))
534.070751

Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.

Report a problem with this tool

Triangle inequality & 3D solids

Input verification: Validates Heron triangles against the strict triangle inequality (a + b > c) before taking square roots.

Frequently asked questions

Are units assumed to be meters, cm, or inches?
Formulas are unit-agnostic: output areas share squared input units and volumes share cubed input units.
Does cylinder and cone surface area include base caps?
Yes—Total Surface Area includes circular bases (2πr(r+h) and πr(r+l)).