Triangle Calculator

Free online Triangle Calculator with step-by-step solutions. 100% client-side, no data upload.

Enter known values(any 3, at least one side)
Solved Triangle
Enter values and click Solve to see results.

Triangle Calculator

This free online Triangle Calculator solves any triangle using the Law of Sines and Law of Cosines. 100% client-side, no signup required.

Key Formulas - Law of Sines: a/sin(A) = b/sin(B) = c/sin(C) - Law of Cosines: c² = a² + b² − 2ab·cos(C) - Heron's Formula: A = √(s(s−a)(s−b)(s−c))
Supported Cases - SSS: Three sides → Law of Cosines for angles - SAS: Two sides, included angle → Law of Cosines - ASA/AAS: Two angles, one side → Law of Sines - SSA: Two sides, non-included angle → ambiguous case
Applications Triangle solving is used in surveying, navigation, engineering, astronomy, computer graphics, architecture, and physics.
Privacy & Performance All calculations run locally in your browser. No data is transmitted, logged, or stored on any server.
🔒 Client-side only⚡ Web Worker processing🌐 Works offline🛡️ Zero server logs

Frequently Asked Questions

Got questions about triangle solving, the Law of Sines, or how to use this calculator? We've got answers.

How many values do I need to enter?

Enter any three values (sides and/or angles) with at least one side. The calculator will solve for the remaining three using the Law of Sines and Law of Cosines.

What triangle cases are supported?

SSS (three sides), SAS (two sides and included angle), ASA (two angles and included side), AAS (two angles and non-included side), and SSA (two sides and non-included angle — the ambiguous case).

What is the ambiguous case (SSA)?

When two sides and a non-included angle are given, there may be zero, one, or two possible triangles. The calculator checks for all possibilities and reports the ambiguous case when relevant.

Can I use radians instead of degrees?

Yes. Select 'Radians' from the unit dropdown. All angle inputs and results will be in radians instead of degrees.

What is the Law of Sines?

The Law of Sines states that a/sin(A) = b/sin(B) = c/sin(C). This ratio is equal to 2R, where R is the circumradius of the triangle. It is used for ASA, AAS, and SSA cases.

What is the Law of Cosines?

The Law of Cosines generalizes the Pythagorean theorem: c² = a² + b² − 2ab·cos(C). It is used for SSS and SAS cases, and reduces to a² + b² = c² when the angle is 90°.

How is the area calculated?

When all three sides are known, Heron's formula is used: A = √(s(s−a)(s−b)(s−c)), where s is the semi-perimeter.

What are heights, medians, inradius, and circumradius?

Heights are perpendicular distances from each vertex to the opposite side. Medians connect each vertex to the midpoint of the opposite side. The inradius is the radius of the inscribed circle, and the circumradius is the radius of the circumscribed circle.

Is this calculator private?

Yes. All calculations run locally in your browser. No data is transmitted, logged, or stored on any server.