Browse All Calculators

Triangle Calculator

Free triangle calculator to solve any triangle from three sides, two sides and an angle, two angles and a side, or a right triangle. Get angles, area, perimeter, heights and more.

100% Free
No Sign-up
Instant Results
Works on Mobile

Triangle Calculator

Solve sides, angles, area and more

Side a is opposite angle A, side b is opposite angle B, and so on.
6
8
10
Try an example
Triangle type
Right Scalene Triangle
Area 24 · Perimeter 24
A36.9°B53.1°C90°a = 6b = 8c = 10
Sides and angles
Side a
6
Side b
8
Side c
10
Angle A
36.87°
Angle B
53.13°
Angle C
90°
Measurements
Area
24
Perimeter
24
Height to a
8
Height to b
6
Height to c
4.8
Semi-perimeter
12
Inradius
2
Circumradius
5
Three sides fix the shape completely, as long as the two shorter sides add up to more than the longest.
Triangle Calculator — Free SSS, SAS, ASA and Right Triangle Calculator on HighCalc

Triangle Calculator: Solve Sides, Angles and Area

This free triangle calculator solves a triangle from the values you already know. Enter three sides, two sides and the angle between them, two angles and the side between them, or any two sides of a right triangle, and it fills in the missing sides and angles. It also gives the area, perimeter, all three heights, the inradius and the circumradius, and draws the triangle so you can see the result.

Quick answer: a triangle with sides 6, 8 and 10 has angles of 36.87°, 53.13° and 90°, an area of 24 and a perimeter of 24. Because 6² + 8² equals 10², it is a right triangle. Pick the tab that matches what you know, type your numbers, and the answer updates as you type.

Four Ways to Solve a Triangle

A triangle is fixed by three well-chosen measurements. With SSS you know all three sides, and the angles follow from the law of cosines. With SAS you know two sides and the angle between them, which gives the third side and the other two angles. With ASA you know two angles and the side between them, so the third angle is simply 180° minus the other two and the sides come from the law of sines. The right triangle tab needs just two sides, because the right angle supplies the missing information.

Triangle Formulas Used

Sides are named a, b and c, and each is opposite the angle with the matching capital letter. These are the formulas the calculator applies.

Pythagorean theorema² + b² = c²
Law of cosinesc² = a² + b² − 2ab · cos C
Law of sinesa ÷ sin A = b ÷ sin B = c ÷ sin C
Heron's formulaArea = √(s(s − a)(s − b)(s − c)), where s = (a + b + c) ÷ 2
Area from two sides and the angle between themArea = ½ × a × b × sin C

The height to a side is twice the area divided by that side. The inradius is the area divided by s, and the circumradius is a × b × c divided by four times the area.

Worked Examples

MethodYou knowThe calculator finds
SSSSides 6, 8, 10Angles 36.87°, 53.13°, 90° · area 24
SASa = 5, B = 60°, c = 8b = 7 · A = 38.21° · C = 81.79° · area 17.321
ASAA = 40°, b = 10, C = 60°B = 80° · a = 6.527 · c = 8.794 · area 28.263
Right triangleLegs 3 and 4Hypotenuse 5 · angles 36.87° and 53.13° · area 6

For the 6, 8, 10 triangle the three heights are 8, 6 and 4.8, the inradius is 2 and the circumradius is 5. In any right triangle the circumradius is half the hypotenuse, which is why it comes out as 5 here.

Types of Triangle

By sides, a triangle is equilateral when all three sides are equal, isosceles when two are equal and scalene when none are. By angles, it is acute when all angles are under 90°, right when one is exactly 90° and obtuse when one is over 90°. The calculator names the type from your result, such as a right scalene triangle.

Limits and Things to Know

Two sides and an angle that is not between them (SSA) can describe two different triangles, or none, so that case is not offered here. Angles are entered in degrees, and the length unit you pick only labels the results. The sides must satisfy the triangle inequality, so the two shorter sides have to add up to more than the longest. For building or cutting work, measure the real piece before you rely on a calculated size.

Who Can Use This Calculator?

Students use it to check geometry and trigonometry homework, and teachers use the diagram to explain how sides and angles relate. Carpenters, roofers and DIY builders use it for rafters, bracing and corner cuts, and the roofing calculator and area calculator help once the dimensions are known. For other calculations on the same page of homework, the scientific calculator covers sine, cosine and square roots.

How to Use This Triangle Calculator

1

Choose what you know

Pick SSS, SAS, ASA or Right triangle. The labels on each tab show which sides and angles to enter.

2

Enter your values

Type the numbers and choose a length unit if you want one. For a right triangle, leave one side empty to find it.

3

Read the solved triangle

The type, sides, angles, area, heights and radii appear at once, with a diagram of the triangle.

4

Try an example

Tap an example under the button to fill the boxes, or use Clear to start again.

Features

Instant Results
The triangle is solved as you type
Four Methods
SSS, SAS, ASA and right triangle
Live Diagram
A drawing with every side and angle labeled
Full Measurements
Area, perimeter, heights, inradius and circumradius
Works Everywhere
Fully responsive on phone, tablet, and desktop
Private & Secure
All calculations run in your browser — nothing is stored
Frequently Asked Questions
Common questions about the Triangle Calculator.
How do I solve a triangle when I know all three sides?
Choose the SSS tab and enter the three sides. The calculator uses the law of cosines to find each angle and then works out the area, perimeter, heights and radii. For sides of 6, 8 and 10 the angles are 36.87°, 53.13° and 90°, so it is a right triangle.
What is the difference between SSS, SAS and ASA?
They describe what you already know. SSS means three sides, SAS means two sides and the angle between them, and ASA means two angles and the side between them. Each set pins down exactly one triangle, so the calculator can find everything else.
How is the area of a triangle calculated?
With three sides the calculator uses Heron's formula, which needs only the side lengths. With other inputs it uses half the product of two sides and the sine of the angle between them. A triangle with sides 6, 8 and 10 has an area of 24 square units.
How do I find a missing side of a right triangle?
Open the Right Triangle tab, enter any two sides and leave the third box empty. The calculator applies the Pythagorean theorem, a² + b² = c². Legs of 3 and 4 give a hypotenuse of 5.
Why does the calculator say my sides cannot form a triangle?
Any two sides of a triangle must add up to more than the third side. If the two shorter sides add up to the longest side or less, they cannot meet and no triangle exists. Sides of 2, 3 and 8 are one example.
What are the inradius and circumradius?
The inradius is the radius of the largest circle that fits inside the triangle and touches all three sides. The circumradius is the radius of the circle that passes through all three corners. For a 6, 8, 10 triangle they are 2 and 5.