Back to Toolbox

Triangle Solver

Enter any valid combination of sides and angles — get every measurement plus a live diagram.

Quick Examples

Known Values

Sides

any units
a
units
b
units
c
units
Angles — opposite to sides a, b, c
A
deg
B
deg
C
deg

Enter at least 3 known values
to see the diagram.

About the Triangle Solver

What is a Triangle Solver?

The Triangle Solver is a comprehensive geometry utility designed to find all measurements of a triangle from any three known values (sides or angles). Whether you are working on a trigonometry assignment, a DIY woodworking project, or a complex engineering task, this tool provides instant results, a live-scaled diagram, and a transparent breakdown of the mathematical steps used.

The Mathematics of Solving Triangles

To solve a triangle completely, the calculator utilizes several core trigonometric principles depending on the information provided:

  • Law of Sines: Used when a side and its opposite angle are known to find the remaining sides.
  • Law of Cosines: Crucial for Side-Angle-Side (SAS) or Side-Side-Side (SSS) scenarios to find a third side or missing angles.
  • Triangle Inequality Theorem: The solver automatically verifies that the sum of any two sides is greater than the third, ensuring the triangle is physically possible.
  • Heron's Formula: Used to calculate the exact area of the triangle when only the side lengths are known.

Understanding Triangle Congruence

Our solver handles all standard mathematical "cases" to ensure a unique solution whenever possible:

Case Information Provided
SSS Three Side lengths
SAS Two Sides and the included Angle
ASA / AAS Two Angles and one Side length
SSA Two Sides and a non-included Angle (Ambiguous Case)
[Image of different triangle types: Equilateral, Isosceles, Scalene, and Right-angled]

Live Diagram & Visual Feedback

Seeing the triangle is as important as knowing the numbers. Our tool generates a Live SVG Diagram that updates in real-time as you solve. This allows you to visually confirm the shape, see the altitude (height), and verify that the angles "look" correct before you move on to your next task.

100% Private and Local

Engineering data and academic homework can be sensitive. Unlike other geometry websites that process your data on a remote server, this tool is 100% Client-Side.

All trigonometric calculations and SVG rendering happen entirely within your browser's local JavaScript engine. No data is ever transmitted, stored, or tracked. It works perfectly offline, ensuring your privacy and security while providing professional-grade accuracy for every calculation.