Skip to content
BestCalculators LogoBestCalculators
Free online calculators and converters

Math & Statistics

Triangle Calculator: Angles, Area and Height From Three Sides

Enter three sides and get every angle, the area by Heron’s formula, the perimeter, the heights and whether the triangle can exist at all.

Any units, as long as all three match. The angle opposite each side is given below it.

Area

26.8328sq units

By Heron’s formula, from the sides alone — no height needed, which is why surveyors have used it since antiquity.

Can this triangle exist
1

1 yes, 0 no. The two shorter sides must beat the longest, or the ends never meet. Everything below is meaningless when this is 0.

Perimeter
24

Half of it, 12, is the semi-perimeter Heron’s formula is built on.

Angle A, opposite side a
48.19°

By the law of cosines. The largest angle always sits opposite the longest side, without exception.

Angle B, opposite side b
58.412°
Angle C, opposite side c
73.398°

Taken as the remainder from 180°, because the three angles of any plane triangle sum to exactly that.

Height onto side a
7.6665

Twice the area divided by the base. Each side has its own height, and the product of the two is the same every time.

Right, acute or obtuse
-1

0 is right-angled, 1 obtuse, −1 acute. It compares the longest side squared with the other two squared — Pythagoras used as a test rather than a formula.

Circumradius
4.6957

The circle through all three corners. On a right-angled triangle it is exactly half the longest side, which is Thales’ theorem.

Inradius
2.2361

The largest circle that fits inside. Area divided by the semi-perimeter, which is the tidiest identity in the whole subject.

Is it equilateral
0
Is it isosceles
0

Two sides equal means two angles equal, and the reverse holds too — that pairing is what most geometry proofs turn on.

How to use this calculator

  1. Enter the numeric value for Side a into the first input field, using any unit of measurement as long as it matches the other two sides.
  2. Enter the numeric value for Side b into the second input field.
  3. Enter the numeric value for Side c into the third input field.
  4. Review the calculated area by Heron's formula, perimeter, angles, and triangle existence status instantly generated below.

Understanding the Triangle Calculator

Solving a triangle from three side lengths is a fundamental operation in geometry, construction, and land surveying. When you use a triangle calculator, the engine behind the scenes performs several mathematical transformations that go far beyond basic arithmetic. Given three side lengths a, b, and c, the system first checks whether a valid geometric shape can actually be formed using the triangle inequality theorem. Without this preliminary check, impossible configurations—such as a side of 10 combined with sides of 2 and 3—would produce catastrophic calculation errors or imaginary numbers.

Once validity is established, the system calculates the semi-perimeter s, defined as half of the total perimeter. This semi-perimeter feeds directly into Heron's formula to determine the total triangle area without needing any prior knowledge of the triangle's height. Simultaneously, the law of cosines is applied to isolate each angle, converting the raw side lengths into precise degree measurements for Angle A, Angle B, and Angle C. This dual approach of combining algebraic formulas with trigonometric identities ensures that every structural property of the shape is accounted for simultaneously.

The Hidden Mechanics of Side-Based Geometry

What the calculator is quietly doing behind the interface is preventing floating-point arithmetic drift while evaluating edge cases. When calculating angles from side lengths using the law of cosines, values like (b² + c² − a²) ÷ 2bc can occasionally evaluate to numbers fractionally above 1.0 or below -1.0 due to rounding limitations in standard computer processors. If left unchecked, this causes the inverse cosine function to fail entirely. The calculation engine explicitly clamps these intermediate values between -1 and 1 before evaluation, ensuring that triangle angles from sides always return valid real numbers.

Another invisible process involves classifying the triangle as right, acute, or obtuse by comparing the square of the longest side against the sum of the squares of the two shorter sides. If the difference is infinitesimally close to zero within a threshold of 0.000001, it is marked as a right-angled triangle following the Pythagorean theorem. Furthermore, properties like the circumradius and inradius are derived dynamically using the exact area and semi-perimeter values, providing complete geometric profiling without requiring manual intermediate rounding by the user.

Common Mistakes in Triangle Calculations

The most frequent error operators make when determining triangle angles from sides is violating the core rule of the triangle inequality. If any single side length is greater than or equal to the sum of the other two sides, the shape is geometrically impossible in a flat Euclidean plane. For example, trying to form a triangle with sides measuring 5, 5, and 12 will instantly fail because 5 plus 5 does not exceed 12. In real-world carpentry or metal fabrication, ignoring this rule leads to prefabricated parts that simply cannot be welded or bolted together at the joints.

Another common pitfall is misinterpreting the units of the output values. While the input side lengths might be entered in feet, the resulting area will automatically be expressed in square feet, and heights will be expressed in linear feet. Confusing linear units with square units during material estimation can result in purchasing ten times too much flooring or paint. Always verify that your dimensional units match across every input field before relying on the numerical outputs for purchasing or construction.

Reference Guide for Triangle Types

Different side configurations produce distinct geometric behaviors. The following reference table outlines common side ratios, their classification, and how they behave under standard geometric analysis.

Side Ratios (a, b, c)ClassificationKey Characteristic
3, 4, 5Right / ScaleneClassic Pythagorean triple with a 90-degree angle.
5, 5, 5Equilateral / AcuteAll sides equal, all internal angles exactly 60 degrees.
5, 5, 8Isosceles / ObtuseTwo equal sides, symmetric base angles.
2, 3, 4Obtuse / ScaleneOne internal angle exceeds 90 degrees.
1, 2, 3InvalidViolates the triangle inequality theorem (1 + 2 = 3).

When dealing with critical engineering tasks, architectural blueprints, or legal land surveying where boundary disputes can occur, standard online calculations should not be treated as absolute legal truth. If you encounter degenerate triangles or floating-point warnings, consult a licensed professional surveyor or structural engineer to verify your site measurements manually using certified equipment.

The formula

triangle inequality: each pair of sides must exceed the thirdHeron: area = √(s(s−a)(s−b)(s−c)), with s the semi-perimeterlaw of cosines: cos A = (b² + c² − a²) ÷ 2bccircumradius = abc ÷ 4·area, inradius = area ÷ s

Frequently asked questions

What happens if my three sides do not form a valid triangle?

If the sum of any two side lengths is less than or equal to the length of the third side, the system detects a violation of the triangle inequality theorem. The existence flag will return zero, indicating that no physical flat-plane triangle can be constructed from those numbers. You must adjust your input values so that every pair of sides strictly exceeds the remaining side.

How does Heron's formula calculate the area without knowing the height?

Heron's formula computes the area of a triangle exclusively from its three side lengths by first finding the semi-perimeter, which is half of the total perimeter. It then multiplies the semi-perimeter by the difference between the semi-perimeter and each individual side. Taking the square root of this product yields the exact surface area in square units without requiring any perpendicular height measurements.

Why do I need to enter units if the calculator does not show them?

The underlying mathematical formulas are purely dimensionless, meaning they process raw numbers without caring whether those numbers represent inches, meters, or miles. However, you must ensure that all three input fields use the exact same unit of measurement. Entering side a in feet and side b in inches will produce completely corrupted area and angle results.

Can this calculator handle right-angled triangles?

Yes, right-angled triangles are fully supported alongside acute and obtuse triangles. When the side lengths conform to a right triangle ratio, the classification output will explicitly identify it as a right triangle. The law of cosines and Heron's formula naturally adapt to these configurations without requiring special handling from the user.

When should I not rely on these calculation results?

You should not rely on these results for high-stakes structural engineering, legal property boundary definitions, or precision manufacturing where tolerances are measured in fractions of a millimeter. Online math tools operate on standard computer floating-point arithmetic which can introduce minor rounding discrepancies. For certified building plans or legal documents, always consult a licensed surveyor or structural engineer.

Sources

Last reviewed . Results are for general guidance and are not professional advice.