# Triangle calculator SSA

Please enter two sides and a non-included angle
°

Triangle has two solutions with side c=45.39663754419 and with side c=38.85877277994

### #1 Acute scalene triangle.

Sides: a = 70   b = 56   c = 45.39663754419

Area: T = 1268.931051094
Perimeter: p = 171.3966375442
Semiperimeter: s = 85.6988187721

Angle ∠ A = α = 86.65331245162° = 86°39'11″ = 1.51223823299 rad
Angle ∠ B = β = 53° = 0.92550245036 rad
Angle ∠ C = γ = 40.34768754838° = 40°20'49″ = 0.70441858201 rad

Height: ha = 36.25551574554
Height: hb = 45.31989468192
Height: hc = 55.90444857033

Median: ma = 37.06596202305
Median: mb = 51.92770204386
Median: mc = 59.18443921502

Vertex coordinates: A[45.39663754419; 0] B[0; 0] C[42.12770516206; 55.90444857033]
Centroid: CG[29.17444756875; 18.63548285678]
Coordinates of the circumscribed circle: U[22.6988187721; 26.72204367483]
Coordinates of the inscribed circle: I[29.6988187721; 14.80769701902]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 93.34768754838° = 93°20'49″ = 1.51223823299 rad
∠ B' = β' = 127° = 0.92550245036 rad
∠ C' = γ' = 139.6533124516° = 139°39'11″ = 0.70441858201 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 = 70 \ \\ b = 56 \ \\ c = 45.4$

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

$p = a+b+c = 70+56+45.4 = 171.4$

### 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{ 171.4 }{ 2 } = 85.7$

### 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{ 85.7(85.7-70)(85.7-56)(85.7-45.4) } \ \\ T = \sqrt{ 1610184.64 } = 1268.93$

### 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 \ 1268.93 }{ 70 } = 36.26 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 1268.93 }{ 56 } = 45.32 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 1268.93 }{ 45.4 } = 55.9$

### 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+45.4^2-70^2 }{ 2 \cdot \ 56 \cdot \ 45.4 } ) = 86^\circ 39'11" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 70^2+45.4^2-56^2 }{ 2 \cdot \ 70 \cdot \ 45.4 } ) = 53^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 86^\circ 39'11" - 53^\circ = 40^\circ 20'49"$

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{ 1268.93 }{ 85.7 } = 14.81$

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{ 70 \cdot \ 56 \cdot \ 45.4 }{ 4 \cdot \ 14.807 \cdot \ 85.698 } = 35.06$

### 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 \ 45.4^2 - 70^2 } }{ 2 } = 37.06 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 45.4^2+2 \cdot \ 70^2 - 56^2 } }{ 2 } = 51.927 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 70^2+2 \cdot \ 56^2 - 45.4^2 } }{ 2 } = 59.184$

### #2 Obtuse scalene triangle.

Sides: a = 70   b = 56   c = 38.85877277994

Area: T = 1086.161064411
Perimeter: p = 164.8587727799
Semiperimeter: s = 82.42988638997

Angle ∠ A = α = 93.34768754838° = 93°20'49″ = 1.62992103236 rad
Angle ∠ B = β = 53° = 0.92550245036 rad
Angle ∠ C = γ = 33.65331245162° = 33°39'11″ = 0.58773578264 rad

Height: ha = 31.03331612603
Height: hb = 38.79114515754
Height: hc = 55.90444857033

Median: ma = 33.13655021822
Median: mb = 49.20332672174
Median: mc = 60.33767155849

Vertex coordinates: A[38.85877277994; 0] B[0; 0] C[42.12770516206; 55.90444857033]
Centroid: CG[26.99549264733; 18.63548285678]
Coordinates of the circumscribed circle: U[19.42988638997; 29.1844048955]
Coordinates of the inscribed circle: I[26.42988638997; 13.17769454621]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 86.65331245162° = 86°39'11″ = 1.62992103236 rad
∠ B' = β' = 127° = 0.92550245036 rad
∠ C' = γ' = 146.3476875484° = 146°20'49″ = 0.58773578264 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 = 70 \ \\ b = 56 \ \\ c = 38.86$

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

$p = a+b+c = 70+56+38.86 = 164.86$

### 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{ 164.86 }{ 2 } = 82.43$

### 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{ 82.43(82.43-70)(82.43-56)(82.43-38.86) } \ \\ T = \sqrt{ 1179744.94 } = 1086.16$

### 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 \ 1086.16 }{ 70 } = 31.03 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 1086.16 }{ 56 } = 38.79 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 1086.16 }{ 38.86 } = 55.9$

### 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+38.86^2-70^2 }{ 2 \cdot \ 56 \cdot \ 38.86 } ) = 93^\circ 20'49" \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 70^2+38.86^2-56^2 }{ 2 \cdot \ 70 \cdot \ 38.86 } ) = 53^\circ \ \\ γ = 180^\circ - α - β = 180^\circ - 93^\circ 20'49" - 53^\circ = 33^\circ 39'11"$

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{ 1086.16 }{ 82.43 } = 13.18$

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{ 70 \cdot \ 56 \cdot \ 38.86 }{ 4 \cdot \ 13.177 \cdot \ 82.429 } = 35.06$

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