Connect via MCP →

Enter Calculation

Lengths share one unit; angles in degrees; area in unit².

Value meanings per mode — 1: a, b, c · 2/3: a, b, h · 4/5: b, c, h · 6: a, b, C · 7: a, h, C · 8: B, C, a · 9: B, C, h · 10/11: S, a, b · 12: S, B, C · 13: S, a, C · 14: S, h, C.

Formula

Formula: Scalene Triangle Solver Calculator
Show calculation steps (1)
  1. Area (Heron) and height

    Area (Heron) and height: Scalene Triangle Solver Calculator

    Area from three sides with s = (a+b+c)/2; altitude onto base a is h = 2S/a.

Advertisement

Results

Triangle area S
6
square units
Side a 3
Side b 4
Side c 5
Angle A (deg) 36.8699
Angle B (deg) 53.1301
Angle C (deg) 90
Height h (onto base a) 4

What this calculator does

The Scalene Triangle Solver finds every element of a general triangle — the three sides a, b and c, the three interior angles A, B and C, the altitude h dropped onto base a, and the area S — from just three known quantities. Because a triangle is fully determined by three independent measurements, you can start from sides, angles, a height, an area, or a mix of these. Fourteen input modes cover the common combinations, including separate options for ambiguous cases where an angle could be acute or obtuse.

Scalene triangle with three unequal sides a, b, c and opposite angles A, B, C labeled
A scalene triangle has three unequal sides (a, b, c) and three unequal angles (A, B, C).

How to use it

Pick an input specification from the dropdown, then enter the three values in the order shown for that mode (the helper line lists the meaning of each value). Lengths all use the same unit and results come back in that same unit; angles are entered and reported in degrees; area uses unit squared. For example mode 1 expects the three sides a, b and c, while mode 6 expects sides a and b plus the included angle C.

The formulas explained

The solver leans on three classic relations. The law of cosines, \(c = \sqrt{a^2 + b^2 - 2ab\cos C}\), converts between sides and angles. The law of sines, \(\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}\), scales the triangle once one side-angle pair is known. Heron's formula, \(S = \sqrt{s(s-a)(s-b)(s-c)}\) with \(s = \frac{a+b+c}{2}\), gives the area from three sides, and the altitude onto base a is \(h = \frac{2S}{a}\). The angle sum \(A + B + C = 180\degree\) closes the remaining angle.

Advertisement
Triangle with base b and a dashed altitude h dropped to the base showing area
The altitude h to base b gives the area as half base times height.
Triangle showing law of cosines with sides a, b enclosing angle C opposite side c
The law of cosines relates side c to sides a, b and their included angle C.

Worked example

Mode 1 with a = 3, b = 4, c = 5: \(s = 6\), so $$S = \sqrt{6\cdot 3\cdot 2\cdot 1} = 6.$$ \(A = \arccos(0.8) = 36.8699\degree\), \(B = \arccos(0.6) = 53.1301\degree\), and \(C = 90\degree\). The altitude onto base a is \(h = \frac{2\cdot 6}{3} = 4\). This confirms the familiar right-angled 3-4-5 triangle.

Advertisement

FAQ

Why are there acute and obtuse versions of some modes? When you supply a side pair and a height or an area, the unknown angle can be either acute or its obtuse supplement. Choosing the matching mode removes the ambiguity.

What is the height here? It is the altitude from vertex A perpendicular onto base a, equal to \(\frac{2S}{a}\).

Why did I get "no valid triangle"? The data may break the triangle inequality, require a height larger than a side, give angles summing to 180° or more, or imply an impossible area.

Last updated: