Free · 5 Modes · Steps + Diagram

TriangleCalculator

Solve any triangle — find missing sides, angles, area, perimeter, and heights using SSS, SAS, ASA, AAS, or right triangle modes. Step-by-step solutions with a live diagram.

✓ 100% Free All Triangle Types Live Diagram Law of Sines/Cosines Heron's Formula
Triangle Calculator
✦ Steps + Diagram
A B C c (AB) b (AC) a (BC) A B C
Enter all 3 sides to find all angles, area, perimeter, and heights.
Sides
Side a (BC)
Side b (AC)
Side c (AB)
Please check your inputs. Values may not form a valid triangle.
5
Solve Modes
Live
Diagram
Steps
Always Shown
Free
Forever
Quick Guide

How to Use the Triangle Calculator

Choose the mode that matches your known values, enter the numbers, and get all missing sides, angles, area, and heights with full working steps.

01
Pick Your Mode

SSS = 3 sides. SAS = 2 sides + included angle. ASA = 2 angles + side between. AAS = 2 angles + other side. Right = 90° triangle.

02
Enter Known Values

Type your known sides and/or angles. Blue labels = sides, orange labels = angles. The diagram shows which sides a, b, c are in a standard triangle.

03
Click Solve

Press Solve Triangle and see all sides, all angles, area, perimeter, and all three heights — with step-by-step working for each calculation.

04
Read the Steps

Every result shows the law of cosines, law of sines, or Pythagorean theorem steps with your actual numbers — perfect for verifying exam answers.

Formula Reference

Triangle Formulas Explained

Every calculation in our triangle calculator uses one of these formulas. Understanding which formula applies makes solving any triangle straightforward.

Triangle calculator formulas — law of sines, law of cosines, Heron's formula on blackboard
Triangle solving formulas — law of sines, law of cosines, Heron's formula, and Pythagorean theorem
Law of Cosines
c² = a² + b² − 2ab·cos(C)

Used for SSS (find angles) and SAS (find missing side). Generalizes the Pythagorean theorem for any triangle.

Law of Sines
a/sin(A) = b/sin(B) = c/sin(C)

Used for ASA and AAS. When you know a side-angle pair, find all other sides and angles using this ratio.

Pythagorean Theorem
c² = a² + b²

Only for right triangles (90°). c is always the hypotenuse (longest side). Used to find missing side calculator.

Heron's Formula
Area = √(s(s-a)(s-b)(s-c))
s = (a+b+c)/2

Find area of any triangle from 3 sides alone. s is the semi-perimeter. Used in our area of a triangle calculator.

Area Formulas
Area = ½ × base × height
Area = ½ab·sin(C)

Base × height when height is known. Two sides + included angle formula when height is unknown.

Heights & Perimeter
h_a = 2·Area / a
Perimeter = a + b + c

All three heights are calculated from the area. Perimeter is simply the sum of all three sides.

Who Uses This

Real-Life Use Cases

Triangles appear in every field of science, construction, navigation, and art. Our free triangle calculator handles them all.

Students & Trigonometry

Solve triangle problems for geometry and trig exams. Verify homework answers and learn the law of sines and cosines with step-by-step working shown.

Construction & Architecture

Calculate roof pitch angles, rafter lengths, and diagonal bracing in construction. Find the hypotenuse for any right-angle structural element.

Navigation & GPS

Calculate distances using triangulation. If you know two angles to a landmark and the baseline distance, find the distance to the landmark using ASA mode.

Engineering & Physics

Resolve force vectors, calculate incline angles, and analyze structural loads using triangle geometry — all core to mechanical and civil engineering.

Art & Design

Create geometric artwork, calculate perspective angles in technical drawing, and design logos and patterns using precise triangle proportions.

Surveying & Land

Measure plot areas and boundary distances. Professional surveyors use triangulation to measure land areas from known reference points.

What Is a Triangle Calculator?

A triangle calculator is a free online tool that solves any triangle completely — finding all unknown sides, angles, area, perimeter, and heights from the values you provide. Our solve triangle calculator uses the Law of Sines, Law of Cosines, Heron's Formula, and the Pythagorean Theorem depending on which values you enter, and shows every calculation step clearly.

Whether you need to find the missing side of a triangle, calculate the area, or verify that three measurements form a valid triangle, this free tool handles all five standard input combinations: SSS, SAS, ASA, AAS, and right triangle.

Triangle calculator trig — solving triangles using law of sines and cosines for students and engineers
Free triangle calculator — find missing sides, angles, area & height using SSS, SAS, ASA, AAS, right triangle

Triangle Calculator FAQs

How to find the missing side of a triangle?

The method depends on what you know. For the find missing side of triangle calculator:

📘 Example — Find the missing side: a=5, b=7, C=60°

Using Law of Cosines (SAS mode):
c² = 5² + 7² − 2(5)(7)·cos(60°)
c² = 25 + 49 − 70 × 0.5 = 74 − 35 = 39
c = √39 ≈ 6.245

What is the third side of a triangle?

The third side of a triangle can always be found using the Law of Cosines when two sides and the angle between them are known. The calculator returns all three sides — labelled a, b, and c — where c is opposite to angle C, b opposite to B, and a opposite to A.

How to calculate the area of a triangle?

Our area of a triangle calculator automatically shows the area using the most appropriate formula:

📘 Example — Area of triangle with sides 5, 7, 8 (Heron's Formula)

s = (5+7+8)/2 = 10
Area = √(10 × (10−5) × (10−7) × (10−8))
Area = √(10 × 5 × 3 × 2) = √300 ≈ 17.32 square units

How to find the height of a triangle?

Once the area is known, all three heights can be found:

h_a = 2 × Area / a   h_b = 2 × Area / b   h_c = 2 × Area / c

Our triangle calculator automatically shows all three heights in the result. For an equilateral triangle with side a, the height = (a × √3) / 2. For an isosceles triangle, use the Pythagorean theorem with the base halved.

Can three sides form a triangle?

Three sides can form a triangle if and only if the sum of any two sides is greater than the third side. This is called the Triangle Inequality Theorem:

For example: sides 3, 4, 5 form a valid triangle (3+4=7>5 ✓). But sides 1, 2, 10 do NOT (1+2=3, which is not >10 ✗). Our calculator checks this automatically and shows an error if the sides are invalid.

Solve the triangle calculator — find missing side, area, and angles with step-by-step solutions
Solve triangle calculator — isosceles, equilateral, right triangle, scalene with all missing values found

How to find the value of x in a triangle?

Finding x depends on what is given:

Enter your known values into the matching mode of our solve the triangle calculator and it finds x — along with all other unknowns — automatically.

Triangle Types Quick Reference: Equilateral = all sides equal, all angles 60°. Isosceles = two sides equal, two angles equal. Scalene = all sides different, all angles different. Right = one angle exactly 90°. Our calculator handles all of these — just enter what you know.

Common Questions

Triangle Calculator FAQ

How to find the missing side of a triangle?

The method depends on what you know. Right triangle: use Pythagoras (c²=a²+b²). Two sides + included angle (SAS): use Law of Cosines (c²=a²+b²−2ab·cos(C)). Two angles + one side (ASA/AAS): use Law of Sines (a/sin(A)=b/sin(B)). Select the matching mode in our calculator — enter what you know and all unknowns are found instantly with full steps.

How to calculate the area of a triangle?

Use one of these three formulas: 1. ½ × base × height — if you know base and height. 2. Heron's Formula: Area=√(s(s−a)(s−b)(s−c)) where s=(a+b+c)/2 — if you know all 3 sides. 3. ½ab·sin(C) — if you know 2 sides and the included angle. Our area of a triangle calculator applies the correct formula automatically and shows every step.

Can three sides form a triangle?

Three sides a, b, c form a valid triangle only if all three triangle inequality conditions hold: a+b>c AND a+c>b AND b+c>a. Example: 3, 4, 5 → valid ✓ (3+4=7>5). But 1, 2, 10 → invalid ✗ (1+2=3, not >10). Our calculator checks this automatically and displays an error if the sides cannot form a triangle.

How to find the height of a triangle?

Height = (2 × Area) / base. First find the area (using Heron's formula from 3 sides, or ½bh if height is known, or ½ab·sin(C) from sides and angle). Then divide: h_a = 2·Area/a, h_b = 2·Area/b, h_c = 2·Area/c. Our calculator shows all three heights automatically in the result panel — no extra steps needed.

How to find the value of x in a triangle?

If x is a missing angle: use x = 180° − A − B (angle sum property). If x is a missing side: use the Law of Cosines or Law of Sines based on your known values. In a right triangle: use Pythagoras for a missing side, or inverse trig (sin⁻¹, cos⁻¹, tan⁻¹) for a missing angle. Select the matching mode in our calculator, enter your known values, and x is solved instantly.

What is an isosceles triangle — and how to solve it?

An isosceles triangle has two equal sides (legs) and two equal base angles. For our isosceles triangle calculator: enter the two equal sides and the base in SSS mode, or enter both equal sides and the apex angle in SAS mode. The calculator finds the base, all angles, area, and heights. For an equilateral triangle, all three sides are equal and all angles = 60° — just enter one side in SSS mode.

More Free Tools

Related Calculators