Numbers & Math

Geometry Formulas

Area, perimeter, surface area, and volume formulas for common 2D and 3D shapes.

2D shapes

ShapeAreaPerimeter
Square (side s)4s
Rectangle (w × h)w · h2(w + h)
Triangle (b, h)½ b · ha + b + c
Equilateral triangle (s)(√3 / 4) s²3s
Circle (r)π r²2π r
Ellipse (a, b)π a b≈ π[3(a+b) − √((3a+b)(a+3b))]
Parallelogram (b, h)b · h2(a + b)
Trapezoid (a, b, h)½ (a + b) ha + b + c + d
Regular n-gon (n, s)(n s² / 4) cot(π/n)n · s
Circular sector (r, θ rad)½ r² θr(2 + θ)

3D shapes

SolidVolumeSurface area
Cube (s)6s²
Rectangular box (w, h, d)w h d2(wh + hd + wd)
Sphere (r)(4/3) π r³4π r²
Cylinder (r, h)π r² h2π r (r + h)
Cone (r, h)(1/3) π r² hπ r (r + √(r² + h²))
Pyramid (base A, h)(1/3) A hA + ½ · perim · slant
Torus (R, r)2π² R r²4π² R r
Was this article helpful?