Triangle Angle Calculator - Alpha, Beta, Gamma from Sides or Angles
Use this triangle angle calculator to enter three sides, two sides and an angle, or two angles, and recover alpha, beta, gamma plus any missing side using the law of cosines and law of sines.
Triangle Angle Calculator
Results
What Is the Triangle Angle Calculator?
The triangle angle calculator solves for the three interior angles alpha, beta, and gamma of a triangle from whatever mix of sides and angles you already know. It accepts three side lengths, two sides and an angle, or two angles, and returns the missing pieces using the law of cosines, the law of sines, and the angle sum theorem.
- • Geometry homework and worksheet checks: Recover alpha, beta, gamma from three side lengths, two sides plus an included angle, or a non-included side-angle pair.
- • Roof, rafter, and stair stringer cuts: Convert a measured run, rise, and pitch angle into the cut angle and the rafter length without a construction calculator.
- • Surveying and slope work: Turn a measured slope distance and a horizontal angle into the third side and the two missing interior angles.
- • Navigation and bearing problems: Solve a triangle on a chart from two bearings and the distance between them, and read out the third bearing as an interior angle.
Alpha, beta, and gamma are the three interior angles, sitting opposite sides a, b, and c. The law of cosines is the workhorse for three sides or two sides and the angle between them. The law of sines takes over for two sides and a non-included angle. The angle sum theorem is the safety net: once two angles are known, the third is 180 minus the other two.
When the recovered alpha is exactly 90 degrees, the Right Triangle Calculator is the closest peer because the same Pythagorean-style label applies.
How the Triangle Angle Calculator Works
The calculator reads which of the six values you supplied, picks the matching law, and reports alpha, beta, gamma together with a 180 degree sum check.
- a, b, c: The three side lengths, in the same length unit, opposite alpha, beta, and gamma
- alpha, beta, gamma: The three interior angles in degrees, each strictly between 0 and 180
- 180 degree sum: The consistency check that confirms alpha + beta + gamma
When three sides are known, the law of cosines is the cleanest path: each angle is the arccosine of a ratio built from the other two sides. The triangle inequality check runs first so an impossible combination is rejected before any arccosine is taken. When two sides and an angle are known, the calculator picks the law of cosines for SAS or the law of sines for SSA, and the angle sum theorem closes the loop.
Example 1: three sides a = 5, b = 4, c = 3
Side a = 5, side b = 4, side c = 3, all angles left blank.
alpha = arccos((16 + 9 - 25) / 24) = 90. beta = arccos((25 + 9 - 16) / 30) = 53.13. gamma = 180 - 90 - 53.13 = 36.87.
alpha = 90.00, beta = 53.13, gamma = 36.87, sum = 180.00 degrees.
The classic 3-4-5 right triangle. The largest side sits opposite the 90 degree angle.
According to Wolfram MathWorld, the law of cosines states that for a triangle with sides a, b, c opposite angles alpha, beta, gamma, c^2 = a^2 + b^2 - 2ab cos(gamma), and the law can be rearranged to recover an angle as gamma = arccos((a^2 + b^2 - c^2) / (2ab)).
According to Wolfram MathWorld, the law of sines states that for any triangle, a / sin(alpha) = b / sin(beta) = c / sin(gamma), so a known side and its opposite angle can be paired with a second side to recover its opposite angle as beta = arcsin(b * sin(alpha) / a).
For a deeper derivation of the cosine rule that powers the three-side case, the Law of Cosines Calculator walks through the algebra step by step.
Key Concepts Behind the Triangle Angle Calculator
These four ideas are the toolkit the calculator uses, and they are the rules taught in any first geometry or trigonometry course.
Triangle angle sum theorem
The three interior angles of a Euclidean triangle always add up to 180 degrees, so knowing two of them always fixes the third. The result panel shows the sum as a 180 degree check.
Law of cosines
c squared equals a squared plus b squared minus 2 a b cos(gamma). Rearranged, it gives any interior angle from the three sides, and it also recovers a missing side for the SAS case.
Law of sines
a over sin(alpha) equals b over sin(beta) equals c over sin(gamma). When two sides and a non-included angle are known, the law fixes the second angle and the third side follows once the third angle is recovered.
Triangle inequality
Any side must be shorter than the sum of the other two. The calculator enforces this check before applying the law of cosines so an impossible three-side combination is rejected.
These four ideas cover every input combination the calculator accepts. The law of cosines is preferred for SSS and SAS, the law of sines for SSA, and the angle sum theorem closes every case. The triangle inequality is the gatekeeper that filters bad inputs.
To see the SSA branch worked out with the ambiguous case treated explicitly, the Law of Sines Calculator covers that side of the problem.
How to Use the Triangle Angle Calculator
Pick the input combination that matches the data you have, fill in the matching fields, and read alpha, beta, gamma plus the missing side from the result panel.
- 1 Pick a single length unit for sides a, b, c: Use meters, feet, or inches for every side input. Mixing units skews the recovered angles.
- 2 Enter three sides for a full SSS problem: Type side a, side b, and side c, and leave alpha, beta, gamma blank. The law of cosines recovers all three angles and the 180 degree sum check.
- 3 Enter two sides and the included angle for SAS: Fill in the two sides that meet at the known angle and the angle between them. The law of cosines recovers the missing side and the angle sum fixes the remaining angles.
- 4 Enter two sides and a non-included angle for SSA: Fill in the two sides and the angle opposite one of them. The law of sines recovers the second angle, and the third side follows.
- 5 Enter two angles to recover the third: Fill in any two of alpha, beta, gamma and leave the sides blank. The third angle is 180 minus the other two, but sides cannot be recovered without a length input.
- 6 Read the result panel and the 180 degree sum check: Use the recovered angles for cut lists, bearing work, or worksheet answers, and watch the sum field for any drift that would flag an inconsistent measurement.
A roof rafter sits against a 4 m wall and runs 3 m out from the base, with the wall angle at 90 degrees. Enter side a = 4, side b = 3, and angle beta = 90. The calculator returns the rafter length as 5 m and the remaining angles as 36.87 and 53.13 degrees.
When the inputs are three side lengths with no angles at all, the SSS Triangle Calculator focuses on the SSS case and returns the matching area, perimeter, and angle set.
Benefits of the Triangle Angle Calculator
The page accepts every realistic input mix a geometry problem can hand you, replacing a stack of separate SSS, SAS, ASA, and SSA solvers with a single result.
- • Covers every common input combination: Three sides, two sides plus an included angle, two sides plus a non-included angle, and two angles all return alpha, beta, gamma without switching tools.
- • Returns a 180 degree sum check: The result panel always shows alpha plus beta plus gamma so inconsistent measurements stand out immediately.
- • Matches law of cosines and sines notation: Side a sits opposite alpha, side b opposite beta, side c opposite gamma, the same labeling textbooks and engineering notes use.
- • Recovers the missing side for SAS and SSA: When only two sides are known, the calculator finishes the side trio so the result also feeds triangle area, perimeter, and law-of-cosines follow-ups.
For deeper law-of-cosines derivations, the law-of-cosines page goes one level further; for law-of-sines cases that need an obtuse alternative considered, the law-of-sines page handles that.
For the two-sides-plus-included-angle branch that recovers the third side first, the SAS Triangle Calculator is the peer that does the same work in SAS notation.
Factors That Affect the Triangle Angle Calculator Result
A few input choices decide whether the recovered angles match the actual triangle you are trying to solve.
Unit consistency across sides a, b, c
The three side inputs must use the same length unit. Mixing meters with feet skews the recovered angles.
Which angle is given when two sides are known
If the known angle sits between the two known sides, the law of cosines is the right rule. If it sits opposite one of them, the law of sines is the right rule.
Triangle inequality for three-side inputs
Any side that is longer than the sum of the other two is impossible. The calculator rejects that combination before running the law of cosines.
Angle range check
Each interior angle must be strictly between 0 and 180 degrees. A 0 or 200 degree angle breaks the Euclidean setup, and the calculator rejects those values.
- • Two angles alone cannot fix the size of the triangle. The calculator recovers the third angle from the angle sum theorem but returns no side length, because the law of sines still needs a length to scale the triangle.
- • The SSA case can have two valid solutions when the given side is shorter than the other known side. The calculator picks the acute solution and flags the ambiguity.
- • The result is the geometric solution of an ideal triangle. Real construction, surveying, or navigation work usually needs extra allowance for material thickness, slope, clearance, or measurement rounding.
These caveats match the warnings in the law of sines and law of cosines references. When the inputs are clean, the recovered sum stays within a hundredth of a degree of 180.
According to Wikipedia, the interior angles of any Euclidean triangle always sum to 180 degrees, so given two angles alpha and beta, the third angle is gamma = 180 - alpha - beta.
When the recovered angles need to feed a follow-up area or perimeter calculation, the Triangle Calculator accepts the full side set and returns the rest.
Frequently Asked Questions
Q: How do I find the angles of a triangle?
A: Use the law of cosines when you have three sides or two sides and the angle between them, use the law of sines when you have two sides and a non-included angle, and use the angle sum theorem (180 minus the other two angles) when you have two angles. The triangle angle calculator combines all three rules in one place.
Q: Which set of angles can form a triangle?
A: Any three angles that add up to 180 degrees can form a triangle, and that is the only restriction on angles alone. The resulting triangle can be any size because angles alone never fix side length, so the law of sines still needs one side to scale the triangle.
Q: Why can't a triangle have more than one obtuse angle?
A: Each interior angle of a Euclidean triangle is between 0 and 180 degrees, and they always sum to 180 degrees. Two obtuse angles would each be over 90 degrees and would sum to more than 180, which is impossible, so a triangle can have at most one obtuse angle and at most one right angle.
Q: How do I find the angles of a 3-4-5 right triangle?
A: Use the law of cosines with side a = 5, side b = 4, side c = 3. Alpha equals arccos of (4 squared plus 3 squared minus 5 squared) over (2 times 4 times 3), which works out to arccos of 0, so alpha is 90 degrees. Beta equals arccos of (5 squared plus 3 squared minus 4 squared) over (2 times 5 times 3), so beta is arccos of 3 over 5, which is about 53.13 degrees, and gamma is 180 minus 90 minus 53.13, which is 36.87 degrees.
Q: What is the triangle angle sum theorem?
A: The triangle angle sum theorem states that the three interior angles of a Euclidean triangle always add up to 180 degrees, no matter the side lengths. The theorem is what lets the calculator fix the third angle as soon as two are known and acts as a 180 degree consistency check on the final result.
Q: When do I use the law of sines versus the law of cosines?
A: Use the law of cosines when all three sides are known or when two sides and the included angle are known, because the law directly relates the third side to the two known sides. Use the law of sines when two sides and a non-included angle are known, because the law pairs each side with its opposite angle and lets you solve for the missing angle.