Universal Triangle Solver (SSS, SAS, ASA, AAS)

The Universal Triangle Solver. Input any 3 parameters (sides or angles) to find the remaining sides, angles, area, perimeter, and the type of triangle (e.g., Right, Isosceles).

Full original guide (expanded)

Universal Triangle Solver (SSS, SAS, ASA, AAS)

Enter any three parameters of the triangle (three sides, two sides and an angle, or two angles and a side) to find all missing values, the area, the perimeter, and the type of triangle.

Input (Enter 3 Values)

Triangle Solving: Law of Sines vs. Law of Cosines

To solve a triangle (find all missing sides and angles), you need at least three pieces of information, including at least one side. The core of triangle solving relies on two trigonometric laws.

Law of Cosines (for SSS and SAS Cases)

The Law of Cosines is typically used first when you know all three sides (SSS) or two sides and the angle *between* them (SAS).

$$ a^2 = b^2 + c^2 - 2bc \cos(\alpha) $$

Law of Sines (for ASA, AAS, and to finish solutions)

The Law of Sines is used when you know a side and its opposite angle, or two angles and a side (ASA or AAS).

$$ \frac{a}{\sin(\alpha)} = \frac{b}{\sin(\beta)} = \frac{c}{\sin(\gamma)} $$

The **Sum of Angles** is always $180^\circ$: $\alpha + \beta + \gamma = 180^\circ$.

Area Calculation

The calculator uses the most efficient area formula based on your inputs:

  • **SAS Case:** Area = $\frac{1}{2}ab\sin(\gamma)$
  • **SSS Case:** Area is calculated using Heron's Formula (requires all three sides).

Frequently Asked Questions (FAQ)

What are the three ways to classify a triangle?

Triangles are classified in two ways:

  • **By Sides:** Equilateral (3 equal sides), Isosceles (2 equal sides), Scalene (no equal sides).
  • **By Angles:** Acute (all angles < 90°), Obtuse (one angle > 90°), Right (one angle = 90°).

Can a triangle have two right angles?

No. Since the sum of angles in any triangle must be $180^\circ$, having two right angles ($90^\circ + 90^\circ = 180^\circ$) would leave $0^\circ$ for the third angle, making it impossible to form a closed shape.


Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\]
','
Formula (extracted LaTeX)
\[a^2 = b^2 + c^2 - 2bc \cos(\alpha)\]
a^2 = b^2 + c^2 - 2bc \cos(\alpha)
Formula (extracted LaTeX)
\[\frac{a}{\sin(\alpha)} = \frac{b}{\sin(\beta)} = \frac{c}{\sin(\gamma)}\]
\frac{a}{\sin(\alpha)} = \frac{b}{\sin(\beta)} = \frac{c}{\sin(\gamma)}
Formula (extracted text)
$ a^2 = b^2 + c^2 - 2bc \cos(\alpha) $
Formula (extracted text)
$ \frac{a}{\sin(\alpha)} = \frac{b}{\sin(\beta)} = \frac{c}{\sin(\gamma)} $
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn
Formulas

(Formulas preserved from original page content, if present.)

Version 0.1.0-draft
Citations

Add authoritative sources relevant to this calculator (standards bodies, manuals, official docs).

Changelog
  • 0.1.0-draft — 2026-01-19: Initial draft (review required).