Result

A polygon with 5 sides (pentagon) has:

5 diagonals

Properties
  • Interior Angle Sum 540°
  • Exterior Angle Sum 360°
  • Triangles Formed 3
Calculation Steps
1 We use the formula for diagonals in a polygon: n(n-3)/2
2 For n = 5: 5(5-3)/2 = 5(2)/2 = 10/2 = 5
3 Therefore, a pentagon has 5 diagonals
Visualization
About Polygon Diagonals

A diagonal is a line segment connecting two non-consecutive vertices of a polygon. Unlike sides, diagonals connect vertices that are not next to each other.

The formula to calculate the number of diagonals in a polygon is n(n-3)/2, where n is the number of sides. This works because each vertex connects to n-3 other vertices via diagonals (excluding itself and its two adjacent vertices), and we divide by 2 to avoid counting each diagonal twice.

This calculator works for both regular (all sides and angles equal) and irregular polygons. While regular polygons have symmetrical diagonals, irregular polygons can have diagonals of different lengths, but the total count remains the same for the same number of sides.

Geometry Learning Center

Core Concept: Understanding Diagonals

A diagonal is a straight line inside a polygon that connects two vertices (corners) that are not next to each other. Think of it as a "shortcut" across the shape that doesn't follow the outer edges.

The Diagonal Formula

D = n(n - 3) ÷ 2

Where:
• D = Number of diagonals
• n = Number of sides (must be 3 or more)
• (n - 3) = Connections from each vertex
• ÷ 2 = Prevents double-counting

Step-by-Step Example: Hexagon (6 sides)

Let's calculate diagonals for a hexagon together:

  1. Identify n: n = 6 (hexagon has 6 sides)
  2. Apply formula: D = 6(6 - 3) ÷ 2
  3. Subtract: 6 - 3 = 3
  4. Multiply: 6 × 3 = 18
  5. Divide: 18 ÷ 2 = 9
  6. Result: A hexagon has 9 diagonals

Visual check: Draw a hexagon and count the diagonals to verify!

Diagram Description

The visualization above shows:

  • Vertices (dots): The corners of the polygon labeled numerically
  • Sides (black lines): Outer edges connecting consecutive vertices
  • Diagonals (colored lines): Interior lines connecting non-adjacent vertices
  • Animation: Shows diagonals being drawn from each vertex

Pattern to notice: From each vertex, you can draw diagonals to all other vertices except itself and the two adjacent ones.

Common Student Mistakes
  • Forgetting to divide by 2: Counting each diagonal twice (from both ends)
  • Using n = 2 or n = 1: Remember, polygons must have at least 3 sides
  • Confusing with sides: Diagonals are NOT the outer edges
  • Arithmetic errors: Misapplying PEMDAS/BODMAS rules in the formula
  • Triangle confusion: Thinking triangles have diagonals (they don't!)

Learning Objectives

Understand what a diagonal is and how it differs from a side
Memorize and apply the formula D = n(n-3)/2 correctly
Calculate diagonals for polygons with 3-20 sides
Explain why triangles have zero diagonals
Connect diagonal count to interior triangles (n-2)
Exam & Test Relevance

This concept appears in:

  • SAT/ACT Math: Geometry sections on polygons
  • High School Geometry: Chapter on polygons and their properties
  • Math Competitions: Counting problems and combinatorics
  • College Entrance: Quantitative reasoning questions

Tip: Remember that "n" always represents the number of sides, and the answer must be a whole number (no fractions or decimals).

Concept Connections

Polygon diagonals relate to other geometry topics:

  • Interior Angles: Diagonals create triangles inside polygons
  • Combinatorics: Formula comes from combinations (n choose 2 minus n)
  • Triangulation: Every polygon can be divided into (n-2) triangles using diagonals
  • Graph Theory: Polygons are cyclic graphs, diagonals are non-adjacent edges
  • Area Calculation: Diagonals help divide complex shapes into simpler ones

Accuracy & Rounding Notes

Important: The diagonal formula always produces whole numbers when n is an integer ≥ 3.

  • No rounding needed - results are exact
  • Formula works for both regular and irregular polygons
  • If you get a fraction, check your arithmetic
  • Maximum practical n depends on visualization, but formula works for any n ≥ 3

Proof: n(n-3) is always even when n is an integer, so division by 2 always gives an integer.

Practice Tips

  1. Start small: Draw polygons with 3-6 sides and count diagonals manually
  2. Pattern recognition: Notice how adding one side increases diagonals significantly
  3. Memory trick: "Each vertex connects to n-3 others, but divide by 2"
  4. Verification: Use this calculator to check your manual calculations
  5. Application: Find real-world polygons (stop signs, soccer balls) and estimate their diagonals
Educational Disclaimer

This tool is designed for educational purposes. While the calculations are mathematically accurate, always verify critical results with multiple methods. The visualization shows a regular polygon for clarity, but the formula works for all convex polygons. For concave polygons, all diagonals remain inside the shape. Use this tool to enhance understanding, not replace foundational learning.

Formula Derivation Summary

Why n(n-3)/2 works:

  1. Each of n vertices can connect to (n-1) other vertices
  2. Subtract 2 adjacent vertices (these are sides, not diagonals)
  3. So each vertex has (n-3) diagonal connections
  4. n vertices × (n-3) connections = n(n-3)
  5. But each diagonal is counted twice (from both ends)
  6. So divide by 2: n(n-3)/2

Alternative view: Total connections between n points = n(n-1)/2 (combinations). Subtract n sides = n(n-1)/2 - n = n(n-3)/2.