Triangle calculator VC

Please enter the coordinates of the three vertices


Right scalene triangle.

Sides: a = 15.65224758425   b = 73.24661603089   c = 71.554417528

Area: T = 560
Perimeter: p = 160.4532811431
Semiperimeter: s = 80.22664057157

Angle ∠ A = α = 12.33990872783° = 12°20'21″ = 0.21553576997 rad
Angle ∠ B = β = 90° = 1.57107963268 rad
Angle ∠ C = γ = 77.66109127217° = 77°39'39″ = 1.35554386271 rad

Height: ha = 71.554417528
Height: hb = 15.29109039228
Height: hc = 15.65224758425

Median: ma = 71.98109002444
Median: mb = 36.62330801545
Median: mc = 39.05112483795

Inradius: r = 6.98802454068
Circumradius: R = 36.62330801545

Vertex coordinates: A[-12; -19] B[20; 45] C[6; 52]
Centroid: CG[4.66766666667; 26]
Coordinates of the circumscribed circle: U[0; 0]
Coordinates of the inscribed circle: I[-0; 6.98802454068]

Exterior(or external, outer) angles of the triangle:
∠ A' = α' = 167.6610912722° = 167°39'39″ = 0.21553576997 rad
∠ B' = β' = 90° = 1.57107963268 rad
∠ C' = γ' = 102.3399087278° = 102°20'21″ = 1.35554386271 rad

Calculate another triangle




How did we calculate this triangle?

1. We compute side a from coordinates using the Pythagorean theorem

a = | beta gamma | = | beta - gamma | ; ; a**2 = ( beta _x- gamma _x)**2 + ( beta _y- gamma _y)**2 ; ; a = sqrt{ ( beta _x- gamma _x)**2 + ( beta _y- gamma _y)**2 } ; ; a = sqrt{ (20-6)**2 + (45-52)**2 } ; ; a = sqrt{ 245 } = 15.65 ; ;

2. We compute side b from coordinates using the Pythagorean theorem

b = | alpha gamma | = | alpha - gamma | ; ; b**2 = ( alpha _x- gamma _x)**2 + ( alpha _y- gamma _y)**2 ; ; b = sqrt{ ( alpha _x- gamma _x)**2 + ( alpha _y- gamma _y)**2 } ; ; b = sqrt{ (-12-6)**2 + (-19-52)**2 } ; ; b = sqrt{ 5365 } = 73.25 ; ;

3. We compute side c from coordinates using the Pythagorean theorem

c = | alpha beta | = | alpha - beta | ; ; c**2 = ( alpha _x- beta _x)**2 + ( alpha _y- beta _y)**2 ; ; c = sqrt{ ( alpha _x- beta _x)**2 + ( alpha _y- beta _y)**2 } ; ; c = sqrt{ (-12-20)**2 + (-19-45)**2 } ; ; c = sqrt{ 5120 } = 71.55 ; ;


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 = 15.65 ; ; b = 73.25 ; ; c = 71.55 ; ;

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

p = a+b+c = 15.65+73.25+71.55 = 160.45 ; ;

5. Semiperimeter of the triangle

s = fraction{ o }{ 2 } = fraction{ 160.45 }{ 2 } = 80.23 ; ;

6. The triangle area using Heron's formula

T = sqrt{ s(s-a)(s-b)(s-c) } ; ; T = sqrt{ 80.23 * (80.23-15.65)(80.23-73.25)(80.23-71.55) } ; ; T = sqrt{ 313600 } = 560 ; ;

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

T = fraction{ a h _a }{ 2 } ; ; h _a = fraction{ 2 T }{ a } = fraction{ 2 * 560 }{ 15.65 } = 71.55 ; ; h _b = fraction{ 2 T }{ b } = fraction{ 2 * 560 }{ 73.25 } = 15.29 ; ; h _c = fraction{ 2 T }{ c } = fraction{ 2 * 560 }{ 71.55 } = 15.65 ; ;

8. 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{ 15.65**2-73.25**2-71.55**2 }{ 2 * 73.25 * 71.55 } ) = 12° 20'21" ; ; beta = arccos( fraction{ b**2-a**2-c**2 }{ 2ac } ) = arccos( fraction{ 73.25**2-15.65**2-71.55**2 }{ 2 * 15.65 * 71.55 } ) = 90° ; ; gamma = arccos( fraction{ c**2-a**2-b**2 }{ 2ba } ) = arccos( fraction{ 71.55**2-15.65**2-73.25**2 }{ 2 * 73.25 * 15.65 } ) = 77° 39'39" ; ;

9. Inradius

T = rs ; ; r = fraction{ T }{ s } = fraction{ 560 }{ 80.23 } = 6.98 ; ;

10. Circumradius

R = fraction{ a }{ 2 * sin( alpha ) } = fraction{ 15.65 }{ 2 * sin 12° 20'21" } = 36.62 ; ;




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

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