Geometry Formulas Cheat Sheet

Last Updated: November 21, 2025

2D Shapes - Area

Shape Formula
Square A = s²
Rectangle A = l × w
Triangle A = ½bh
Circle A = πr²
Trapezoid A = ½(b₁ + b₂)h

2D Shapes - Perimeter

Shape Formula
Square P = 4s
Rectangle P = 2l + 2w
Triangle P = a + b + c
Circle (Circumference) C = 2πr or πd

3D Shapes - Volume

Shape Formula
Cube V = s³
Rectangular Prism V = l × w × h
Cylinder V = πr²h
Sphere V = 4/3πr³
Cone V = 1/3πr²h
💡 Pro Tip: Remember: area is measured in square units, volume in cubic units!
← Back to Data Science & ML | Browse all categories | View all cheat sheets