Home All Calculators About Privacy Contact

Triangle Calculator

Calculate triangle sides, angles, area, perimeter with interactive diagram.

Triangle Calculator

A triangle is a polygon with three sides and three vertices. Each vertex is formed where two sides meet, and the triangle is commonly named using its vertices, such as △ABC.

Triangles are classified based on their side lengths and internal angles.

Types of Triangles by Side Length

Triangles can be classified by comparing the lengths of their sides. An equilateral triangle has three equal sides, an isosceles triangle has two equal sides, and a scalene triangle has no equal sides.

Side and Angle Relationship

The lengths of a triangle’s sides are directly related to its internal angles. Equal sides always face equal angles.

Triangles Classified by Angles

Based on internal angles, triangles are classified as right or oblique. A right triangle has one angle equal to 90°, while oblique triangles are either acute or obtuse.

Basic Triangle Properties

A triangle cannot have more than one angle that is greater than or equal to 90°. The sum of the internal angles of any triangle is always exactly 180°.

Additionally, the sum of the lengths of any two sides must always be greater than the length of the third side.

Pythagorean Theorem

The Pythagorean theorem applies only to right triangles. It states that the square of the hypotenuse equals the sum of the squares of the other two sides.

a² + b² = c²

Example: a = 3, c = 5 → b = 4

Law of Sines

The law of sines relates the sides of a triangle to the sines of their opposite angles. It is useful for finding unknown sides or angles.

a / sin(A) = b / sin(B) = c / sin(C)

Finding Angles from Side Lengths

If all three sides of a triangle are known, each angle can be calculated using inverse cosine functions.

A = arccos((b² + c² − a²) / 2bc)

Area of a Triangle

There are multiple formulas for calculating the area of a triangle depending on the known values.

Area = ½ × base × height
Area = ½ × ab × sin(C)
Heron’s Formula:
Area = √[s(s−a)(s−b)(s−c)], where s = (a+b+c)/2

Medians of a Triangle

A median is a line segment drawn from a vertex to the midpoint of the opposite side. All three medians intersect at the centroid.

Inradius

The inradius is the radius of the largest circle that fits inside the triangle. It is calculated using the triangle’s area and semiperimeter.

Inradius = Area ÷ s

Circumradius

The circumradius is the radius of a circle that passes through all three vertices of the triangle.

Circumradius = a / (2 sin(A))

Frequently Asked Questions

Can a triangle have two right angles?

No. A triangle can only have one right angle, otherwise the angle sum would exceed 180°.

Is every right triangle scalene?

No. Some right triangles, such as 45°–45°–90°, are isosceles.

Does every triangle have a circumcircle?

Yes. Every triangle has a unique circumcircle.

Get in Touch

Reach out to us for feedback, suggestions, or support related to our calculators.

🛠️

Bug Reports

Found an issue in any calculator? Let us know so we can fix it quickly.

💡

Feature Suggestions

Have an idea for a new calculator or improvement? We’re listening.

General Questions

Questions about usage, accuracy, or results? Feel free to ask.

🤝

Partnerships

Interested in collaboration or promotion? Contact our team.