Triangle Calculator — Free Online Triangle Solver
Solve any triangle instantly using five input methods.
Triangle Results
Side a
5.0000
Side b
7.0000
Side c
8.0000
Perimeter
20.0000
Angle A
38.21°
Angle B
60.00°
Angle C
81.79°
Area
17.3205 sq units
Height to a
6.9282
Height to b
4.9487
Height to c
4.3301
Triangle Properties Reference Table
| Triangle Type | Sides | Angles | Special Property | Example |
|---|---|---|---|---|
| Equilateral | a = b = c | All 60° | Maximum symmetry | 5, 5, 5 |
| Isosceles | Two equal | Two equal | Line of symmetry | 5, 5, 8 |
| Scalene | All different | All different | No symmetry | 3, 5, 7 |
| Right | a² + b² = c² | One 90° | Pythagorean theorem | 3, 4, 5 |
| Acute | No constraint | All < 90° | All angles are acute | 5, 6, 7 |
| Obtuse | No constraint | One > 90° | One obtuse angle | 3, 4, 6 |
| Right Isosceles | a = b | 45-45-90 | c = a x sqrt(2) | 1, 1, 1.414 |
| 30-60-90 | 1 : sqrt(3) : 2 | 30-60-90 | Fixed ratio | 1, 1.732, 2 |
Related Calculators
Right Triangle Calculator
Solve right triangles with the Pythagorean theorem and trigonometric ratios.
Area Calculator
Calculate the area of various shapes including rectangles, triangles, and circles.
Pythagorean Theorem Calculator
Find any side of a right triangle using the Pythagorean theorem.
Perimeter Calculator
Calculate the perimeter of various geometric shapes.
Scientific Calculator
Advanced calculations with trigonometric functions for triangle problems.
Square Footage Calculator
Calculate area in square feet for construction and real estate projects.
About this calculator
Triangle Formulas
Heron's Formula (Area from Three Sides)
s = (a + b + c) / 2, Area = sqrt(s(s-a)(s-b)(s-c)) Law of Cosines
c² = a² + b² - 2ab x cos(C) Law of Sines
a / sin(A) = b / sin(B) = c / sin(C) Height from Area
h_a = 2 x Area / a Angle Sum Property
A + B + C = 180° Variables Explained
- a, b, c: The three side lengths of the triangle. Side a is opposite angle A, side b is opposite angle B, and side c is opposite angle C. All side lengths must be positive.
- A, B, C: The three interior angles measured in degrees. Each angle must be greater than 0 and less than 180 degrees. Their sum always equals exactly 180 degrees.
- s: The semi-perimeter, equal to half the perimeter. Used in Heron's formula for calculating area from side lengths alone.
- h_a, h_b, h_c: The three altitudes (heights) of the triangle. Each height is measured perpendicular to its corresponding base.
Step-by-Step Example (SSS Method)
Solve a triangle with sides a = 5, b = 7, c = 8:
- Calculate the semi-perimeter: s = (5 + 7 + 8) / 2 = 10
- Apply Heron's formula: Area = sqrt(10 x 5 x 3 x 2) = sqrt(300) = 17.32 sq units
- Find angle A using the Law of Cosines: cos(A) = (7² + 8² - 5²) / (2 x 7 x 8) = 0.7857, so A = 38.21°
- Find angle B: cos(B) = (5² + 8² - 7²) / (2 x 5 x 8) = 0.5, so B = 60°
- Find angle C: C = 180 - 38.21 - 60 = 81.79°
- Calculate heights: h_a = 2 x 17.32 / 5 = 6.93, h_b = 2 x 17.32 / 7 = 4.95, h_c = 2 x 17.32 / 8 = 4.33
Sources
- Khan Academy — Geometry: khanacademy.org
- Math is Fun — Triangles: mathsisfun.com
- National Institute of Standards and Technology (NIST) — SI Units: nist.gov
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026