Polygon Area Calculator
Find the area of any polygon — regular, irregular, or special shape — with step-by-step workings and a live diagram.
Shape
Presets:
Area
—
Enter values above
Regular Polygon Reference
| Name | Sides | Interior Angle | Area Formula |
|---|---|---|---|
| Triangle | 3 | 60° | A = (√3/4)s² |
| Square | 4 | 90° | A = s² |
| Pentagon | 5 | 108° | A = (s²/4)√(25+10√5) |
| Hexagon | 6 | 120° | A = (3√3/2)s² |
| Heptagon | 7 | 128.57° | A = (7s²/4)cot(π/7) |
| Octagon | 8 | 135° | A = 2(1+√2)s² |
| Nonagon | 9 | 140° | A = (9s²/4)cot(π/9) |
| Decagon | 10 | 144° | A = (5s²/2)√(5+2√5) |
| Dodecagon | 12 | 150° | A = 3(2+√3)s² |
| n-gon (general) | n | (n−2)×180/n° | A = (ns²)/(4tan(π/n)) |
Special Shape Formulas
| Shape | Formula | Notes |
|---|---|---|
| Rectangle | A = w × h | Width × Height |
| Parallelogram | A = b × h | Base × perpendicular height |
| Trapezoid | A = ½(b₁+b₂)×h | Average of parallel bases × height |
| Rhombus | A = (d₁×d₂)/2 | Half the product of diagonals |
| Irregular polygon | Shoelace formula | Requires ordered vertex coordinates |
Key Polygon Properties
| Property | Formula |
|---|---|
| Interior angle (regular) | (n−2) × 180 / n |
| Sum of interior angles | (n−2) × 180° |
| Apothem (regular) | a = s / (2 × tan(π/n)) |
| Circumradius (regular) | R = s / (2 × sin(π/n)) |
| Number of diagonals | n(n−3) / 2 |
How to Enter Coordinates for Irregular Polygons
Format
| Separator | Comma between x and y: (x,y) |
| Vertices | One per line or separated by commas |
| Order | Any consistent winding (CW or CCW) |
| Minimum | At least 3 vertices required |
| Decimals | Supported: (1.5, 3.25) |
Accepted Input Examples
| Multi-line | (0,0) |
| Single line | (0,0),(4,0),(4,3),(0,3) |
| No parentheses | 0,0 4,0 4,3 0,3 |
| Spaces around comma | (0, 0), (4, 0) |
Shoelace Formula Explained
The Formula
| Step 1 | List vertices: (x₁,y₁), (x₂,y₂), … (xₙ,yₙ) |
| Step 2 | Sum: Σ(xᵢ × yᵢ₊₁) |
| Step 3 | Sum: Σ(yᵢ × xᵢ₊₁) |
| Step 4 | Area = ½ × |Step2 − Step3| |
| Note | Wrap last vertex back to first |
Example: Rectangle (0,0)→(4,0)→(4,3)→(0,3)
| Forward sum | 0×0 + 4×3 + 4×3 + 0×0 = 24 |
| Backward sum | 0×4 + 0×4 + 3×0 + 3×0 = 0 |
| Area | ½ × |24 − 0| = 12 ✓ |
| Perimeter | 4 + 3 + 4 + 3 = 14 |
| Matches | w × h = 4 × 3 = 12 ✓ |