Triangle calculator

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

You have entered side b, c and angle β.

Triangle has two solutions: a=71.64404339892; b=35; c=105 and a=136.7944257855; b=35; c=105.

#1 Obtuse scalene triangle.

Sides: a = 71.64404339892   b = 35   c = 105

Area: T = 458.3665564205
Perimeter: p = 211.6440433989
Semiperimeter: s = 105.8220216995

Angle ∠ A = α = 14.44550067074° = 14°26'42″ = 0.25221129275 rad
Angle ∠ B = β = 7° = 0.12221730476 rad
Angle ∠ C = γ = 158.5554993293° = 158°33'18″ = 2.76773066784 rad

Height: ha = 12.79662810575
Height: hb = 26.19223179546
Height: hc = 8.73107726515

Median: ma = 69.5843849092
Median: mb = 88.16113628019
Median: mc = 20.55330019969

Inradius: r = 4.3321550031
Circumradius: R = 143.5966408342

Vertex coordinates: A[105; 0] B[0; 0] C[71.10664370579; 8.73107726515]
Centroid: CG[58.7022145686; 2.91102575505]
Coordinates of the circumscribed circle: U[52.5; -133.6555072813]
Coordinates of the inscribed circle: I[70.82202169946; 4.3321550031]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 165.5554993293° = 165°33'18″ = 0.25221129275 rad
∠ B' = β' = 173° = 0.12221730476 rad
∠ C' = γ' = 21.44550067074° = 21°26'42″ = 2.76773066784 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 b, c and angle β.

b=35 c=105 β=7b = 35 \ \\ c = 105 \ \\ β = 7^\circ

2. From angle β, side c and side b we calculate side a - by using the law of cosines and quadratic equation:

b2=c2+a22cacosβ  352=1052+a22 105 a cos7   a2208.435a+9800=0  p=1;q=208.435;r=9800 D=q24pr=208.4352419800=4245.02076439 D>0  a1,2=q±D2p=208.43±4245.022 a1,2=104.21734592±32.5769119331 a1=136.794257855 a2=71.6404339892   Factored form of the equation:  (a136.794257855)(a71.6404339892)=0   a>0  a=136.794b^2 = c^2 + a^2 - 2c a \cos β \ \\ \ \\ 35^2 = 105^2 + a^2 - 2 \cdot \ 105 \cdot \ a \cdot \ \cos 7^\circ \ \\ \ \\ \ \\ a^2 -208.435a +9800 =0 \ \\ \ \\ p=1; q=-208.435; r=9800 \ \\ D = q^2 - 4pr = 208.435^2 - 4\cdot 1 \cdot 9800 = 4245.02076439 \ \\ D>0 \ \\ \ \\ a_{1,2} = \dfrac{ -q \pm \sqrt{ D } }{ 2p } = \dfrac{ 208.43 \pm \sqrt{ 4245.02 } }{ 2 } \ \\ a_{1,2} = 104.21734592 \pm 32.5769119331 \ \\ a_{1} = 136.794257855 \ \\ a_{2} = 71.6404339892 \ \\ \ \\ \text{ Factored form of the equation: } \ \\ (a -136.794257855) (a -71.6404339892) = 0 \ \\ \ \\ \ \\ a > 0 \ \\ \ \\ a = 136.794

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.

a=71.64 b=35 c=105a = 71.64 \ \\ b = 35 \ \\ c = 105

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

p=a+b+c=71.64+35+105=211.64p = a+b+c = 71.64+35+105 = 211.64

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=211.642=105.82s = \dfrac{ p }{ 2 } = \dfrac{ 211.64 }{ 2 } = 105.82

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.

T=s(sa)(sb)(sc) T=105.82(105.8271.64)(105.8235)(105.82105) T=210098.99=458.37T = \sqrt{ s(s-a)(s-b)(s-c) } \ \\ T = \sqrt{ 105.82(105.82-71.64)(105.82-35)(105.82-105) } \ \\ T = \sqrt{ 210098.99 } = 458.37

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.

T=aha2  ha=2 Ta=2 458.3771.64=12.8 hb=2 Tb=2 458.3735=26.19 hc=2 Tc=2 458.37105=8.73T = \dfrac{ a h _a }{ 2 } \ \\ \ \\ h _a = \dfrac{ 2 \ T }{ a } = \dfrac{ 2 \cdot \ 458.37 }{ 71.64 } = 12.8 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 458.37 }{ 35 } = 26.19 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 458.37 }{ 105 } = 8.73

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.

a2=b2+c22bccosα  α=arccos(b2+c2a22bc)=arccos(352+105271.6422 35 105)=142642"  b2=a2+c22accosβ β=arccos(a2+c2b22ac)=arccos(71.642+10523522 71.64 105)=7 γ=180αβ=180142642"7=1583318"a^2 = b^2+c^2 - 2bc \cos α \ \\ \ \\ α = \arccos(\dfrac{ b^2+c^2-a^2 }{ 2bc } ) = \arccos(\dfrac{ 35^2+105^2-71.64^2 }{ 2 \cdot \ 35 \cdot \ 105 } ) = 14^\circ 26'42" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 71.64^2+105^2-35^2 }{ 2 \cdot \ 71.64 \cdot \ 105 } ) = 7^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 14^\circ 26'42" - 7^\circ = 158^\circ 33'18"

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=458.37105.82=4.33T = rs \ \\ r = \dfrac{ T }{ s } = \dfrac{ 458.37 }{ 105.82 } = 4.33

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.

R=abc4 rs=71.64 35 1054 4.332 105.82=143.6R = \dfrac{ a b c }{ 4 \ r s } = \dfrac{ 71.64 \cdot \ 35 \cdot \ 105 }{ 4 \cdot \ 4.332 \cdot \ 105.82 } = 143.6

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.

ma=2b2+2c2a22=2 352+2 105271.6422=69.584 mb=2c2+2a2b22=2 1052+2 71.6423522=88.161 mc=2a2+2b2c22=2 71.642+2 35210522=20.553m_a = \dfrac{ \sqrt{ 2b^2+2c^2 - a^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 35^2+2 \cdot \ 105^2 - 71.64^2 } }{ 2 } = 69.584 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 105^2+2 \cdot \ 71.64^2 - 35^2 } }{ 2 } = 88.161 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 71.64^2+2 \cdot \ 35^2 - 105^2 } }{ 2 } = 20.553



#2 Obtuse scalene triangle.

Sides: a = 136.7944257855   b = 35   c = 105

Area: T = 875.2298885288
Perimeter: p = 276.7944257855
Semiperimeter: s = 138.3977128928

Angle ∠ A = α = 151.5554993293° = 151°33'18″ = 2.64551336308 rad
Angle ∠ B = β = 7° = 0.12221730476 rad
Angle ∠ C = γ = 21.44550067074° = 21°26'42″ = 0.37442859752 rad

Height: ha = 12.79662810575
Height: hb = 50.01330791593
Height: hc = 16.67110263864

Median: ma = 38.03772548227
Median: mb = 120.6765533938
Median: mc = 84.92769361929

Inradius: r = 6.32440393213
Circumradius: R = 143.5966408342

Vertex coordinates: A[105; 0] B[0; 0] C[135.7754614201; 16.67110263864]
Centroid: CG[80.25882047337; 5.55770087955]
Coordinates of the circumscribed circle: U[52.5; 133.6555072813]
Coordinates of the inscribed circle: I[103.3977128928; 6.32440393213]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 28.44550067074° = 28°26'42″ = 2.64551336308 rad
∠ B' = β' = 173° = 0.12221730476 rad
∠ C' = γ' = 158.5554993293° = 158°33'18″ = 0.37442859752 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 b, c and angle β.

b=35 c=105 β=7b = 35 \ \\ c = 105 \ \\ β = 7^\circ

2. From angle β, side c and side b we calculate side a - by using the law of cosines and quadratic equation:

b2=c2+a22cacosβ  352=1052+a22 105 a cos7   a2208.435a+9800=0  p=1;q=208.435;r=9800 D=q24pr=208.4352419800=4245.02076439 D>0  a1,2=q±D2p=208.43±4245.022 a1,2=104.21734592±32.5769119331 a1=136.794257855 a2=71.6404339892   Factored form of the equation:  (a136.794257855)(a71.6404339892)=0   a>0  a=136.794b^2 = c^2 + a^2 - 2c a \cos β \ \\ \ \\ 35^2 = 105^2 + a^2 - 2 \cdot \ 105 \cdot \ a \cdot \ \cos 7^\circ \ \\ \ \\ \ \\ a^2 -208.435a +9800 =0 \ \\ \ \\ p=1; q=-208.435; r=9800 \ \\ D = q^2 - 4pr = 208.435^2 - 4\cdot 1 \cdot 9800 = 4245.02076439 \ \\ D>0 \ \\ \ \\ a_{1,2} = \dfrac{ -q \pm \sqrt{ D } }{ 2p } = \dfrac{ 208.43 \pm \sqrt{ 4245.02 } }{ 2 } \ \\ a_{1,2} = 104.21734592 \pm 32.5769119331 \ \\ a_{1} = 136.794257855 \ \\ a_{2} = 71.6404339892 \ \\ \ \\ \text{ Factored form of the equation: } \ \\ (a -136.794257855) (a -71.6404339892) = 0 \ \\ \ \\ \ \\ a > 0 \ \\ \ \\ a = 136.794

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.

a=136.79 b=35 c=105a = 136.79 \ \\ b = 35 \ \\ c = 105

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

p=a+b+c=136.79+35+105=276.79p = a+b+c = 136.79+35+105 = 276.79

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=276.792=138.4s = \dfrac{ p }{ 2 } = \dfrac{ 276.79 }{ 2 } = 138.4

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.

T=s(sa)(sb)(sc) T=138.4(138.4136.79)(138.435)(138.4105) T=766025.6=875.23T = \sqrt{ s(s-a)(s-b)(s-c) } \ \\ T = \sqrt{ 138.4(138.4-136.79)(138.4-35)(138.4-105) } \ \\ T = \sqrt{ 766025.6 } = 875.23

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.

T=aha2  ha=2 Ta=2 875.23136.79=12.8 hb=2 Tb=2 875.2335=50.01 hc=2 Tc=2 875.23105=16.67T = \dfrac{ a h _a }{ 2 } \ \\ \ \\ h _a = \dfrac{ 2 \ T }{ a } = \dfrac{ 2 \cdot \ 875.23 }{ 136.79 } = 12.8 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 875.23 }{ 35 } = 50.01 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 875.23 }{ 105 } = 16.67

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.

a2=b2+c22bccosα  α=arccos(b2+c2a22bc)=arccos(352+1052136.7922 35 105)=1513318"  b2=a2+c22accosβ β=arccos(a2+c2b22ac)=arccos(136.792+10523522 136.79 105)=7 γ=180αβ=1801513318"7=212642"a^2 = b^2+c^2 - 2bc \cos α \ \\ \ \\ α = \arccos(\dfrac{ b^2+c^2-a^2 }{ 2bc } ) = \arccos(\dfrac{ 35^2+105^2-136.79^2 }{ 2 \cdot \ 35 \cdot \ 105 } ) = 151^\circ 33'18" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 136.79^2+105^2-35^2 }{ 2 \cdot \ 136.79 \cdot \ 105 } ) = 7^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 151^\circ 33'18" - 7^\circ = 21^\circ 26'42"

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=875.23138.4=6.32T = rs \ \\ r = \dfrac{ T }{ s } = \dfrac{ 875.23 }{ 138.4 } = 6.32

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.

R=abc4 rs=136.79 35 1054 6.324 138.397=143.6R = \dfrac{ a b c }{ 4 \ r s } = \dfrac{ 136.79 \cdot \ 35 \cdot \ 105 }{ 4 \cdot \ 6.324 \cdot \ 138.397 } = 143.6

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.

ma=2b2+2c2a22=2 352+2 1052136.7922=38.037 mb=2c2+2a2b22=2 1052+2 136.7923522=120.676 mc=2a2+2b2c22=2 136.792+2 35210522=84.927m_a = \dfrac{ \sqrt{ 2b^2+2c^2 - a^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 35^2+2 \cdot \ 105^2 - 136.79^2 } }{ 2 } = 38.037 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 105^2+2 \cdot \ 136.79^2 - 35^2 } }{ 2 } = 120.676 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 136.79^2+2 \cdot \ 35^2 - 105^2 } }{ 2 } = 84.927

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.