Triangle calculator SSA

Please enter two sides and a non-included angle
°


Triangle has two solutions with side c=5.73222225734 and with side c=1.32440937355

#1 Acute scalene triangle.

Sides: a = 12.8   b = 12.5   c = 5.73222225734

Area: T = 35.26550623514
Perimeter: p = 31.03222225734
Semiperimeter: s = 15.51661112867

Angle ∠ A = α = 79.84442169226° = 79°50'39″ = 1.3943544474 rad
Angle ∠ B = β = 74° = 1.29215436465 rad
Angle ∠ C = γ = 26.15657830774° = 26°9'21″ = 0.45765045331 rad

Height: ha = 5.51101659924
Height: hb = 5.64224099762
Height: hc = 12.3044149708

Median: ma = 7.32108051344
Median: mb = 7.76997849201
Median: mc = 12.32219481452

Inradius: r = 2.27328028757
Circumradius: R = 6.50218714741

Vertex coordinates: A[5.73222225734; 0] B[0; 0] C[3.52881581545; 12.3044149708]
Centroid: CG[3.0876793576; 4.1011383236]
Coordinates of the circumscribed circle: U[2.86661112867; 5.8366072203]
Coordinates of the inscribed circle: I[3.01661112867; 2.27328028757]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 100.1565783077° = 100°9'21″ = 1.3943544474 rad
∠ B' = β' = 106° = 1.29215436465 rad
∠ C' = γ' = 153.8444216923° = 153°50'39″ = 0.45765045331 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. Use the Law of Cosines

a=12.8 b=12.5 β=74  b2=a2+c22accosβ 12.52=12.82+c22 12.8 c cos(74)  c27.056c+7.59=0  p=1;q=7.056;r=7.59 D=q24pr=7.0562417.59=19.4315998515 D>0  c1,2=q±D2p=7.06±19.432 c1,2=3.52815815±2.20406441895 c1=5.7322225734 c2=1.32409373551   Factored form of the equation:  (c5.7322225734)(c1.32409373551)=0   c>0a = 12.8 \ \\ b = 12.5 \ \\ β = 74^\circ \ \\ \ \\ b^2 = a^2 + c^2 - 2ac \cos β \ \\ 12.5^2 = 12.8^2 + c^2 -2 \cdot \ 12.8 \cdot \ c \cdot \ \cos (74^\circ ) \ \\ \ \\ c^2 -7.056c +7.59 =0 \ \\ \ \\ p=1; q=-7.056; r=7.59 \ \\ D = q^2 - 4pr = 7.056^2 - 4\cdot 1 \cdot 7.59 = 19.4315998515 \ \\ D>0 \ \\ \ \\ c_{1,2} = \dfrac{ -q \pm \sqrt{ D } }{ 2p } = \dfrac{ 7.06 \pm \sqrt{ 19.43 } }{ 2 } \ \\ c_{1,2} = 3.52815815 \pm 2.20406441895 \ \\ c_{1} = 5.7322225734 \ \\ c_{2} = 1.32409373551 \ \\ \ \\ \text{ Factored form of the equation: } \ \\ (c -5.7322225734) (c -1.32409373551) = 0 \ \\ \ \\ \ \\ c>0

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=12.8 b=12.5 c=5.73a = 12.8 \ \\ b = 12.5 \ \\ c = 5.73

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

p=a+b+c=12.8+12.5+5.73=31.03p = a+b+c = 12.8+12.5+5.73 = 31.03

3. 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=31.032=15.52s = \dfrac{ p }{ 2 } = \dfrac{ 31.03 }{ 2 } = 15.52

4. 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=15.52(15.5212.8)(15.5212.5)(15.525.73) T=1243.62=35.27T = \sqrt{ s(s-a)(s-b)(s-c) } \ \\ T = \sqrt{ 15.52(15.52-12.8)(15.52-12.5)(15.52-5.73) } \ \\ T = \sqrt{ 1243.62 } = 35.27

5. 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 35.2712.8=5.51 hb=2 Tb=2 35.2712.5=5.64 hc=2 Tc=2 35.275.73=12.3T = \dfrac{ a h _a }{ 2 } \ \\ \ \\ h _a = \dfrac{ 2 \ T }{ a } = \dfrac{ 2 \cdot \ 35.27 }{ 12.8 } = 5.51 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 35.27 }{ 12.5 } = 5.64 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 35.27 }{ 5.73 } = 12.3

6. 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(12.52+5.73212.822 12.5 5.73)=795039"  b2=a2+c22accosβ β=arccos(a2+c2b22ac)=arccos(12.82+5.73212.522 12.8 5.73)=74 γ=180αβ=180795039"74=26921"a^2 = b^2+c^2 - 2bc \cos α \ \\ \ \\ α = \arccos(\dfrac{ b^2+c^2-a^2 }{ 2bc } ) = \arccos(\dfrac{ 12.5^2+5.73^2-12.8^2 }{ 2 \cdot \ 12.5 \cdot \ 5.73 } ) = 79^\circ 50'39" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 12.8^2+5.73^2-12.5^2 }{ 2 \cdot \ 12.8 \cdot \ 5.73 } ) = 74^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 79^\circ 50'39" - 74^\circ = 26^\circ 9'21"

7. 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=35.2715.52=2.27T = rs \ \\ r = \dfrac{ T }{ s } = \dfrac{ 35.27 }{ 15.52 } = 2.27

8. 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=12.8 12.5 5.734 2.273 15.516=6.5R = \dfrac{ a b c }{ 4 \ r s } = \dfrac{ 12.8 \cdot \ 12.5 \cdot \ 5.73 }{ 4 \cdot \ 2.273 \cdot \ 15.516 } = 6.5

9. 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 12.52+2 5.73212.822=7.321 mb=2c2+2a2b22=2 5.732+2 12.8212.522=7.7 mc=2a2+2b2c22=2 12.82+2 12.525.7322=12.322m_a = \dfrac{ \sqrt{ 2b^2+2c^2 - a^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 12.5^2+2 \cdot \ 5.73^2 - 12.8^2 } }{ 2 } = 7.321 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 5.73^2+2 \cdot \ 12.8^2 - 12.5^2 } }{ 2 } = 7.7 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 12.8^2+2 \cdot \ 12.5^2 - 5.73^2 } }{ 2 } = 12.322



#2 Obtuse scalene triangle.

Sides: a = 12.8   b = 12.5   c = 1.32440937355

Area: T = 8.14659237746
Perimeter: p = 26.62440937355
Semiperimeter: s = 13.31220468678

Angle ∠ A = α = 100.1565783077° = 100°9'21″ = 1.74880481796 rad
Angle ∠ B = β = 74° = 1.29215436465 rad
Angle ∠ C = γ = 5.84442169226° = 5°50'39″ = 0.10220008275 rad

Height: ha = 1.27328005898
Height: hb = 1.30333478039
Height: hc = 12.3044149708

Median: ma = 6.16877882673
Median: mb = 6.6133177157
Median: mc = 12.63435542879

Inradius: r = 0.61219212061
Circumradius: R = 6.50218714741

Vertex coordinates: A[1.32440937355; 0] B[0; 0] C[3.52881581545; 12.3044149708]
Centroid: CG[1.61774172967; 4.1011383236]
Coordinates of the circumscribed circle: U[0.66220468678; 6.4688077505]
Coordinates of the inscribed circle: I[0.81220468678; 0.61219212061]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 79.84442169226° = 79°50'39″ = 1.74880481796 rad
∠ B' = β' = 106° = 1.29215436465 rad
∠ C' = γ' = 174.1565783077° = 174°9'21″ = 0.10220008275 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. Use the Law of Cosines

a=12.8 b=12.5 β=74  b2=a2+c22accosβ 12.52=12.82+c22 12.8 c cos(74)  c27.056c+7.59=0  p=1;q=7.056;r=7.59 D=q24pr=7.0562417.59=19.4315998515 D>0  c1,2=q±D2p=7.06±19.432 c1,2=3.52815815±2.20406441895 c1=5.7322225734 c2=1.32409373551   Factored form of the equation:  (c5.7322225734)(c1.32409373551)=0   c>0a = 12.8 \ \\ b = 12.5 \ \\ β = 74^\circ \ \\ \ \\ b^2 = a^2 + c^2 - 2ac \cos β \ \\ 12.5^2 = 12.8^2 + c^2 -2 \cdot \ 12.8 \cdot \ c \cdot \ \cos (74^\circ ) \ \\ \ \\ c^2 -7.056c +7.59 =0 \ \\ \ \\ p=1; q=-7.056; r=7.59 \ \\ D = q^2 - 4pr = 7.056^2 - 4\cdot 1 \cdot 7.59 = 19.4315998515 \ \\ D>0 \ \\ \ \\ c_{1,2} = \dfrac{ -q \pm \sqrt{ D } }{ 2p } = \dfrac{ 7.06 \pm \sqrt{ 19.43 } }{ 2 } \ \\ c_{1,2} = 3.52815815 \pm 2.20406441895 \ \\ c_{1} = 5.7322225734 \ \\ c_{2} = 1.32409373551 \ \\ \ \\ \text{ Factored form of the equation: } \ \\ (c -5.7322225734) (c -1.32409373551) = 0 \ \\ \ \\ \ \\ c>0

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=12.8 b=12.5 c=1.32a = 12.8 \ \\ b = 12.5 \ \\ c = 1.32

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

p=a+b+c=12.8+12.5+1.32=26.62p = a+b+c = 12.8+12.5+1.32 = 26.62

3. 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=26.622=13.31s = \dfrac{ p }{ 2 } = \dfrac{ 26.62 }{ 2 } = 13.31

4. 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=13.31(13.3112.8)(13.3112.5)(13.311.32) T=66.36=8.15T = \sqrt{ s(s-a)(s-b)(s-c) } \ \\ T = \sqrt{ 13.31(13.31-12.8)(13.31-12.5)(13.31-1.32) } \ \\ T = \sqrt{ 66.36 } = 8.15

5. 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 8.1512.8=1.27 hb=2 Tb=2 8.1512.5=1.3 hc=2 Tc=2 8.151.32=12.3T = \dfrac{ a h _a }{ 2 } \ \\ \ \\ h _a = \dfrac{ 2 \ T }{ a } = \dfrac{ 2 \cdot \ 8.15 }{ 12.8 } = 1.27 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 8.15 }{ 12.5 } = 1.3 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 8.15 }{ 1.32 } = 12.3

6. 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(12.52+1.32212.822 12.5 1.32)=100921"  b2=a2+c22accosβ β=arccos(a2+c2b22ac)=arccos(12.82+1.32212.522 12.8 1.32)=74 γ=180αβ=180100921"74=55039"a^2 = b^2+c^2 - 2bc \cos α \ \\ \ \\ α = \arccos(\dfrac{ b^2+c^2-a^2 }{ 2bc } ) = \arccos(\dfrac{ 12.5^2+1.32^2-12.8^2 }{ 2 \cdot \ 12.5 \cdot \ 1.32 } ) = 100^\circ 9'21" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 12.8^2+1.32^2-12.5^2 }{ 2 \cdot \ 12.8 \cdot \ 1.32 } ) = 74^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 100^\circ 9'21" - 74^\circ = 5^\circ 50'39"

7. 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=8.1513.31=0.61T = rs \ \\ r = \dfrac{ T }{ s } = \dfrac{ 8.15 }{ 13.31 } = 0.61

8. 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=12.8 12.5 1.324 0.612 13.312=6.5R = \dfrac{ a b c }{ 4 \ r s } = \dfrac{ 12.8 \cdot \ 12.5 \cdot \ 1.32 }{ 4 \cdot \ 0.612 \cdot \ 13.312 } = 6.5

9. 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 12.52+2 1.32212.822=6.168 mb=2c2+2a2b22=2 1.322+2 12.8212.522=6.613 mc=2a2+2b2c22=2 12.82+2 12.521.3222=12.634m_a = \dfrac{ \sqrt{ 2b^2+2c^2 - a^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 12.5^2+2 \cdot \ 1.32^2 - 12.8^2 } }{ 2 } = 6.168 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 1.32^2+2 \cdot \ 12.8^2 - 12.5^2 } }{ 2 } = 6.613 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 12.8^2+2 \cdot \ 12.5^2 - 1.32^2 } }{ 2 } = 12.634

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.