Connect via MCP →

Enter Calculation

Formula

Show calculation steps (3)
  1. Perimeter & Semi-perimeter

    Perimeter & Semi-perimeter: Scalene Triangle Calculator

    Perimeter is the sum of all sides; s is half of it

  2. Angles (Law of Cosines)

    Angles (Law of Cosines): Scalene Triangle Calculator

    Each interior angle from the law of cosines; opposite angles A, B, C face sides a, b, c

  3. Heights (Altitudes)

    Heights (Altitudes): Scalene Triangle Calculator

    Altitude to each side equals twice the area divided by that side

Advertisement

Results

Triangle Area
6
square units
Perimeter 12
Semi-perimeter (s) 6
Angle A (opposite a) 36.87°
Angle B (opposite b) 53.13°
Angle C (opposite c) 90°
Height to side a 4
Height to side b 3
Height to side c 2.4

What Is a Scalene Triangle?

A scalene triangle is a triangle in which all three sides have different lengths, which also means all three interior angles are different. This calculator takes the three side lengths and instantly returns the area, perimeter, semi-perimeter, the three interior angles, and the altitude (height) dropped to each side. It works for any valid triangle — not only scalene ones — as long as the three sides can actually form a closed triangle.

Scalene triangle with three unequal sides and three different angles
A scalene triangle has three sides of different lengths and three unequal angles.

How to Use It

Enter the lengths of the three sides — a, b, and c — in any consistent unit (cm, m, inches, etc.). The calculator checks the triangle inequality (the sum of any two sides must exceed the third). If the sides form a valid triangle, you'll get the area in square units along with angles in degrees and the three heights.

The Formula Explained

The area uses Heron's formula. First compute the semi-perimeter \(s = (a + b + c) / 2\), then the area is \(\sqrt{s(s - a)(s - b)(s - c)}\). Interior angles come from the law of cosines, e.g. $$\cos A = \frac{b^2 + c^2 - a^2}{2bc}.$$ Each altitude is found from the area: the height to side a equals \(2\cdot\text{Area} \div a\).

Advertisement
Triangle showing semi-perimeter and side segments used in Heron's formula
Heron's formula uses the semi-perimeter s and the three side lengths.

Worked Example

Take a triangle with sides a = 3, b = 4, c = 5. The semi-perimeter is \(s = (3 + 4 + 5) / 2 = 6\). $$\text{Area} = \sqrt{6(6-3)(6-4)(6-5)} = \sqrt{6 \times 3 \times 2 \times 1} = \sqrt{36} = 6$$ square units. Because \(3^2 + 4^2 = 5^2\), this is a right triangle, so angle C (opposite the side of length 5) is 90°. The perimeter is 12.

FAQ

What if my sides don't form a triangle? If the longest side is greater than or equal to the sum of the other two, no triangle exists and the area returns as 0.

Does it work for equilateral or isosceles triangles? Yes — Heron's formula and the law of cosines apply to all triangles.

What units does the area use? Square units of whatever length unit you entered, e.g. cm in gives cm² out.

Last updated: