Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Math
  3. /Triangle Calculators
  4. /Triangle Angle Calculator

Triangle Angle Calculator

Last updated: March 15, 2026

Calculator

Results

Enter values to see results

Angle A (opposite side a)

—

°

Angle B (opposite side b)

—

°

Angle C (opposite side c)

—

°

Angle Sum Check

—

°

Results

Enter values to see results

Angle A (opposite side a)

—

°

Angle B (opposite side b)

—

°

Angle C (opposite side c)

—

°

Angle Sum Check

—

°

The Triangle Angle Calculator computes all three interior angles of a triangle when you know all three side lengths. Using the Law of Cosines, this tool converts side measurements into precise angle values in degrees. Knowing the angles of a triangle is essential for navigation, structural analysis, surveying, trigonometry coursework, and countless engineering applications.

The Law of Cosines generalizes the Pythagorean theorem to all triangles. For any triangle with sides $$a$$, $$b$$, $$c$$ and opposite angles $$A$$, $$B$$, $$C$$, the relationship is $$c^2 = a^2 + b^2 - 2ab\cos(C)$$. By rearranging this formula, we can solve for each angle: $$C = \arccos\left(\frac{a^2 + b^2 - c^2}{2ab}\right)$$. Applying this three times with appropriate variable substitutions yields all three angles.

One powerful property of triangles is that the interior angles always sum to exactly 180 degrees. The calculator provides an angle sum check as a verification measure. Due to floating-point arithmetic, the displayed sum may differ from 180 by a tiny fraction, but any significant deviation indicates the input sides do not form a valid triangle.

Understanding angles reveals the triangle's classification. If all angles are less than 90 degrees, it is an acute triangle. If one angle equals 90 degrees, it is a right triangle. If one angle exceeds 90 degrees, it is an obtuse triangle. Furthermore, equal angles indicate an isosceles triangle (two equal angles) or an equilateral triangle (all three angles are 60 degrees).

In practical applications, surveyors use angle calculations to map terrain, engineers use them to analyze force distributions in truss structures, and navigators apply them in triangulation to determine positions. Computer graphics rely heavily on triangle angle computations for lighting calculations, normal vector determination, and mesh quality assessment. A well-shaped triangle mesh (with angles close to 60 degrees) produces better numerical results in finite element analysis.

The calculator handles all valid triangle configurations, from nearly flat (angles approaching 0 or 180 degrees) to perfectly equilateral. For degenerate inputs where the sides cannot form a triangle, the arccos function returns NaN, clearly indicating invalid input.

How It Works

Each angle is found by rearranging the Law of Cosines:

$$A = \arccos\left(\frac{b^2 + c^2 - a^2}{2bc}\right)$$

$$B = \arccos\left(\frac{a^2 + c^2 - b^2}{2ac}\right)$$

$$C = \arccos\left(\frac{a^2 + b^2 - c^2}{2ab}\right)$$

The arccos function returns radians, which are converted to degrees by multiplying by $$\frac{180}{\pi}$$. The results are verified by checking that $$A + B + C = 180°$$.

Understanding Your Results

Each angle is measured in degrees and corresponds to the vertex opposite its named side. Angle A is opposite side a, Angle B is opposite side b, and Angle C is opposite side c. The largest angle is always opposite the longest side. The angle sum check should equal 180° (minor floating-point deviations are normal). If any output shows NaN, the input sides do not satisfy the triangle inequality.

Worked Examples

Scalene Triangle (5-7-9)

Inputs

a5
b7
c9

Results

angle A33.5573
angle B50.7038
angle C95.7389
angle sum180

An obtuse triangle with the largest angle (95.74°) opposite the longest side (c = 9).

Equilateral Triangle (6-6-6)

Inputs

a6
b6
c6

Results

angle A60
angle B60
angle C60
angle sum180

All three angles are exactly 60° in an equilateral triangle.

Frequently Asked Questions

Yes. The Law of Cosines allows you to compute all three angles from three known side lengths. Each angle is found using the arccos of an expression involving the three sides.

This is a fundamental theorem of Euclidean geometry. It can be proven by drawing a line parallel to one side through the opposite vertex, creating alternate interior angles that together with the vertex angle span a straight line (180°).

Then the triangle is a right triangle, and the side opposite the 90° angle is the hypotenuse. In this special case, the Law of Cosines reduces to the Pythagorean theorem since cos(90°) = 0.

If the largest angle is less than 90°, the triangle is acute. If the largest angle equals 90°, it is a right triangle. If the largest angle exceeds 90°, it is obtuse. The largest angle is always opposite the longest side.

NaN (Not a Number) means the arccos function received a value outside the valid range [-1, 1]. This happens when the three input sides violate the triangle inequality and cannot form a valid triangle.

No. This calculator uses Euclidean geometry where the angle sum is always 180°. In spherical geometry the sum exceeds 180°, and in hyperbolic geometry it is less than 180°. Different formulas are required for those geometries.

Sources & Methodology

Law of Cosines — Al-Kashi (15th century), formalized in Western mathematics by Francois Viete; Weisstein, Eric W., "Law of Cosines," MathWorld; Stewart, James, Calculus: Early Transcendentals, 8th Edition
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Triangle Calculator

Triangle Calculators

Right Triangle Calculator

Triangle Calculators

Equilateral Triangle Calculator

Triangle Calculators

Isosceles Triangle Calculator

Triangle Calculators

Old 30 60 90 Triangle Calculator

Triangle Calculators

Triangle Area Calculator

Triangle Calculators