Circumscribed & Inscribed Circle Tool

Calculate and visualize the incircle and circumcircle of any triangle with coordinates or side lengths

Triangle Properties

Enter triangle data and click Calculate to see results.

Incircle (Inscribed Circle)

Incircle details will appear here.

Circumcircle (Circumscribed Circle)

Circumcircle details will appear here.

Inradius (r) Formula

r = A / s

Where:

  • A = Area of the triangle
  • s = Semi-perimeter = (a + b + c) / 2
Circumradius (R) Formula

R = (a × b × c) / (4 × A)

Where:

  • a, b, c = lengths of the sides
  • A = Area of the triangle
Incenter Coordinates

I = ( (aAₓ + bBₓ + cCₓ)/(a + b + c), (aAᵧ + bBᵧ + cCᵧ)/(a + b + c) )

Where:

  • A, B, C = vertices coordinates
  • a, b, c = lengths of sides opposite to vertices A, B, C
Circumcenter Coordinates

Calculated using the intersection point of the perpendicular bisectors of the triangle sides.

How to Use This Tool
  1. Enter the triangle data either as vertex coordinates or side lengths
  2. Click the Calculate button to compute the incircle and circumcircle
  3. Use the display options to show/hide elements on the diagram
  4. Hover over results to see tooltips with additional information
  5. Switch between light and dark mode for comfortable viewing
About Incircle and Circumcircle

The incircle is the largest circle that fits inside the triangle, tangent to all three sides. Its center is called the incenter, which is the intersection point of the angle bisectors.

The circumcircle is the smallest circle that passes through all three vertices of the triangle. Its center is called the circumcenter, which is the intersection point of the perpendicular bisectors of the sides.

Tip: For any triangle, the distance between the incenter (I) and circumcenter (O) can be calculated using Euler's formula: OI² = R(R - 2r), where R is the circumradius and r is the inradius.

Comprehensive Geometry Guide

Tool Overview & Purpose

This professional geometry calculator determines the two fundamental circles associated with any triangle: the incircle (inscribed circle) and circumcircle (circumscribed circle). These circles reveal essential geometric properties used in mathematics, engineering, design, and computational geometry.

The tool provides both numerical results and visual representation, making it ideal for educational purposes, professional design verification, and engineering calculations.

Geometry Concept Explanation

Incircle (Inscribed Circle)
  • Definition: The largest circle that fits completely inside the triangle
  • Center: Incenter - intersection of all three angle bisectors
  • Tangency: Touches all three sides at exactly one point each
  • Properties: Always exists for any triangle
  • Special Case: For equilateral triangles, incenter = circumcenter = centroid
Circumcircle (Circumscribed Circle)
  • Definition: The smallest circle that passes through all three vertices
  • Center: Circumcenter - intersection of perpendicular bisectors
  • Properties: May lie inside, on, or outside the triangle
  • Acute Triangles: Circumcenter lies inside
  • Obtuse Triangles: Circumcenter lies outside
  • Right Triangles: Circumcenter lies at hypotenuse midpoint

Formula Breakdown & Derivation

Inradius (r) Derivation

r = A / s

Where:

  • A: Triangle area calculated via Heron's formula: √[s(s-a)(s-b)(s-c)]
  • s: Semi-perimeter = (a + b + c) / 2
  • Geometric Basis: The triangle can be divided into three smaller triangles with common vertex at incenter, each with height = r
  • Total Area: A = ½(ar) + ½(br) + ½(cr) = r × s
Circumradius (R) Derivation

R = (a × b × c) / (4 × A)

Where:

  • a, b, c: Side lengths opposite vertices A, B, C respectively
  • A: Triangle area
  • Alternative Form: From Law of Sines: a/sin(A) = b/sin(B) = c/sin(C) = 2R
  • Proof: Using extended law of sines and area formula: A = ½ ab sin(C)
Center Coordinates Computation

Incenter: Weighted average of vertices using side lengths as weights

Circumcenter: Solved via system of equations from perpendicular bisectors

Determinant Method: Using barycentric coordinates or linear algebra solution

Variable Glossary & Meaning

Symbol Meaning Units Geometric Significance
a, b, c Lengths of triangle sides Length units Opposite vertices A, B, C respectively
s Semi-perimeter Length units Half the triangle's perimeter
A Triangle area Area units Measure of 2D space enclosed
r Inradius Length units Distance from incenter to any side
R Circumradius Length units Distance from circumcenter to any vertex
Ix, Iy Incenter coordinates Coordinate units Intersection of angle bisectors
Ox, Oy Circumcenter coordinates Coordinate units Intersection of perpendicular bisectors

Step-by-Step Calculation Example

Example Triangle: Sides a=5, b=6, c=7 units
  1. Calculate semi-perimeter: s = (5 + 6 + 7) / 2 = 9 units
  2. Calculate area (Heron's formula): A = √[9×(9-5)×(9-6)×(9-7)] = √[9×4×3×2] = √216 ≈ 14.697 sq units
  3. Calculate inradius: r = A / s = 14.697 / 9 ≈ 1.633 units
  4. Calculate circumradius: R = (5×6×7) / (4×14.697) = 210 / 58.788 ≈ 3.572 units
  5. Calculate Euler's distance: OI = √[R(R-2r)] = √[3.572×(3.572-2×1.633)] = √[3.572×0.306] ≈ 1.046 units
  6. Verify triangle inequality: 5+6>7, 5+7>6, 6+7>5 ✓

Real-World Applications & Engineering Usage

Mechanical Engineering
  • Gear design and tooth profile optimization
  • Bearing placement and load distribution
  • Truss analysis and structural stability
  • Minimum bounding circle calculations
Architecture & Design
  • Round structure placement within triangular plots
  • Fountain positioning in triangular courtyards
  • Skylight optimization for triangular roofs
  • Aesthetic proportion calculations
Computer Graphics & GIS
  • Mesh generation and refinement
  • Terrain modeling and contour mapping
  • Collision detection algorithms
  • Voronoi diagram computations

Input Accuracy & Measurement Guidance

Critical Validation Rules
  • Triangle Inequality: a + b > c, a + c > b, b + c > a
  • Positive Values: All side lengths must be > 0
  • Non-collinear Points: Three points must not lie on same straight line
  • Precision: Use sufficient decimal places for engineering accuracy
Measurement Best Practices:
  1. Coordinate Input: Use consistent coordinate system (Cartesian recommended)
  2. Unit Consistency: Maintain same units across all measurements
  3. Scale Consideration: For large triangles, consider using smaller units (mm instead of m)
  4. Verification: Cross-check results with alternative calculation methods

Units Explanation & Conversion

Supported Units & Conversion Factors
Unit Full Name Common Use Conversion to Pixels*
px Pixels Screen design, web graphics 1 px = 1 pixel
cm Centimeters Architectural drawings, engineering 1 cm ≈ 37.8 px (96 DPI)
mm Millimeters Precision engineering, manufacturing 1 mm ≈ 3.78 px (96 DPI)
in Inches US engineering, woodworking 1 in = 96 px (96 DPI)

*Pixel conversions assume standard 96 DPI screen resolution. Actual conversions may vary by device.

Result Interpretation Guide

Numerical Results Interpretation
  • R > r: Always true for non-degenerate triangles
  • R ≈ r: Indicates nearly equilateral triangle
  • R >> r: Indicates elongated or obtuse triangle
  • OI distance: Measures triangle's "centrality" deviation
  • Area ratios: Circle areas relative to triangle area
Visual Results Interpretation
  • Incircle position: Always inside triangle
  • Circumcircle position: May be inside, on, or outside triangle
  • Center alignment: Coincident centers indicate equilateral triangle
  • Circle overlap: Incircle always inside circumcircle

Common Mistakes & Troubleshooting

Frequent Errors to Avoid
  • Unit mixing: Inputting cm and mm values without conversion
  • Collinear points: Creating degenerate triangle with zero area
  • Rounding too early: Losing precision in intermediate calculations
  • Wrong opposite sides: Misassigning a, b, c to incorrect vertices
  • Scale distortion: Not accounting for coordinate system scaling
Validation Checklist:

Precision & Rounding Guidelines

Recommended Precision Levels
Application Recommended Decimal Places Rounding Method Tolerance
Educational/Demonstration 2-3 places Standard rounding ±0.01 units
Engineering Design 4-6 places Banker's rounding ±0.0001 units
Manufacturing/Precision 6-8 places Truncation with error analysis ±0.000001 units
Research/Computational Full precision No rounding until final result Machine epsilon

Note: This tool displays results with 2 decimal places for readability. For higher precision, use the raw calculation data available in the source code.

Educational Notes & Learning Points

Key Geometric Theorems
  • Euler's triangle formula: OI² = R(R-2r)
  • Incenter-excenter relationships
  • Nine-point circle connections
  • Feuerbach's theorem (incircle-nine point circle tangency)
Special Triangle Cases
  • Equilateral: R = 2r, centers coincide
  • Right Triangle: Circumcenter at hypotenuse midpoint
  • Isosceles: Centers lie on axis of symmetry
  • Degenerate: Zero area, circles undefined
Advanced Concepts
  • Barycentric coordinates
  • Trilinear coordinates
  • Power of a point theorem
  • Circle inversion properties

Practical Tips & Optimization

Professional Usage Tips
  1. Batch Calculations: For multiple triangles, use coordinate input for consistency
  2. Visual Verification: Always compare numerical results with visual representation
  3. Scale Testing: Test extreme cases (very small/large triangles) to verify robustness
  4. Export Data: Use PNG export for documentation, copy results for reports
  5. Dark Mode: Use dark mode for extended working sessions to reduce eye strain

Accessibility & Compatibility Notes

Accessibility Features
  • Keyboard Navigation: All controls accessible via tab navigation
  • Screen Reader Support: Semantic HTML structure for screen readers
  • Color Contrast: Meets WCAG AA standards in both light/dark modes
  • Responsive Design: Fully functional on mobile, tablet, and desktop
  • Text Alternatives: All graphical elements have text descriptions
Browser Compatibility
  • Fully Supported: Chrome 90+, Firefox 88+, Safari 14+, Edge 90+
  • Partially Supported: Internet Explorer (limited canvas functionality)
  • Mobile Support: iOS Safari, Chrome Mobile, Firefox Mobile
  • JavaScript Required: Modern ES6+ features used for calculations

Disclaimer & Educational Notice

Educational & Professional Use Disclaimer

Educational Purpose: This tool is designed for educational, instructional, and professional reference purposes. While calculations are mathematically accurate, users should verify critical engineering calculations with certified methods and software.

Limitation of Liability: The creators and operators of this tool are not responsible for decisions made based on calculations performed here. Always consult with qualified professionals for critical engineering, architectural, or design applications.

Accuracy Statement: Calculations use double-precision floating-point arithmetic with standard geometric formulas. Rounding errors may occur in extreme edge cases or with extremely large/small values.

Tool Version & Updates
  • Current Version: 2.1 (January 2026)
  • Last Updated: January 15, 2026
  • Algorithm Version: Geometric Calculations v1.3
  • Render Engine: Canvas 2D API
  • Formula Library: Complete triangle geometry set
Related Geometry Tools

For comprehensive geometric analysis, consider these complementary tools:

  • Triangle Center Calculator (centroid, orthocenter, nine-point center)
  • Triangle Area and Perimeter Calculator
  • Circle Geometry and Sector Calculator
  • Coordinate Geometry Transformation Tool
  • 3D Geometry and Spatial Analysis Calculator

Note: These are suggested tool categories, not active links.

Professional Validation

This tool implements industry-standard geometric algorithms used in CAD software, engineering simulations, and academic research. The mathematical foundation follows established principles from Euclidean geometry with computational optimizations for numerical stability.

Recommended Citation Format: "Circumscribed & Inscribed Circle Calculator, ToolsRail Geometry Suite v2.1 (2026)."