Triangle Calculator CalculatorScale.com
Computational Geometry Universal SSS, SAS, ASA, SSA Solver

Triangle Calculator

Enter any 3 values (sides or angles, with at least one side length) to solve for all remaining sides, angles, area, perimeter, inradius, circumradius, medians, and altitudes.

Presets:

Input Parameters

1. Side Lengths [in]
2. Angles (Degrees °)
Enter any 3 parameters on the left and click "Calculate Triangle" to generate dynamic diagrams and complete geometry metrics.

Comprehensive Guide to Triangle Trigonometry & Geometry

A triangle is a closed polygon consisting of three straight line segments (edges) joining three non-collinear points (vertices). The sum of its three interior angles is always exactly 180 degrees (or π radians).

Triangle Classification by Sides

  • Equilateral Triangle: All three sides are equal (a = b = c), and each interior angle is exactly 60° (π/3 rad).
  • Isosceles Triangle: Exactly two sides are equal in length, and the angles opposite those sides are equal.
  • Scalene Triangle: All three sides and all three interior angles have distinct, unequal measurements.

Triangle Classification by Angles

  • Right Triangle: Contains exactly one 90° right angle (π/2 rad). Satisfies the Pythagorean Theorem a² + b² = c².
  • Acute Triangle: All three interior angles are strictly less than 90° (θ < 90°).
  • Obtuse Triangle: Contains exactly one interior angle strictly greater than 90° (θ > 90°).

Fundamental Geometric Theorems & Formulas

1. Law of Sines (Sine Rule)

Relates side lengths directly to the sines of their opposite angles and the circumradius R:

a / sin(A) = b / sin(B) = c / sin(C) = 2R

2. Law of Cosines (Cosine Rule)

Generalization of the Pythagorean theorem for any triangle:

c² = a² + b² - 2ab cos(C)

3. Heron's Area Formula

Computes exact area from all three sides using semiperimeter s = (a+b+c)/2:

Area = √(s(s - a)(s - b)(s - c))

4. Inradius and Circumradius

Radii of inscribed and circumscribed circles:

r = Area / s,   R = (abc) / (4 × Area)

Frequently Asked Questions

Why does AAA (Angle-Angle-Angle) not solve a unique triangle?

Three known angles establish geometric similarity, fixing the proportional shape and ratios of the triangle, but not its physical scale. An infinite number of scaled triangles share identical angles. At least one side length is required to fix the unique dimension.

What is the SSA ambiguous case?

When two side lengths and a non-included angle are known (SSA), the opposite side can potentially swing to create two different valid triangles (one acute and one obtuse), one right triangle, or no valid triangle if the opposite side is too short to reach the base line.

What is the Triangle Inequality Theorem?

The theorem states that for any geometrically valid triangle, the sum of the lengths of any two sides must be strictly greater than the length of the remaining third side (a + b > c, a + c > b, b + c > a). If a + b ≤ c, the lines collapse into a flat segment.

What is the difference between an Incircle and a Circumcircle?

An incircle is the largest circle that fits completely inside the triangle, touching all three sides tangentially with radius r = Area/s. A circumcircle is the circle passing through all three triangle vertices with radius R = (abc)/(4×Area).

How do medians and the centroid work?

A median is a line segment connecting a vertex to the midpoint of the opposite side. The three medians always intersect at a single point called the Centroid, which divides each median in a 2:1 ratio and serves as the physical center of mass.