Triangle calculator

Please enter what you know about the triangle:
Symbols definition of ABC triangle

You have entered side a, b and height ha.

Triangle has two solutions: a=7.5; b=5.3; c=11.12877733506 and a=7.5; b=5.3; c=6.69772128723.

#1 Obtuse scalene triangle.

Sides: a = 7.5   b = 5.3   c = 11.12877733506

Area: T = 17.25
Perimeter: p = 23.92877733506
Semiperimeter: s = 11.96438866753

Angle ∠ A = α = 35.80110000919° = 35°48'4″ = 0.62548453271 rad
Angle ∠ B = β = 24.41773446738° = 24°25'2″ = 0.42661630592 rad
Angle ∠ C = γ = 119.7821655234° = 119°46'54″ = 2.09105842673 rad

Height: ha = 4.6
Height: hb = 6.50994339623
Height: hc = 3.11003507092

Median: ma = 7.86774118916
Median: mb = 9.11113209729
Median: mc = 3.34986064361

Inradius: r = 1.44218391337
Circumradius: R = 6.41105650824

Vertex coordinates: A[11.12877733506; 0] B[0; 0] C[6.82991892256; 3.11003507092]
Centroid: CG[5.98656541921; 1.03334502364]
Coordinates of the circumscribed circle: U[5.56438866753; -3.18441026586]
Coordinates of the inscribed circle: I[6.66438866753; 1.44218391337]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 144.1998999908° = 144°11'56″ = 0.62548453271 rad
∠ B' = β' = 155.5832655326° = 155°34'58″ = 0.42661630592 rad
∠ C' = γ' = 60.21883447657° = 60°13'6″ = 2.09105842673 rad


How did we calculate this triangle?

The calculation of the triangle progress in two phases. The first phase is such that we try to calculate all three sides of the triangle from the input parameters. The first phase is different for the different triangles query entered. The second phase is the calculation of other characteristics of the triangle, such as angles, area, perimeter, heights, the center of gravity, circle radii, etc. Some input data also results in two to three correct triangle solutions (e.g., if the specified triangle area and two sides - typically resulting in both acute and obtuse) triangle).

1. Input data entered: side a, b and height ha.

2. From side a we calculate T:


Now we know the lengths of all three sides of the triangle, and the triangle is uniquely determined. Next, we calculate another its characteristics - same procedure as calculation of the triangle from the known three sides SSS.

3. The triangle perimeter is the sum of the lengths of its three sides

p=a+b+c=7.5+5.3+11.13=23.93p = a+b+c = 7.5+5.3+11.13 = 23.93

4. Semiperimeter of the triangle

The semiperimeter of the triangle is half its perimeter. The semiperimeter frequently appears in formulas for triangles that it is given a separate name. By the triangle inequality, the longest side length of a triangle is less than the semiperimeter.

s=p2=23.932=11.96s = \dfrac{ p }{ 2 } = \dfrac{ 23.93 }{ 2 } = 11.96

5. The triangle area using Heron's formula

Heron's formula gives the area of a triangle when the length of all three sides are known. There is no need to calculate angles or other distances in the triangle first. Heron's formula works equally well in all cases and types of triangles.

6. Calculate the heights of the triangle from its area.

There are many ways to find the height of the triangle. The easiest way is from the area and base length. The area of a triangle is half of the product of the length of the base and the height. Every side of the triangle can be a base; there are three bases and three heights (altitudes). Triangle height is the perpendicular line segment from a vertex to a line containing the base.

7. Calculation of the inner angles of the triangle using a Law of Cosines

The Law of Cosines is useful for finding the angles of a triangle when we know all three sides. The cosine rule, also known as the law of cosines, relates all three sides of a triangle with an angle of a triangle. The Law of Cosines is the extrapolation of the Pythagorean theorem for any triangle. Pythagorean theorem works only in a right triangle. Pythagorean theorem is a special case of the Law of Cosines and can be derived from it because the cosine of 90° is 0. It is best to find the angle opposite the longest side first. With the Law of Cosines, there is also no problem with obtuse angles as with the Law of Sines, because cosine function is negative for obtuse angles, zero for right, and positive for acute angles. We also use inverse cosine called arccosine to determine the angle from cosine value.

8. Inradius

An incircle of a triangle is a circle which is tangent to each side. An incircle center is called incenter and has a radius named inradius. All triangles have an incenter, and it always lies inside the triangle. The incenter is the intersection of the three angle bisectors. The product of the inradius and semiperimeter (half the perimeter) of a triangle is its area.

9. Circumradius

The circumcircle of a triangle is a circle that passes through all of the triangle's vertices, and the circumradius of a triangle is the radius of the triangle's circumcircle. Circumcenter (center of circumcircle) is the point where the perpendicular bisectors of a triangle intersect.

10. Calculation of medians

A median of a triangle is a line segment joining a vertex to the midpoint of the opposite side. Every triangle has three medians, and they all intersect each other at the triangle's centroid. The centroid divides each median into parts in the ratio 2:1, with the centroid being twice as close to the midpoint of a side as it is to the opposite vertex. We use Apollonius's theorem to calculate the length of a median from the lengths of its side.




#2 Acute scalene triangle.

Sides: a = 7.5   b = 5.3   c = 6.69772128723

Area: T = 17.25
Perimeter: p = 19.49772128723
Semiperimeter: s = 9.74986064361

Angle ∠ A = α = 76.44001541856° = 76°24'1″ = 1.33334342396 rad
Angle ∠ B = β = 43.38215010487° = 43°22'53″ = 0.75771500278 rad
Angle ∠ C = γ = 60.21883447657° = 60°13'6″ = 1.05110083863 rad

Height: ha = 4.6
Height: hb = 6.50994339623
Height: hc = 5.15113966568

Median: ma = 4.73437965871
Median: mb = 6.59876382235
Median: mc = 5.56438866753

Inradius: r = 1.76994836809
Circumradius: R = 3.85881769808

Vertex coordinates: A[6.69772128723; 0] B[0; 0] C[5.45109735355; 5.15113966568]
Centroid: CG[4.04993954693; 1.71771322189]
Coordinates of the circumscribed circle: U[3.34986064361; 1.91663414494]
Coordinates of the inscribed circle: I[4.44986064361; 1.76994836809]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 103.6599845814° = 103°35'59″ = 1.33334342396 rad
∠ B' = β' = 136.6188498951° = 136°37'7″ = 0.75771500278 rad
∠ C' = γ' = 119.7821655234° = 119°46'54″ = 1.05110083863 rad

Calculate another triangle

How did we calculate this triangle?

The calculation of the triangle progress in two phases. The first phase is such that we try to calculate all three sides of the triangle from the input parameters. The first phase is different for the different triangles query entered. The second phase is the calculation of other characteristics of the triangle, such as angles, area, perimeter, heights, the center of gravity, circle radii, etc. Some input data also results in two to three correct triangle solutions (e.g., if the specified triangle area and two sides - typically resulting in both acute and obtuse) triangle).

1. Input data entered: side a, b and height ha.

2. From side a we calculate T:


Now we know the lengths of all three sides of the triangle, and the triangle is uniquely determined. Next, we calculate another its characteristics - same procedure as calculation of the triangle from the known three sides SSS.

3. The triangle perimeter is the sum of the lengths of its three sides

4. Semiperimeter of the triangle

The semiperimeter of the triangle is half its perimeter. The semiperimeter frequently appears in formulas for triangles that it is given a separate name. By the triangle inequality, the longest side length of a triangle is less than the semiperimeter.

s=p2=19.52=9.75s = \dfrac{ p }{ 2 } = \dfrac{ 19.5 }{ 2 } = 9.75

5. The triangle area using Heron's formula

Heron's formula gives the area of a triangle when the length of all three sides are known. There is no need to calculate angles or other distances in the triangle first. Heron's formula works equally well in all cases and types of triangles.

6. Calculate the heights of the triangle from its area.

There are many ways to find the height of the triangle. The easiest way is from the area and base length. The area of a triangle is half of the product of the length of the base and the height. Every side of the triangle can be a base; there are three bases and three heights (altitudes). Triangle height is the perpendicular line segment from a vertex to a line containing the base.

7. Calculation of the inner angles of the triangle using a Law of Cosines

The Law of Cosines is useful for finding the angles of a triangle when we know all three sides. The cosine rule, also known as the law of cosines, relates all three sides of a triangle with an angle of a triangle. The Law of Cosines is the extrapolation of the Pythagorean theorem for any triangle. Pythagorean theorem works only in a right triangle. Pythagorean theorem is a special case of the Law of Cosines and can be derived from it because the cosine of 90° is 0. It is best to find the angle opposite the longest side first. With the Law of Cosines, there is also no problem with obtuse angles as with the Law of Sines, because cosine function is negative for obtuse angles, zero for right, and positive for acute angles. We also use inverse cosine called arccosine to determine the angle from cosine value.

8. Inradius

An incircle of a triangle is a circle which is tangent to each side. An incircle center is called incenter and has a radius named inradius. All triangles have an incenter, and it always lies inside the triangle. The incenter is the intersection of the three angle bisectors. The product of the inradius and semiperimeter (half the perimeter) of a triangle is its area.

T=rs r=Ts=17.259.75=1.77T = rs \ \\ r = \dfrac{ T }{ s } = \dfrac{ 17.25 }{ 9.75 } = 1.77

9. Circumradius

The circumcircle of a triangle is a circle that passes through all of the triangle's vertices, and the circumradius of a triangle is the radius of the triangle's circumcircle. Circumcenter (center of circumcircle) is the point where the perpendicular bisectors of a triangle intersect.

10. Calculation of medians

A median of a triangle is a line segment joining a vertex to the midpoint of the opposite side. Every triangle has three medians, and they all intersect each other at the triangle's centroid. The centroid divides each median into parts in the ratio 2:1, with the centroid being twice as close to the midpoint of a side as it is to the opposite vertex. We use Apollonius's theorem to calculate the length of a median from the lengths of its side.


Calculate another triangle


Look also our friend's collection of math problems and questions:

See more information about triangles or more details on solving triangles.