Online Triangle Calculator (US)

Solve triangle area, missing sides, hypotenuse, internal angles, altitudes, inradius, and circumradius using geometric formulas, Heron's theorem, and trigonometry.

US Triangle Geometry & Trigonometry Solver

📌 Base & Height Mode: Calculates triangle area (½ × b × h), right-triangle hypotenuse, perimeter, and acute angles.
⚡ Quick Problems:

Educational & Engineering Purpose Only: This geometry calculator is designed for high school geometry, collegiate STEM trigonometry, woodworking, carpentry, and architectural reference. Structural calculations must always be signed and verified by a licensed US Professional Engineer (PE).

What Does This Triangle Calculator Work Out?

This calculator finds the missing sides, angles, area, and perimeter of a triangle from the measurements you know. It picks the right rule for your inputs, such as Heron's formula for three sides or the Law of Cosines for two sides and the angle between them, and also reports the heights, inradius, and circumradius.

Last updated: November 15, 2026

Comprehensive Guide to Triangle Geometry & Trigonometry

A triangle is a fundamental polygon with three straight edges and three internal vertices. In Euclidean geometry, the sum of internal angles in any planar triangle is always exactly 180 degrees ($180^\circ$ or $\pi$ radians). Triangle calculation is essential in American building codes, surveying, aerospace drafting, robotics, and physics.

1. Classification of Triangles

Triangles are classified either by the relative lengths of their sides or by the measure of their interior angles:

  • Equilateral Triangle: All three sides are equal ($a = b = c$), and all three angles are identical ($60^\circ$).
  • Isosceles Triangle: At least two sides are equal ($a = b$), and the angles opposite those sides are equal.
  • Scalene Triangle: All three sides have different lengths ($a \neq b \neq c$), and all three angles are distinct.
  • Right Triangle: Contains one $90^\circ$ right angle. The side opposite the right angle is the hypotenuse ($c$), adhering to the Pythagorean Theorem ($a^2 + b^2 = c^2$).
  • Acute Triangle: All three internal angles are less than $90^\circ$.
  • Obtuse Triangle: Has exactly one angle greater than $90^\circ$.

2. Essential Triangle Formulas Reference

Geometric Metric Mathematical Formula When to Apply
Standard Area $$\text{Area} = \frac{1}{2} \times b \times h$$ Base and perpendicular height are known.
Heron's Formula $$\text{Area} = \sqrt{s(s-a)(s-b)(s-c)}$$ All three sides $a, b, c$ are known ($s = \frac{a+b+c}{2}$).
Law of Cosines $$c^2 = a^2 + b^2 - 2ab \cos(C)$$ Solving missing sides (SAS) or angles (SSS).
Pythagorean Theorem $$a^2 + b^2 = c^2 \implies c = \sqrt{a^2 + b^2}$$ Right triangles with leg lengths $a$ and $b$.
Inradius ($r$) $$r = \frac{\text{Area}}{s}$$ Radius of inscribed circle tangent to all 3 sides.
Circumradius ($R$) $$R = \frac{abc}{4 \times \text{Area}}$$ Radius of circle passing through all 3 vertices.

3. The Carpenter's 3-4-5 Rule in US Construction

In American residential framing and foundation laying, carpenters verify that corners are square ($90^\circ$) using the 3-4-5 Pythagorean triple. By measuring 3 feet along one wall edge, 4 feet along the adjacent edge, and checking that the diagonal distance between the marks is exactly 5 feet, builders guarantee perpendicular right-angle alignment without needing optical lasers.

Which Formula Do You Need for Your Triangle?

What You KnowMethodWhat It Gives
Base and heightArea = ½ × base × heightArea
Three sides (SSS)Heron's formula, then the Law of CosinesArea and all three angles
Two sides and the angle between them (SAS)Law of Cosines, then area = ½ × a × b × sin CThird side, area, other angles
Two legs of a right trianglePythagorean theoremHypotenuse, area, angles
One side of an equilateral triangleArea = (√3 ÷ 4) × side²Area, height, perimeter

Triangle Examples Worked Step by Step

Every result below matches this calculator.

Example 1: Three sides of 5, 12, and 13 (Heron's formula)

  1. Find the semi-perimeter. s = (5 + 12 + 13) ÷ 2 = 15.
  2. Apply Heron's formula. Area = √(s × (s − a) × (s − b) × (s − c)) = √(15 × 10 × 3 × 2) = √900 = 30 square units.
  3. Find the angles. The angles are 22.62°, 67.38°, and 90°, so this is a right triangle.

The perimeter is 30, the inradius is 2, and the circumradius is 6.5.

Example 2: Sides of 7 and 10 with a 45° angle between them (SAS)

  1. Find the third side with the Law of Cosines. c² = 7² + 10² − 2 × 7 × 10 × cos 45° = 49 + 100 − 98.995 = 50.005, so c = 7.0714.
  2. Find the area. ½ × 7 × 10 × sin 45° = 24.7487 square units.
  3. Find the other angles. 44.42° and 90.58°. Together with 45° they add up to 180°.

Example 3: A right triangle with legs of 6 and 8

  1. Find the hypotenuse. c = √(6² + 8²) = √100 = 10.
  2. Find the area. ½ × 6 × 8 = 24 square units.
  3. Find the acute angles. 36.87° and 53.13°.

This is the 3-4-5 triangle doubled. A 3-4-5 triangle has an area of 6, a perimeter of 12, and the same angles.

Common Mistakes When Solving Triangles

  • Entering sides that cannot make a triangle. Each side must be shorter than the other two added together. Sides of 2, 3, and 6 do not work.
  • Mixing degrees and radians. 45° is 0.7854 radians. Check which one your calculator or formula expects.
  • Using the Pythagorean theorem on a triangle with no right angle. Use the Law of Cosines.
  • Using an angle that is not between the two known sides in the SAS method.
  • Mixing units. Keep every side in the same unit. Area comes out in square units.
  • Rounding too early. Keep extra decimals until the final step.

How do you read your result?

  • Area is in square units of whatever unit you entered.
  • Perimeter is the three sides added together, and the semi-perimeter is half of it.
  • Angles are shown in degrees and radians and always add up to 180°.
  • Heights (altitudes) are the distances from each corner straight down to the opposite side.
  • Inradius is the radius of the largest circle that fits inside. Circumradius is the radius of the circle through all three corners.

Frequently Asked Questions (FAQ)

How do I know if 3 side lengths form a valid triangle?

According to the Triangle Inequality Theorem, the sum of any two sides must be strictly greater than the third side ($a + b > c$, $a + c > b$, and $b + c > a$). If any side is equal to or greater than the sum of the other two, the endpoints cannot connect to enclose an area.

What is Heron's formula and when should I use it?

Heron's formula enables finding the area of any triangle knowing only the lengths of its three sides, without needing the perpendicular altitude or any angle measure. You first calculate semi-perimeter $s = (a + b + c) / 2$, then compute $\text{Area} = \sqrt{s(s - a)(s - b)(s - c)}$.

How do you solve a triangle when given two sides and an angle (SAS)?

When the angle $C$ is between sides $a$ and $b$, use the Law of Cosines to solve the third side $c = \sqrt{a^2 + b^2 - 2ab \cos(C)}$. The area is instantly calculated as $\text{Area} = \frac{1}{2} a b \sin(C)$, and remaining angles are solved using the inverse cosine function.

What are Inradius ($r$) and Circumradius ($R$)?

The inradius is the radius of the largest circle that fits completely inside the triangle tangent to all three edges ($r = \text{Area} / s$). The circumradius is the radius of the circle that circumscribes the triangle, touching all three external vertices ($R = abc / (4 \times \text{Area})$).

How do I find the area of a triangle with three sides?

Use Heron's formula. Find the semi-perimeter s, which is half the perimeter, then take the square root of s × (s − a) × (s − b) × (s − c). For sides of 5, 12, and 13, s is 15 and the area is 30.

How do I find the third side of a triangle from two sides and an angle?

If the angle is between the two sides, use the Law of Cosines: c² = a² + b² − 2ab × cos C. For sides of 7 and 10 with a 45° angle between them, the third side is 7.0714.

What is the hypotenuse of a right triangle with legs of 6 and 8?

10. By the Pythagorean theorem, 6² + 8² = 36 + 64 = 100, and the square root of 100 is 10.