Triangle · Formulas, without the guesswork.
Choose the formula matching the measurement labels below.
Three sides (SSS)
s = (a+b+c)/2; A =
Inputs: Side a (length units); Side b (length units); Side c (length units).
Base and perpendicular height
A = bh/2
Inputs: Base b (length units); Perpendicular height h (length units).
Two sides and included angle
c² = a²+b²−2ab cos θ; A = ab sin θ/2
Inputs: Side a (length units); Side b (length units); Included angle θ (degrees).
Third interior angle
γ = 180°−α−β
Inputs: Angle α (degrees); Angle β (degrees).
Reading the notation
Choose a base and its corresponding perpendicular height. When using three side lengths, the two shorter sides must add to more than the longest.
The included angle in SAS lies between the two entered sides. A sloping side is usually not the perpendicular height.
Reference reading: Triangle at Wolfram MathWorld.