Triangle calculator

Please enter what you know about the triangle:
Symbols definition of ABC triangle

You have entered side a, c and angle α.

Triangle has two solutions: a=700; b=100.0769671742; c=800 and a=700; b=1498.956565149; c=800.

#1 Obtuse scalene triangle.

Sides: a = 700   b = 100.0769671742   c = 800

Area: T = 1396.952247159
Perimeter: p = 1600.076967174
Semiperimeter: s = 800.0354835871

Angle ∠ A = α = 2° = 0.0354906585 rad
Angle ∠ B = β = 0.28658564745° = 0°17'9″ = 0.00549891367 rad
Angle ∠ C = γ = 177.7144143526° = 177°42'51″ = 3.10216969319 rad

Height: ha = 3.9911292776
Height: hb = 27.9219597362
Height: hc = 3.4922381179

Median: ma = 450.0087743935
Median: mb = 749.9987676796
Median: mc = 300.0121615777

Inradius: r = 1.74661145552
Circumradius: R = 10028.79879218

Vertex coordinates: A[800; 0] B[0; 0] C[699.9911287998; 3.4922381179]
Centroid: CG[499.9977096; 1.16441270597]
Coordinates of the circumscribed circle: U[400; -10020.81877189]
Coordinates of the inscribed circle: I[699.9655164129; 1.74661145552]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 178° = 0.0354906585 rad
∠ B' = β' = 179.7144143526° = 179°42'51″ = 0.00549891367 rad
∠ C' = γ' = 2.28658564745° = 2°17'9″ = 3.10216969319 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. Input data entered: side a, c and angle α.

a=700 c=800 α=2a = 700 \ \\ c = 800 \ \\ α = 2^\circ

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

a2=c2+b22cbcosα  7002=8002+b22 800 b cos2   b21599.025b+150000=0  p=1;q=1599.025;r=150000 D=q24pr=1599.025241150000=1956881.98433 D>0  b1,2=q±D2p=1599.03±1956881.982 b1,2=799.51266162±699.442989873 b1=1498.95565149 b2=100.069671742   Factored form of the equation:  (b1498.95565149)(b100.069671742)=0   b>0  b=1498.956a^2 = c^2 + b^2 - 2c b \cos α \ \\ \ \\ 700^2 = 800^2 + b^2 - 2 \cdot \ 800 \cdot \ b \cdot \ \cos 2^\circ \ \\ \ \\ \ \\ b^2 -1599.025b +150000 =0 \ \\ \ \\ p=1; q=-1599.025; r=150000 \ \\ D = q^2 - 4pr = 1599.025^2 - 4\cdot 1 \cdot 150000 = 1956881.98433 \ \\ D>0 \ \\ \ \\ b_{1,2} = \dfrac{ -q \pm \sqrt{ D } }{ 2p } = \dfrac{ 1599.03 \pm \sqrt{ 1956881.98 } }{ 2 } \ \\ b_{1,2} = 799.51266162 \pm 699.442989873 \ \\ b_{1} = 1498.95565149 \ \\ b_{2} = 100.069671742 \ \\ \ \\ \text{ Factored form of the equation: } \ \\ (b -1498.95565149) (b -100.069671742) = 0 \ \\ \ \\ \ \\ b > 0 \ \\ \ \\ b = 1498.956

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=700 b=100.07 c=800a = 700 \ \\ b = 100.07 \ \\ c = 800

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

p=a+b+c=700+100.07+800=1600.07p = a+b+c = 700+100.07+800 = 1600.07

4. 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=p2=1600.072=800.03s = \dfrac{ p }{ 2 } = \dfrac{ 1600.07 }{ 2 } = 800.03

5. 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=s(sa)(sb)(sc) T=800.03(800.03700)(800.03100.07)(800.03800) T=1951476.21=1396.95T = \sqrt{ s(s-a)(s-b)(s-c) } \ \\ T = \sqrt{ 800.03(800.03-700)(800.03-100.07)(800.03-800) } \ \\ T = \sqrt{ 1951476.21 } = 1396.95

6. 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=aha2  ha=2 Ta=2 1396.95700=3.99 hb=2 Tb=2 1396.95100.07=27.92 hc=2 Tc=2 1396.95800=3.49T = \dfrac{ a h _a }{ 2 } \ \\ \ \\ h _a = \dfrac{ 2 \ T }{ a } = \dfrac{ 2 \cdot \ 1396.95 }{ 700 } = 3.99 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 1396.95 }{ 100.07 } = 27.92 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 1396.95 }{ 800 } = 3.49

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

a2=b2+c22bccosα  α=arccos(b2+c2a22bc)=arccos(100.072+800270022 100.07 800)=2  b2=a2+c22accosβ β=arccos(a2+c2b22ac)=arccos(7002+8002100.0722 700 800)=0179" γ=180αβ=18020179"=1774251"a^2 = b^2+c^2 - 2bc \cos α \ \\ \ \\ α = \arccos(\dfrac{ b^2+c^2-a^2 }{ 2bc } ) = \arccos(\dfrac{ 100.07^2+800^2-700^2 }{ 2 \cdot \ 100.07 \cdot \ 800 } ) = 2^\circ \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 700^2+800^2-100.07^2 }{ 2 \cdot \ 700 \cdot \ 800 } ) = 0^\circ 17'9" \ \\ γ = 180^\circ - α - β = 180^\circ - 2^\circ - 0^\circ 17'9" = 177^\circ 42'51"

8. Inradius

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=Ts=1396.95800.03=1.75T = rs \ \\ r = \dfrac{ T }{ s } = \dfrac{ 1396.95 }{ 800.03 } = 1.75

9. Circumradius

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=abc4 rs=700 100.07 8004 1.746 800.035=10028.8R = \dfrac{ a b c }{ 4 \ r s } = \dfrac{ 700 \cdot \ 100.07 \cdot \ 800 }{ 4 \cdot \ 1.746 \cdot \ 800.035 } = 10028.8

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

ma=2b2+2c2a22=2 100.072+2 800270022=450.008 mb=2c2+2a2b22=2 8002+2 7002100.0722=749.998 mc=2a2+2b2c22=2 7002+2 100.07280022=300.012m_a = \dfrac{ \sqrt{ 2b^2+2c^2 - a^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 100.07^2+2 \cdot \ 800^2 - 700^2 } }{ 2 } = 450.008 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 800^2+2 \cdot \ 700^2 - 100.07^2 } }{ 2 } = 749.998 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 700^2+2 \cdot \ 100.07^2 - 800^2 } }{ 2 } = 300.012


#2 Obtuse scalene triangle.

Sides: a = 700   b = 1498.956565149   c = 800

Area: T = 20925.11991265
Perimeter: p = 2998.956565149
Semiperimeter: s = 1499.478782574

Angle ∠ A = α = 2° = 0.0354906585 rad
Angle ∠ B = β = 175.7144143526° = 175°42'51″ = 3.06767903468 rad
Angle ∠ C = γ = 2.28658564745° = 2°17'9″ = 0.04398957217 rad

Height: ha = 59.78660546472
Height: hb = 27.9219597362
Height: hc = 52.31327978163

Median: ma = 1149.319893857
Median: mb = 57.29773709474
Median: mc = 1099.288796162

Inradius: r = 13.9554937357
Circumradius: R = 10028.79879217

Vertex coordinates: A[800; 0] B[0; 0] C[-698.0432528206; 52.31327978163]
Centroid: CG[33.98658239312; 17.43875992721]
Coordinates of the circumscribed circle: U[400; 10020.81877189]
Coordinates of the inscribed circle: I[0.52221742556; 13.9554937357]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 178° = 0.0354906585 rad
∠ B' = β' = 4.28658564745° = 4°17'9″ = 3.06767903468 rad
∠ C' = γ' = 177.7144143526° = 177°42'51″ = 0.04398957217 rad

Calculate another triangle

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. Input data entered: side a, c and angle α.

a=700 c=800 α=2a = 700 \ \\ c = 800 \ \\ α = 2^\circ

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

a2=c2+b22cbcosα  7002=8002+b22 800 b cos2   b21599.025b+150000=0  p=1;q=1599.025;r=150000 D=q24pr=1599.025241150000=1956881.98433 D>0  b1,2=q±D2p=1599.03±1956881.982 b1,2=799.51266162±699.442989873 b1=1498.95565149 b2=100.069671742   Factored form of the equation:  (b1498.95565149)(b100.069671742)=0   b>0  b=1498.956a^2 = c^2 + b^2 - 2c b \cos α \ \\ \ \\ 700^2 = 800^2 + b^2 - 2 \cdot \ 800 \cdot \ b \cdot \ \cos 2^\circ \ \\ \ \\ \ \\ b^2 -1599.025b +150000 =0 \ \\ \ \\ p=1; q=-1599.025; r=150000 \ \\ D = q^2 - 4pr = 1599.025^2 - 4\cdot 1 \cdot 150000 = 1956881.98433 \ \\ D>0 \ \\ \ \\ b_{1,2} = \dfrac{ -q \pm \sqrt{ D } }{ 2p } = \dfrac{ 1599.03 \pm \sqrt{ 1956881.98 } }{ 2 } \ \\ b_{1,2} = 799.51266162 \pm 699.442989873 \ \\ b_{1} = 1498.95565149 \ \\ b_{2} = 100.069671742 \ \\ \ \\ \text{ Factored form of the equation: } \ \\ (b -1498.95565149) (b -100.069671742) = 0 \ \\ \ \\ \ \\ b > 0 \ \\ \ \\ b = 1498.956

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=700 b=1498.96 c=800a = 700 \ \\ b = 1498.96 \ \\ c = 800

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

p=a+b+c=700+1498.96+800=2998.96p = a+b+c = 700+1498.96+800 = 2998.96

4. 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=p2=2998.962=1499.48s = \dfrac{ p }{ 2 } = \dfrac{ 2998.96 }{ 2 } = 1499.48

5. 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=s(sa)(sb)(sc) T=1499.48(1499.48700)(1499.481498.96)(1499.48800) T=437860610.46=20925.12T = \sqrt{ s(s-a)(s-b)(s-c) } \ \\ T = \sqrt{ 1499.48(1499.48-700)(1499.48-1498.96)(1499.48-800) } \ \\ T = \sqrt{ 437860610.46 } = 20925.12

6. 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=aha2  ha=2 Ta=2 20925.12700=59.79 hb=2 Tb=2 20925.121498.96=27.92 hc=2 Tc=2 20925.12800=52.31T = \dfrac{ a h _a }{ 2 } \ \\ \ \\ h _a = \dfrac{ 2 \ T }{ a } = \dfrac{ 2 \cdot \ 20925.12 }{ 700 } = 59.79 \ \\ h _b = \dfrac{ 2 \ T }{ b } = \dfrac{ 2 \cdot \ 20925.12 }{ 1498.96 } = 27.92 \ \\ h _c = \dfrac{ 2 \ T }{ c } = \dfrac{ 2 \cdot \ 20925.12 }{ 800 } = 52.31

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

a2=b2+c22bccosα  α=arccos(b2+c2a22bc)=arccos(1498.962+800270022 1498.96 800)=2  b2=a2+c22accosβ β=arccos(a2+c2b22ac)=arccos(7002+80021498.9622 700 800)=1754251" γ=180αβ=18021754251"=2179"a^2 = b^2+c^2 - 2bc \cos α \ \\ \ \\ α = \arccos(\dfrac{ b^2+c^2-a^2 }{ 2bc } ) = \arccos(\dfrac{ 1498.96^2+800^2-700^2 }{ 2 \cdot \ 1498.96 \cdot \ 800 } ) = 2^\circ \ \\ \ \\ b^2 = a^2+c^2 - 2ac \cos β \ \\ β = \arccos(\dfrac{ a^2+c^2-b^2 }{ 2ac } ) = \arccos(\dfrac{ 700^2+800^2-1498.96^2 }{ 2 \cdot \ 700 \cdot \ 800 } ) = 175^\circ 42'51" \ \\ γ = 180^\circ - α - β = 180^\circ - 2^\circ - 175^\circ 42'51" = 2^\circ 17'9"

8. Inradius

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=Ts=20925.121499.48=13.95T = rs \ \\ r = \dfrac{ T }{ s } = \dfrac{ 20925.12 }{ 1499.48 } = 13.95

9. Circumradius

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=abc4 rs=700 1498.96 8004 13.955 1499.478=10028.8R = \dfrac{ a b c }{ 4 \ r s } = \dfrac{ 700 \cdot \ 1498.96 \cdot \ 800 }{ 4 \cdot \ 13.955 \cdot \ 1499.478 } = 10028.8

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

ma=2b2+2c2a22=2 1498.962+2 800270022=1149.319 mb=2c2+2a2b22=2 8002+2 70021498.9622=57.297 mc=2a2+2b2c22=2 7002+2 1498.96280022=1099.288m_a = \dfrac{ \sqrt{ 2b^2+2c^2 - a^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 1498.96^2+2 \cdot \ 800^2 - 700^2 } }{ 2 } = 1149.319 \ \\ m_b = \dfrac{ \sqrt{ 2c^2+2a^2 - b^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 800^2+2 \cdot \ 700^2 - 1498.96^2 } }{ 2 } = 57.297 \ \\ m_c = \dfrac{ \sqrt{ 2a^2+2b^2 - c^2 } }{ 2 } = \dfrac{ \sqrt{ 2 \cdot \ 700^2+2 \cdot \ 1498.96^2 - 800^2 } }{ 2 } = 1099.288

Calculate another triangle

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

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