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.
Choose the mode that matches your known values, enter the numbers, and get all missing sides, angles, area, and heights with full working steps.
SSS = 3 sides. SAS = 2 sides + included angle. ASA = 2 angles + side between. AAS = 2 angles + other side. Right = 90° triangle.
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.
Press Solve Triangle and see all sides, all angles, area, perimeter, and all three heights — with step-by-step working for each calculation.
Every result shows the law of cosines, law of sines, or Pythagorean theorem steps with your actual numbers — perfect for verifying exam answers.
Every calculation in our triangle calculator uses one of these formulas. Understanding which formula applies makes solving any triangle straightforward.
Used for SSS (find angles) and SAS (find missing side). Generalizes the Pythagorean theorem for any triangle.
Used for ASA and AAS. When you know a side-angle pair, find all other sides and angles using this ratio.
Only for right triangles (90°). c is always the hypotenuse (longest side). Used to find missing side calculator.
Find area of any triangle from 3 sides alone. s is the semi-perimeter. Used in our area of a triangle calculator.
Base × height when height is known. Two sides + included angle formula when height is unknown.
All three heights are calculated from the area. Perimeter is simply the sum of all three sides.
Triangles appear in every field of science, construction, navigation, and art. Our free triangle calculator handles them all.
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.
Calculate roof pitch angles, rafter lengths, and diagonal bracing in construction. Find the hypotenuse for any right-angle structural element.
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.
Resolve force vectors, calculate incline angles, and analyze structural loads using triangle geometry — all core to mechanical and civil engineering.
Create geometric artwork, calculate perspective angles in technical drawing, and design logos and patterns using precise triangle proportions.
Measure plot areas and boundary distances. Professional surveyors use triangulation to measure land areas from known reference points.
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.
The method depends on what you know. For the find missing side of triangle calculator:
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
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.
Our area of a triangle calculator automatically shows the area using the most appropriate 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
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.
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.
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.
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.
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.
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.
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.
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.
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.