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=3.31112488771; b=18.7; c=16.1 and a=27.32550375794; b=18.7; c=16.1.

#1 Obtuse scalene triangle.

Sides: a = 3.31112488771   b = 18.7   c = 16.1

Area: T = 17.75880279927
Perimeter: p = 38.11112488771
Semiperimeter: s = 19.05656244385

Angle ∠ A = α = 6.77547353587° = 6°46'29″ = 0.1188241438 rad
Angle ∠ B = β = 138.2255264641° = 138°13'31″ = 2.41224859774 rad
Angle ∠ C = γ = 35° = 0.61108652382 rad

Height: ha = 10.72658793598
Height: hb = 1.89992543308
Height: hc = 2.20659662103

Median: ma = 17.37697699386
Median: mb = 6.90439615123
Median: mc = 10.74882409985

Inradius: r = 0.93219048058
Circumradius: R = 14.03547467047

Vertex coordinates: A[16.1; 0] B[0; 0] C[-2.46994295303; 2.20659662103]
Centroid: CG[4.54435234899; 0.73553220701]
Coordinates of the circumscribed circle: U[8.05; 11.49765914543]
Coordinates of the inscribed circle: I[0.35656244385; 0.93219048058]

Exterior(or external, outer) angles of the triangle:
∠ A' = α' = 173.2255264641° = 173°13'31″ = 0.1188241438 rad
∠ B' = β' = 41.77547353587° = 41°46'29″ = 2.41224859774 rad
∠ C' = γ' = 145° = 0.61108652382 rad




How did we calculate this triangle?

1. Input data entered: side b, c and angle γ.

b = 18.7 ; ; c = 16.1 ; ; gamma = 35° ; ;

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

c**2 = b**2 + a**2 - 2b a cos gamma ; ; ; ; 16.1**2 = 18.7**2 + a**2 - 2 * 18.7 * a * cos(35° ) ; ; ; ; ; ; a**2 -30.636a +90.48 =0 ; ; a=1; b=-30.636; c=90.48 ; ; D = b**2 - 4ac = 30.636**2 - 4 * 1 * 90.48 = 576.662047839 ; ; D>0 ; ; ; ; a_{1,2} = fraction{ -b ± sqrt{ D } }{ 2a } = fraction{ 30.64 ± sqrt{ 576.66 } }{ 2 } ; ; a_{1,2} = 15.31814323 ± 12.0068943512 ; ; a_{1} = 27.3250375812 ; ; a_{2} = 3.31124887885 ; ;
 ; ; (a -27.3250375812) (a -3.31124887885) = 0 ; ; ; ; a > 0 ; ; ; ; a = 27.325 ; ;


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 = 3.31 ; ; b = 18.7 ; ; c = 16.1 ; ;

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

p = a+b+c = 3.31+18.7+16.1 = 38.11 ; ;

4. Semiperimeter of the triangle

s = fraction{ o }{ 2 } = fraction{ 38.11 }{ 2 } = 19.06 ; ;

5. The triangle area using Heron's formula

T = sqrt{ s(s-a)(s-b)(s-c) } ; ; T = sqrt{ 19.06 * (19.06-3.31)(19.06-18.7)(19.06-16.1) } ; ; T = sqrt{ 315.35 } = 17.76 ; ;

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

T = fraction{ a h _a }{ 2 } ; ; h _a = fraction{ 2 T }{ a } = fraction{ 2 * 17.76 }{ 3.31 } = 10.73 ; ; h _b = fraction{ 2 T }{ b } = fraction{ 2 * 17.76 }{ 18.7 } = 1.9 ; ; h _c = fraction{ 2 T }{ c } = fraction{ 2 * 17.76 }{ 16.1 } = 2.21 ; ;

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

a**2 = b**2+c**2 - 2bc cos( alpha ) ; ; alpha = arccos( fraction{ a**2-b**2-c**2 }{ 2bc } ) = arccos( fraction{ 3.31**2-18.7**2-16.1**2 }{ 2 * 18.7 * 16.1 } ) = 6° 46'29" ; ; beta = arccos( fraction{ b**2-a**2-c**2 }{ 2ac } ) = arccos( fraction{ 18.7**2-3.31**2-16.1**2 }{ 2 * 3.31 * 16.1 } ) = 138° 13'31" ; ; gamma = arccos( fraction{ c**2-a**2-b**2 }{ 2ba } ) = arccos( fraction{ 16.1**2-3.31**2-18.7**2 }{ 2 * 18.7 * 3.31 } ) = 35° ; ;

8. Inradius

T = rs ; ; r = fraction{ T }{ s } = fraction{ 17.76 }{ 19.06 } = 0.93 ; ;

9. Circumradius

R = fraction{ a }{ 2 * sin( alpha ) } = fraction{ 3.31 }{ 2 * sin 6° 46'29" } = 14.03 ; ;





#2 Obtuse scalene triangle.

Sides: a = 27.32550375794   b = 18.7   c = 16.1

Area: T = 146.5432528289
Perimeter: p = 62.12550375794
Semiperimeter: s = 31.06325187897

Angle ∠ A = α = 103.2255264641° = 103°13'31″ = 1.80216207392 rad
Angle ∠ B = β = 41.77547353587° = 41°46'29″ = 0.72991066762 rad
Angle ∠ C = γ = 35° = 0.61108652382 rad

Height: ha = 10.72658793598
Height: hb = 15.67329976779
Height: hc = 18.20440407812

Median: ma = 10.8532906538
Median: mb = 20.38440952548
Median: mc = 21.98657076156

Inradius: r = 4.7187664053
Circumradius: R = 14.03547467047

Vertex coordinates: A[16.1; 0] B[0; 0] C[20.37881887799; 18.20440407812]
Centroid: CG[12.159939626; 6.06880135937]
Coordinates of the circumscribed circle: U[8.05; 11.49765914543]
Coordinates of the inscribed circle: I[12.36325187897; 4.7187664053]

Exterior(or external, outer) angles of the triangle:
∠ A' = α' = 76.77547353587° = 76°46'29″ = 1.80216207392 rad
∠ B' = β' = 138.2255264641° = 138°13'31″ = 0.72991066762 rad
∠ C' = γ' = 145° = 0.61108652382 rad

Calculate another triangle

How did we calculate this triangle?

1. Input data entered: side b, c and angle γ.

b = 18.7 ; ; c = 16.1 ; ; gamma = 35° ; ; : Nr. 1

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

c**2 = b**2 + a**2 - 2b a cos gamma ; ; ; ; 16.1**2 = 18.7**2 + a**2 - 2 * 18.7 * a * cos(35° ) ; ; ; ; ; ; a**2 -30.636a +90.48 =0 ; ; a=1; b=-30.636; c=90.48 ; ; D = b**2 - 4ac = 30.636**2 - 4 * 1 * 90.48 = 576.662047839 ; ; D>0 ; ; ; ; a_{1,2} = fraction{ -b ± sqrt{ D } }{ 2a } = fraction{ 30.64 ± sqrt{ 576.66 } }{ 2 } ; ; a_{1,2} = 15.31814323 ± 12.0068943512 ; ; a_{1} = 27.3250375812 ; ; a_{2} = 3.31124887885 ; ; : Nr. 1
 ; ; (a -27.3250375812) (a -3.31124887885) = 0 ; ; ; ; a > 0 ; ; ; ; a = 27.325 ; ; : Nr. 1


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 = 27.33 ; ; b = 18.7 ; ; c = 16.1 ; ;

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

p = a+b+c = 27.33+18.7+16.1 = 62.13 ; ;

4. Semiperimeter of the triangle

s = fraction{ o }{ 2 } = fraction{ 62.13 }{ 2 } = 31.06 ; ;

5. The triangle area using Heron's formula

T = sqrt{ s(s-a)(s-b)(s-c) } ; ; T = sqrt{ 31.06 * (31.06-27.33)(31.06-18.7)(31.06-16.1) } ; ; T = sqrt{ 21474.71 } = 146.54 ; ;

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

T = fraction{ a h _a }{ 2 } ; ; h _a = fraction{ 2 T }{ a } = fraction{ 2 * 146.54 }{ 27.33 } = 10.73 ; ; h _b = fraction{ 2 T }{ b } = fraction{ 2 * 146.54 }{ 18.7 } = 15.67 ; ; h _c = fraction{ 2 T }{ c } = fraction{ 2 * 146.54 }{ 16.1 } = 18.2 ; ;

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

a**2 = b**2+c**2 - 2bc cos( alpha ) ; ; alpha = arccos( fraction{ a**2-b**2-c**2 }{ 2bc } ) = arccos( fraction{ 27.33**2-18.7**2-16.1**2 }{ 2 * 18.7 * 16.1 } ) = 103° 13'31" ; ; beta = arccos( fraction{ b**2-a**2-c**2 }{ 2ac } ) = arccos( fraction{ 18.7**2-27.33**2-16.1**2 }{ 2 * 27.33 * 16.1 } ) = 41° 46'29" ; ; gamma = arccos( fraction{ c**2-a**2-b**2 }{ 2ba } ) = arccos( fraction{ 16.1**2-27.33**2-18.7**2 }{ 2 * 18.7 * 27.33 } ) = 35° ; ;

8. Inradius

T = rs ; ; r = fraction{ T }{ s } = fraction{ 146.54 }{ 31.06 } = 4.72 ; ;

9. Circumradius

R = fraction{ a }{ 2 * sin( alpha ) } = fraction{ 27.33 }{ 2 * sin 103° 13'31" } = 14.03 ; ;




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

See more informations about triangles or more information about solving triangles.