Loading…

Line (reflectional) Symmetry Detector

Math Geometry • Transformations and Symmetry

View all topics

Line (Reflectional) Symmetry Detector

Check whether a polygon has reflectional (mirror) symmetry. This tool can auto-detect all symmetry lines or test a custom line, and highlights results on an interactive graph.

Inputs accept 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.

Polygon (vertices)
Use (x,y) or x,y. Provide vertices in order around the polygon (clockwise or counterclockwise). You may repeat the first vertex at the end; it will be ignored.
Symmetry check mode
Common candidates (toggle any):
These two points must be different.
Not both \(a\) and \(b\) can be zero.

Tip: A square has 4 symmetry lines (2 axes through centroid + 2 diagonals). Use Fill example to test.

Graph options

The plot uses square units (same scale on x and y) and supports pan/zoom/pinch.

Ready
Symmetry diagram (square units • pan/zoom enabled)

Drag to pan • wheel/trackpad to zoom • pinch on touch • “Reset view” fits the geometry.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is line (reflectional) symmetry in a polygon?

A polygon has line symmetry if reflecting it across some line produces the same polygon in the same position. That mirror line is called a line of symmetry.

How does the line symmetry detector test if a polygon is symmetric?

It reflects every vertex across a candidate mirror line and then checks whether the reflected vertices match the original vertex set up to cyclic order, allowing for reversal because reflection flips orientation. A small tolerance is used to handle rounding in decimal inputs.

Why must polygon vertices be entered in order around the shape?

The symmetry test compares the reflected polygon to the original as an ordered walk around the boundary. If vertices are out of order, the tool may treat the shape as a different polygon and report no symmetry.

What does the matching tolerance change?

Tolerance controls how close two coordinates must be to count as a match after reflection. Strict can reject symmetry for decimal-heavy inputs, while Loose can be more forgiving when coordinates are rounded.

How can I test a custom symmetry line?

Choose the custom line mode and define the mirror line using two distinct points on the line or by entering coefficients for ax+by+c=0. Then calculate to see whether reflecting the polygon across that line produces an exact match within the chosen tolerance.