2D Shape Identifier

Identify and classify polygons, triangles, quadrilaterals based on sides, angles and symmetry properties.

Welcome to 2D Shape Identifier!

Enter the properties of your shape on the left to identify it.


Try our pre-populated example or enter your own values.

Shape properties will be displayed here after identification.

This tool helps you identify 2D shapes based on their properties. You can:

  • Select the number of sides from the dropdown
  • Enter side lengths and angles
  • Mark if the shape is regular (all sides and angles equal)
  • Use advanced options for more specific properties
  • Enter exact coordinates for precise shape identification
  • Compare two different shapes

Click "Identify Shape" to see the results!

Triangles (3 sides)
  • Equilateral: All sides equal, all angles 60°
  • Isosceles: Two sides equal, two angles equal
  • Scalene: All sides and angles different
  • Right: One 90° angle
Quadrilaterals (4 sides)
  • Square: All sides equal, all angles 90°
  • Rectangle: Opposite sides equal, all angles 90°
  • Rhombus: All sides equal, opposite angles equal
  • Parallelogram: Opposite sides equal and parallel
  • Trapezoid: At least one pair of parallel sides
  • Kite: Two distinct pairs of adjacent sides equal
Polygons (5+ sides)
  • Pentagon: 5 sides
  • Hexagon: 6 sides
  • Heptagon: 7 sides
  • Octagon: 8 sides
  • Add "regular" prefix if all sides and angles are equal

Key Properties We Analyze
  • Sides: Number and lengths of sides
  • Angles: Measures of interior angles
  • Symmetry: Lines of symmetry
  • Parallelism: Pairs of parallel sides
  • Regularity: Whether all sides and angles are equal
  • Convexity: Whether all interior angles are less than 180°
Angle Sum Formula

For any polygon with n sides, the sum of interior angles is:

(n - 2) × 180°

For example, a quadrilateral (4 sides) has angle sum of 360°.

2D Shape Identification: Complete Educational Guide

Tool Overview & Purpose

This 2D Shape Identifier is a professional geometry tool designed to classify polygons based on their geometric properties. The tool analyzes side lengths, angle measurements, symmetry properties, and coordinate data to accurately identify shape types from triangles through dodecagons (12-sided polygons).

Primary Functions:

  • Shape Classification: Identifies specific polygon types (equilateral triangles, squares, rhombuses, etc.)
  • Property Analysis: Calculates geometric properties including symmetry, parallelism, and regularity
  • Coordinate Processing: Converts vertex coordinates into geometric classifications
  • Comparative Analysis: Compares two shapes to identify similarities and differences
  • Visual Representation: Generates accurate SVG visualizations of identified shapes

Geometry Concept Explanation

Polygon Fundamentals

A polygon is a closed 2D shape formed by connecting straight line segments called sides. Key characteristics include:

  • Vertices: Points where sides meet
  • Sides: Line segments connecting vertices
  • Interior Angles: Angles formed inside the polygon at each vertex
  • Exterior Angles: Angles formed outside the polygon

Classification Hierarchy

  • Regular vs Irregular: Regular polygons have all sides and angles equal
  • Convex vs Concave: Convex polygons have all interior angles less than 180°
  • Simple vs Complex: Simple polygons don't intersect themselves
  • Cyclic: Polygons whose vertices lie on a single circle

Formula Breakdown & Mathematical Foundation

Core Geometric Formulas Used
  1. Interior Angle Sum Formula: (n - 2) × 180° where n = number of sides
  2. Regular Polygon Interior Angle: [(n - 2) × 180°] ÷ n
  3. Distance Formula (for coordinates): √[(x₂ - x₁)² + (y₂ - y₁)²]
  4. Angle Between Vectors: cos⁻¹[(v₁·v₂)/(|v₁||v₂|)]
  5. Slope for Parallelism Check: m = (y₂ - y₁)/(x₂ - x₁)

Variable Meanings

  • n: Number of sides (must be ≥ 3)
  • s₁, s₂, ...: Side lengths (positive real numbers)
  • α₁, α₂, ...: Interior angles in degrees (0° < α < 180° for convex)
  • (xᵢ, yᵢ): Cartesian coordinates of vertices
  • θ: Angle tolerance (0.1° for classification)
  • ε: Length tolerance (0.001 units)

Step-by-Step Calculation Example

Example: Identifying a Quadrilateral

Given: Sides = [5, 5, 5, 5], Angles = [90°, 90°, 90°, 90°], Regular checkbox checked

  1. Step 1: Count sides: n = 4 (quadrilateral)
  2. Step 2: Check angle sum: (4-2)×180° = 360°, input sum = 360° ✓
  3. Step 3: Check side equality: All sides = 5 ✓
  4. Step 4: Check angle equality: All angles = 90° ✓
  5. Step 5: Verify regularity: All sides equal AND all angles equal ✓
  6. Step 6: Check for right angles: All angles = 90° ✓
  7. Step 7: Classify: Regular quadrilateral with right angles = SQUARE
  8. Step 8: Calculate properties: 4 lines of symmetry, rotational order 4

Result: Square (Regular Quadrilateral)

Real-World Applications

Engineering & Architecture

  • Structural Design: Identifying load-bearing shapes in trusses
  • Material Optimization: Regular shapes for efficient material usage
  • Architectural Planning: Room layout analysis and space planning
  • Civil Engineering: Surveying land plots and property boundaries

Design & Manufacturing

  • Product Design: Component shape verification
  • CNC Programming: Tool path generation for polygon shapes
  • 3D Modeling: Base profile identification for extrusion
  • Quality Control: Verifying manufactured part dimensions

Educational & Research

  • Mathematics Education: Teaching polygon classification
  • Computer Vision: Shape recognition algorithm development
  • Geographic Information Systems: Polygon feature analysis
  • Game Development: Collision detection shape optimization

Input Accuracy & Measurement Guidance

Critical Input Considerations
  • Side Lengths: Must be positive numbers > 0. Use consistent units
  • Angles: Interior angles only. Sum must match (n-2)×180°
  • Coordinates: Enter in consistent coordinate system. Counter-clockwise order recommended
  • Precision: Tool uses 0.001 length tolerance and 0.1° angle tolerance

Measurement Best Practices

  1. For Physical Objects: Measure sides with calipers, angles with protractors
  2. For Drawings: Use digital tools or precise rulers with 0.5mm resolution
  3. Coordinate Input: Use at least 2 decimal places for accurate results
  4. Regular Shapes: One side and angle sufficient if regularity confirmed

Units Explanation

The tool is unit-agnostic but requires consistency:

  • Side Lengths: Any linear unit (mm, cm, inches, pixels) - just be consistent
  • Angles: Degrees only (convert radians using: degrees = radians × 180/π)
  • Coordinates: Unitless or consistent with side length units

Result Interpretation Guide

Result Type What It Means Next Steps
Valid Shape Identified Inputs form a mathematically valid polygon with correct classification Review properties tab for detailed analysis
Angle Sum Error Angle total doesn't match (n-2)×180° formula Recalculate angles or check measurement accuracy
Invalid Shape Inputs cannot form a closed polygon (side/angle mismatch) Verify all measurements and try advanced input mode
Multiple Possibilities Inputs match several shape types (requires more properties) Use advanced tab to specify additional properties

Understanding Shape Properties Output

  • Regular: Perfect symmetry - all sides and angles identical
  • Convex: No interior angle exceeds 180° - shape "bulges outward"
  • Lines of Symmetry: Number of ways shape can be folded to match exactly
  • Rotational Symmetry Order: Number of positions matching original during full rotation

Common Mistakes & Troubleshooting

Input Errors

  • Angle Sum Mismatch: Ensure angles are interior, not exterior
  • Side Order Incorrect: Sides and angles must correspond in order
  • Zero/Negative Values: All sides and angles must be positive
  • Insufficient Vertices: Minimum 3 coordinates required

Conceptual Errors

  • Confusing Regular with Equal Sides: Regular requires equal angles too
  • Parallel vs Equal Sides: Parallelograms have parallel opposite sides, not necessarily equal
  • Square vs Rectangle: All squares are rectangles, but not vice versa
  • Rhombus vs Square: Square has right angles, rhombus does not necessarily
Quick Fixes
  • If angles don't sum correctly: Check if using exterior angles (should be interior)
  • If shape won't close: Verify side lengths satisfy triangle inequality for triangles
  • If classification seems wrong: Try coordinate input for precise calculation
  • For complex polygons: Use advanced mode to specify known properties

Precision, Rounding & Technical Notes

Calculation Precision

  • Floating Point Tolerance: 0.001 units for lengths, 0.1° for angles
  • Angle Calculation: Uses inverse cosine with double precision
  • Coordinate Processing: Maintains full precision until display rounding
  • Display Rounding: 2 decimal places for lengths, 1 decimal for angles

Geometric Validation Checks

  1. Polygon Closure: Verifies shape can close with given sides/angles
  2. Convexity Test: Checks all interior angles < 180°
  3. Self-Intersection: Basic check for coordinate inputs
  4. Degenerate Cases: Identifies collinear points and zero-area shapes
Limitations & Assumptions
  • Assumes Euclidean geometry (flat plane)
  • All vertices must be coplanar
  • Maximum practical side count: 100 sides
  • Does not handle self-intersecting (complex) polygons in basic mode
  • Coordinate input assumes vertices in order (clockwise or counter-clockwise)

Educational Notes & Learning Resources

Key Learning Objectives

Elementary Level
  • Recognize basic shapes
  • Count sides and angles
  • Identify symmetry
  • Compare shape sizes
Middle School
  • Classify quadrilaterals
  • Calculate angle sums
  • Understand regularity
  • Coordinate geometry basics
High School+
  • Vector-based calculations
  • Advanced classification
  • Proofs of properties
  • Real-world applications

Classroom Integration Ideas

  • Discovery Learning: Have students guess shapes before identification
  • Property Investigation: Change one property and observe classification changes
  • Real-World Connections: Identify shapes in architectural photos
  • Group Projects: Design structures using specific polygon combinations

Practical Tips & Professional Use

For Design Professionals

  • Prototyping: Verify design dimensions before manufacturing
  • Documentation: Include shape classifications in technical drawings
  • Quality Assurance: Check manufactured parts against design specifications
  • Cost Estimation: Regular shapes often reduce material waste

For Educators

  • Lesson Planning: Create worksheets with verification capability
  • Assessment: Generate random shapes for student identification
  • Demonstrations: Show real-time property changes
  • Differentiation: Adjust complexity for different skill levels

Advanced Usage Techniques

  1. Coordinate Precision: Use high-precision coordinates for CAD integration
  2. Batch Processing: Identify multiple shapes for comparative analysis
  3. Property Constraints: Use advanced mode to find shapes with specific properties
  4. Export Integration: Use SVG export for documentation and presentations

Accessibility & Compatibility

Accessibility Features

  • Keyboard Navigation: All controls accessible via tab navigation
  • Screen Reader Support: Proper ARIA labels and semantic HTML
  • Color Contrast: WCAG AA compliant in both light and dark modes
  • Text Alternatives: Shape descriptions provided in results
  • Zoom Compatibility: Maintains functionality up to 400% zoom

Browser & Device Compatibility

Desktop Browsers
  • Chrome 90+ (Recommended)
  • Firefox 88+
  • Safari 14+
  • Edge 90+
Mobile Browsers
  • iOS Safari 14+
  • Chrome Mobile 90+
  • Firefox Mobile 88+
  • Samsung Internet 15+
System Requirements
  • JavaScript enabled
  • SVG support required
  • Modern CSS support
  • Minimum 2GB RAM
Known Limitations
  • Internet Explorer not supported (use Edge instead)
  • Very old mobile devices may have rendering issues
  • SVG export requires modern browser features
  • Large coordinate sets (>50 vertices) may slow visualization

Disclaimer & Usage Terms

Educational & Informational Use Only

This tool is provided for educational, informational, and preliminary design purposes. While every effort has been made to ensure mathematical accuracy, users should verify critical calculations through independent means before application in professional, engineering, or safety-critical contexts.

Important Notes:
  • Results are based on mathematical calculations and may not account for real-world tolerances
  • Always verify measurements with appropriate precision instruments
  • Consult qualified professionals for engineering, architectural, or structural applications
  • The developers assume no liability for decisions made based on tool outputs
  • Educational use is encouraged; professional verification is required

Update & Version Information

Current Version: 2.5.1 (January 2026)
Recent Enhancements:
  • Enhanced geometric validation algorithms
  • Improved coordinate processing accuracy
  • Expanded shape classification categories
  • Added comparative analysis features
  • Enhanced visualization with zoom controls
  • Improved accessibility and mobile responsiveness
Upcoming Features (Planned):
  • 3D shape extension capability
  • Advanced symmetry analysis
  • Import/export for CAD formats
  • Batch processing functionality
  • Educational worksheet generation

Last updated: January 15, 2026 | Next review: July 2026

Related Geometry Tools & Resources

Explore More Geometry Tools

Expand your geometric toolkit with these related resources (internal navigation):

  • Area Calculator: Compute areas for various polygons
  • Perimeter Calculator: Calculate perimeters and circumferences
  • Angle Calculator: Solve for unknown angles in polygons
  • Volume Calculator: 3D shape volume calculations
  • Coordinate Geometry Tools: Distance, midpoint, and slope calculators
  • Transformation Tools: Rotation, translation, and scaling utilities
  • Triangle Solver: Comprehensive triangle analysis
  • Circle Calculator: Arc, sector, and segment calculations

Note: These tools are part of our comprehensive geometry suite designed for educational and professional use.