Geometry Formulas — 2D & 3D Shapes Reference

Area, perimeter, volume, and surface area formulas for every common shape. Variables are defined inline — no flipping between pages.

2D Shapes

A perfectly round plane figure with every point equidistant from the center.

Area
A = πr²
Circumference
C = 2πr
Diameter
d = 2r

A polygon with three sides and three interior angles that sum to 180°.

Area (base & height)
A = ½bh
Heron's formula
A = √(s(s−a)(s−b)(s−c)), s = (a+b+c)/2
Perimeter
P = a + b + c

Rectangle

A four-sided polygon with four right angles and opposite sides equal.

Area
A = l × w
Perimeter
P = 2(l + w)
Diagonal
d = √(l² + w²)

Square

A rectangle with all four sides equal.

Area
A = s²
Perimeter
P = 4s
Diagonal
d = s√2

Trapezoid

A quadrilateral with exactly one pair of parallel sides (the bases).

Area
A = ½(b₁ + b₂) × h
Perimeter
P = a + b₁ + c + b₂

Parallelogram

A quadrilateral with both pairs of opposite sides parallel and equal.

Area
A = b × h
Perimeter
P = 2(a + b)

Ellipse

An oval shape defined by two focal points; a circle is a special case where both foci coincide.

Area
A = πab
Approximate perimeter
P ≈ 2π√((a² + b²)/2)

Regular Hexagon

A six-sided polygon with all sides and angles equal, common in nature and engineering.

Area
A = (3√3/2)s²
Perimeter
P = 6s

3D Shapes

Sphere

A perfectly round three-dimensional object where every surface point is equidistant from the center.

Volume
V = (4/3)πr³
Surface area
SA = 4πr²

Cylinder

A solid with two parallel circular bases connected by a curved lateral surface.

Volume
V = πr²h
Lateral surface area
LSA = 2πrh
Total surface area
SA = 2πr(r + h)

Cone

A solid with a circular base tapering to a single apex point directly above the center.

Volume
V = (1/3)πr²h
Slant height
l = √(r² + h²)
Lateral surface area
LSA = πrl
Total surface area
SA = πr(r + l)

Cube

A rectangular prism with all six faces being equal squares.

Volume
V = s³
Surface area
SA = 6s²
Space diagonal
d = s√3

Rectangular Prism (Cuboid)

Volume Calculator

A box-shaped solid with six rectangular faces.

Volume
V = l × w × h
Surface area
SA = 2(lw + lh + wh)
Space diagonal
d = √(l² + w² + h²)

Square Pyramid

A pyramid with a square base and four triangular faces meeting at an apex.

Volume
V = (1/3)s²h
Slant height
l = √(h² + (s/2)²)
Surface area
SA = s² + 2sl

Torus

A donut-shaped surface of revolution generated by revolving a circle in 3D space.

Volume
V = 2π²Rr²
Surface area
SA = 4π²Rr

Variable Key

rradius
ddiameter
hheight
bbase length
sside length
llength or slant height
wwidth
a, b, cside lengths (triangle)
Rmajor radius (torus)
π≈ 3.14159
Aarea
Vvolume
SAsurface area
Pperimeter
Ccircumference

Calculate areas and volumes instantly

Our math and construction calculators handle the arithmetic for you — just enter your measurements.