Triangle calculator VC

Please enter the coordinates of the three vertices


Right scalene triangle.

Sides: a = 6.70882039325   b = 7.07110678119   c = 2.23660679775

Area: T = 7.5
Perimeter: p = 16.01553397219
Semiperimeter: s = 8.00876698609

Angle ∠ A = α = 71.56550511771° = 71°33'54″ = 1.24990457724 rad
Angle ∠ B = β = 90° = 1.57107963268 rad
Angle ∠ C = γ = 18.43549488229° = 18°26'6″ = 0.32217505544 rad

Height: ha = 2.23660679775
Height: hb = 2.12113203436
Height: hc = 6.70882039325

Median: ma = 4.03111288741
Median: mb = 3.53655339059
Median: mc = 6.80107352544

Inradius: r = 0.93766020491
Circumradius: R = 3.53655339059

Vertex coordinates: A[4; 0] B[2; 1] C[-1; -5]
Centroid: CG[1.66766666667; -1.33333333333]
Coordinates of the circumscribed circle: U[0; 0]
Coordinates of the inscribed circle: I[-0; 0.93766020491]

Exterior(or external, outer) angles of the triangle:
∠ A' = α' = 108.4354948823° = 108°26'6″ = 1.24990457724 rad
∠ B' = β' = 90° = 1.57107963268 rad
∠ C' = γ' = 161.5655051177° = 161°33'54″ = 0.32217505544 rad

Calculate another triangle


How did we calculate this triangle?

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

a = |BC| = |B-C| ; ; a**2 = (B_x-C_x)**2 + (B_y-C_y)**2 ; ; a = sqrt{ (B_x-C_x)**2 + (B_y-C_y)**2 } ; ; a = sqrt{ (2-(-1))**2 + (1-(-5))**2 } ; ; a = sqrt{ 45 } = 6.71 ; ;

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

b = |AC| = |A-C| ; ; b**2 = (A_x-C_x)**2 + (A_y-C_y)**2 ; ; b = sqrt{ (A_x-C_x)**2 + (A_y-C_y)**2 } ; ; b = sqrt{ (4-(-1))**2 + (0-(-5))**2 } ; ; b = sqrt{ 50 } = 7.07 ; ;

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

c = |AB| = |A-B| ; ; c**2 = (A_x-B_x)**2 + (A_y-B_y)**2 ; ; c = sqrt{ (A_x-B_x)**2 + (A_y-B_y)**2 } ; ; c = sqrt{ (4-2)**2 + (0-1)**2 } ; ; c = sqrt{ 5 } = 2.24 ; ;
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 = 6.71 ; ; b = 7.07 ; ; c = 2.24 ; ;

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

p = a+b+c = 6.71+7.07+2.24 = 16.02 ; ;

5. Semiperimeter of the triangle

s = fraction{ o }{ 2 } = fraction{ 16.02 }{ 2 } = 8.01 ; ;

6. The triangle area using Heron's formula

T = sqrt{ s(s-a)(s-b)(s-c) } ; ; T = sqrt{ 8.01 * (8.01-6.71)(8.01-7.07)(8.01-2.24) } ; ; T = sqrt{ 56.25 } = 7.5 ; ;

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

T = fraction{ a h _a }{ 2 } ; ; h _a = fraction{ 2 T }{ a } = fraction{ 2 * 7.5 }{ 6.71 } = 2.24 ; ; h _b = fraction{ 2 T }{ b } = fraction{ 2 * 7.5 }{ 7.07 } = 2.12 ; ; h _c = fraction{ 2 T }{ c } = fraction{ 2 * 7.5 }{ 2.24 } = 6.71 ; ;

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{ b**2+c**2-a**2 }{ 2bc } ) = arccos( fraction{ 7.07**2+2.24**2-6.71**2 }{ 2 * 7.07 * 2.24 } ) = 71° 33'54" ; ; b**2 = a**2+c**2 - 2ac cos beta ; ; beta = arccos( fraction{ a**2+c**2-b**2 }{ 2ac } ) = arccos( fraction{ 6.71**2+2.24**2-7.07**2 }{ 2 * 6.71 * 2.24 } ) = 90° ; ;
 gamma = 180° - alpha - beta = 180° - 71° 33'54" - 90° = 18° 26'6" ; ;

9. Inradius

T = rs ; ; r = fraction{ T }{ s } = fraction{ 7.5 }{ 8.01 } = 0.94 ; ;

10. Circumradius

R = fraction{ a }{ 2 * sin alpha } = fraction{ 6.71 }{ 2 * sin 71° 33'54" } = 3.54 ; ;

11. Calculation of medians

m_a = fraction{ sqrt{ 2 b**2+2c**2 - a**2 } }{ 2 } = fraction{ sqrt{ 2 * 7.07**2+2 * 2.24**2 - 6.71**2 } }{ 2 } = 4.031 ; ; m_b = fraction{ sqrt{ 2 c**2+2a**2 - b**2 } }{ 2 } = fraction{ sqrt{ 2 * 2.24**2+2 * 6.71**2 - 7.07**2 } }{ 2 } = 3.536 ; ; m_c = fraction{ sqrt{ 2 b**2+2a**2 - c**2 } }{ 2 } = fraction{ sqrt{ 2 * 7.07**2+2 * 6.71**2 - 2.24**2 } }{ 2 } = 6.801 ; ;
Calculate another triangle


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

See more information about triangles or more details on solving triangles.