Geometry Area & Volume

2D Shapes
Shape
Width
Height
Formula
A = w · h; P = 2(w + h)
Area
15
Perimeter
16
Options
Display
Display only; internal math uses full precision (π≈3.141593).

About Geometry Area & Volume

Compute area/ perimeter for 2D shapes and volume/ surface area for 3D solids with live results and copyable summaries.

Formulas (selected)

  • Rectangle: A=wh, P=2(w+h)
  • Square: A=a², P=4a
  • Circle: A=πr², C=2πr
  • Triangle (Heron): A=√[s(s−a)(s−b)(s−c)], s=(a+b+c)/2
  • Trapezoid: A=(b₁+b₂)h/2
  • Regular n-gon: A=n·a²/(4·tan(π/n)), P=n·a
  • Cube: V=a³, S=6a²
  • Cuboid: V=lwh, S=2(lw+wh+lh)
  • Sphere: V=4/3·πr³, S=4πr²
  • Cylinder: V=πr²h, S=2πrh+2πr²
  • Cone: V=(1/3)πr²h, S=πrl+πr² (l=√(r²+h²))
  • Square pyramid: V=(1/3)a²h, S=a²+2a·s (s=√((a/2)²+h²))
  • Torus: V=2π²Rr², S=4π²Rr

Units: results append , , or based on your unit setting.