# Triangle calculator SSA

Please enter two sides and a non-included angle
°

Triangle has two solutions with side c=110.9711084646 and with side c=18.45552580209

### #1 Obtuse scalene triangle.

Sides: a = 72   b = 56   c = 110.9711084646

Area: T = 1751.275477892
Perimeter: p = 238.9711084646
Semiperimeter: s = 119.4865542323

Angle ∠ A = α = 34.30765196075° = 34°18'23″ = 0.59987617221 rad
Angle ∠ B = β = 26° = 0.45437856055 rad
Angle ∠ C = γ = 119.6933480392° = 119°41'37″ = 2.0899045326 rad

Height: ha = 48.64765216368
Height: hb = 62.54655278187
Height: hc = 31.56327225688

Median: ma = 80.18328586032
Median: mb = 89.24884779354
Median: mc = 32.88439564698

Vertex coordinates: A[110.9711084646; 0] B[0; 0] C[64.71331713335; 31.56327225688]
Centroid: CG[58.56114186599; 10.52109075229]
Coordinates of the circumscribed circle: U[55.48655423231; -31.64400273998]
Coordinates of the inscribed circle: I[63.48655423231; 14.65767923188]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 145.6933480392° = 145°41'37″ = 0.59987617221 rad
∠ B' = β' = 154° = 0.45437856055 rad
∠ C' = γ' = 60.30765196075° = 60°18'23″ = 2.0899045326 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

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 = 72 \ \\ b = 56 \ \\ c = 110.97$

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

$p = a+b+c = 72+56+110.97 = 238.97$

### 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 = \dfrac{ p }{ 2 } = \dfrac{ 238.97 }{ 2 } = 119.49$

### 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 = \sqrt{ s(s-a)(s-b)(s-c) } \ \\ T = \sqrt{ 119.49(119.49-72)(119.49-56)(119.49-110.97) } \ \\ T = \sqrt{ 3066963.35 } = 1751.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 = \dfrac{ a h _a }{ 2 } \ \\ \ \\ h _a = \dfrac{ 2 \ T }{ a } = \dfrac{ 2 \cdot \ 1751.27 }{ 72 } = 48.65 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 1751.27 }{ 56 } = 62.55 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 1751.27 }{ 110.97 } = 31.56$

### 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.

$a^2 = b^2+c^2 - 2bc \cos α \ \\ \ \\ α = \arccos(\dfrac{ b^2+c^2-a^2 }{ 2bc } ) = \arccos(\dfrac{ 56^2+110.97^2-72^2 }{ 2 \cdot \ 56 \cdot \ 110.97 } ) = 34^\circ 18'23" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 72^2+110.97^2-56^2 }{ 2 \cdot \ 72 \cdot \ 110.97 } ) = 26^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 34^\circ 18'23" - 26^\circ = 119^\circ 41'37"$

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 = \dfrac{ T }{ s } = \dfrac{ 1751.27 }{ 119.49 } = 14.66$

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 = \dfrac{ a b c }{ 4 \ r s } = \dfrac{ 72 \cdot \ 56 \cdot \ 110.97 }{ 4 \cdot \ 14.657 \cdot \ 119.486 } = 63.87$

### 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.

$m_a = \dfrac{ \sqrt{ 2b^2+2c^2 - a^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 56^2+2 \cdot \ 110.97^2 - 72^2 } }{ 2 } = 80.183 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 110.97^2+2 \cdot \ 72^2 - 56^2 } }{ 2 } = 89.248 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 72^2+2 \cdot \ 56^2 - 110.97^2 } }{ 2 } = 32.884$

### #2 Obtuse scalene triangle.

Sides: a = 72   b = 56   c = 18.45552580209

Area: T = 291.2499094424
Perimeter: p = 146.4555258021
Semiperimeter: s = 73.22876290104

Angle ∠ A = α = 145.6933480392° = 145°41'37″ = 2.54328309315 rad
Angle ∠ B = β = 26° = 0.45437856055 rad
Angle ∠ C = γ = 8.30765196075° = 8°18'23″ = 0.14549761165 rad

Height: ha = 8.09902526229
Height: hb = 10.40217533723
Height: hc = 31.56327225688

Median: ma = 21.03108885763
Median: mb = 44.47880650918
Median: mc = 63.8354558531

Vertex coordinates: A[18.45552580209; 0] B[0; 0] C[64.71331713335; 31.56327225688]
Centroid: CG[27.72328097848; 10.52109075229]
Coordinates of the circumscribed circle: U[9.22876290104; 63.20327499686]
Coordinates of the inscribed circle: I[17.22876290104; 3.9777311547]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 34.30765196075° = 34°18'23″ = 2.54328309315 rad
∠ B' = β' = 154° = 0.45437856055 rad
∠ C' = γ' = 171.6933480392° = 171°41'37″ = 0.14549761165 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

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 = 72 \ \\ b = 56 \ \\ c = 18.46$

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

$p = a+b+c = 72+56+18.46 = 146.46$

### 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 = \dfrac{ p }{ 2 } = \dfrac{ 146.46 }{ 2 } = 73.23$

### 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 = \sqrt{ s(s-a)(s-b)(s-c) } \ \\ T = \sqrt{ 73.23(73.23-72)(73.23-56)(73.23-18.46) } \ \\ T = \sqrt{ 84826.04 } = 291.25$

### 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 = \dfrac{ a h _a }{ 2 } \ \\ \ \\ h _a = \dfrac{ 2 \ T }{ a } = \dfrac{ 2 \cdot \ 291.25 }{ 72 } = 8.09 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 291.25 }{ 56 } = 10.4 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 291.25 }{ 18.46 } = 31.56$

### 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.

$a^2 = b^2+c^2 - 2bc \cos α \ \\ \ \\ α = \arccos(\dfrac{ b^2+c^2-a^2 }{ 2bc } ) = \arccos(\dfrac{ 56^2+18.46^2-72^2 }{ 2 \cdot \ 56 \cdot \ 18.46 } ) = 145^\circ 41'37" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 72^2+18.46^2-56^2 }{ 2 \cdot \ 72 \cdot \ 18.46 } ) = 26^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 145^\circ 41'37" - 26^\circ = 8^\circ 18'23"$

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 = \dfrac{ T }{ s } = \dfrac{ 291.25 }{ 73.23 } = 3.98$

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 = \dfrac{ a b c }{ 4 \ r s } = \dfrac{ 72 \cdot \ 56 \cdot \ 18.46 }{ 4 \cdot \ 3.977 \cdot \ 73.228 } = 63.87$

### 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.

$m_a = \dfrac{ \sqrt{ 2b^2+2c^2 - a^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 56^2+2 \cdot \ 18.46^2 - 72^2 } }{ 2 } = 21.031 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 18.46^2+2 \cdot \ 72^2 - 56^2 } }{ 2 } = 44.478 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 72^2+2 \cdot \ 56^2 - 18.46^2 } }{ 2 } = 63.835$