Triangle Solver
Solve any triangle from SSS, SAS, ASA, AAS, SSA, or right-triangle (Pythagoras) inputs. Drawn-to-scale visualization with all sides, angles, area, and perimeter.
Math
Triangle Solver
Generated on April 25, 2026
Know all three sides
Triangle (drawn to scale)
All sides & angles
Step-by-step calculation
Formula
Law of cosines: c² = a² + b² − 2ab·cos(C). Law of sines: a/sin(A) = b/sin(B) = c/sin(C). Area = ½·ab·sin(C).
- 1Mode: SSS.
- 2Given values produce a triangle with sides 3.00, 4.00, 5.00.
- 3Angles: A=36.87°, B=53.13°, C=90.00° (sum = 180.00°, must be 180°).
- 4Area via SAS formula: ½·3.00·4.00·sin(90.00°) = 6.0000 sq units.
- 5Perimeter: 3.00 + 4.00 + 5.00 = 12.0000 units.
?What is the Triangle Solver?
The Triangle Solver finds every side, angle, area, perimeter, and triangle classification (acute / right / obtuse, scalene / isosceles / equilateral) from any valid combination of three known values: SSS (three sides), SAS (two sides + included angle), ASA (two angles + included side), AAS (two angles + non-included side), SSA (two sides + non-included angle — the 'ambiguous case'), or a right triangle (Pythagoras). The result is rendered as a drawn-to-scale 2D triangle with side and angle labels, so you can verify the geometry visually. Uses the Law of Sines, Law of Cosines, and Heron's formula under the hood.
The Formula
The Law of Cosines generalizes Pythagoras: when C = 90°, cos(C) = 0 and the formula reduces to c² = a² + b². For any other angle, the −2ab·cos(C) term adjusts for the angle. The Law of Sines is used when you know an angle and its opposite side. The SSA case is 'ambiguous' because the geometry can sometimes form two valid triangles — when this happens, the calculator reports both. Heron's formula gives area from three sides alone: A = √(s(s−a)(s−b)(s−c)) where s = (a+b+c)/2.
Practical Examples
3-4-5 right triangle: SSS check — area 6, angles 36.87° / 53.13° / 90°.
Surveying: from two known angles and a baseline distance (ASA), compute the distance to a far point.
Carpentry: cutting a roof rafter — given run + rise, find the hypotenuse and angle.
Navigation: given two bearings to a landmark and the distance between observation points (AAS), triangulate the landmark's position.
Equilateral triangle (60-60-60): every triangle with all three angles equal is also equilateral (all sides equal).
Sum of any two sides MUST exceed the third — the triangle inequality. The calculator catches violations.
Frequently Asked Questions
Popular Conversions
Jump to a ready-made conversion — useful for quick reference and sharing:
Explore More Tools
GPA Calculator
Calculate your Grade Point Average on the 4.0 scale from your courses.
Grade Calculator
Calculate your final grade from weighted categories like tests, homework, and exams.
Student Result Card Calculator
Subject-wise marks, grades, and a printable school result card — ideal for small schools and parents.