Right triangle calculator (a,b)

Please enter two properties of the right triangle

Use symbols: a, b, c, A, B, h, T, p, r, R


You have entered cathetus a and cathetus b.

Right scalene triangle.

The lengths of the sides of the triangle:
a = 30
b = 15
c = 33.54110196625

Area: T = 225
Perimeter: p = 78.54110196625
Semiperimeter: s = 39.27105098312

Angle ∠ A = α = 63.43549488229° = 63°26'6″ = 1.10771487178 rad
Angle ∠ B = β = 26.56550511771° = 26°33'54″ = 0.4643647609 rad
Angle ∠ C = γ = 90° = 1.57107963268 rad

Altitude (height) to the side a: ha = 15
Altitude (height) to the side b: hb = 30
Altitude (height) to the side c: hc = 13.4166407865

Median: ma = 21.21332034356
Median: mb = 30.92332921921
Median: mc = 16.77105098312

Line segment ca = 6.70882039325
Line segment cb = 26.833281573

Inradius: r = 5.72994901688
Circumradius: R = 16.77105098312

Vertex coordinates: A[33.54110196625; 0] B[0; 0] C[26.833281573; 13.4166407865]
Centroid: CG[20.12546117975; 4.4722135955]
Coordinates of the circumscribed circle: U[16.77105098312; 0]
Coordinates of the inscribed circle: I[24.27105098312; 5.72994901688]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 116.56550511771° = 116°33'54″ = 1.10771487178 rad
∠ B' = β' = 153.43549488229° = 153°26'6″ = 0.4643647609 rad
∠ C' = γ' = 90° = 1.57107963268 rad


Calculate another triangle

How did we calculate this triangle?

The calculation of the triangle has two phases. The first phase calculates all three sides of the triangle from the input parameters. The first phase is different for the different triangles query entered. The second phase calculates other triangle characteristics, 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: cathetus a and cathetus b

a=30 b=15

2. From the cathetus a and cathetus b, we calculate hypotenuse c - Pythagorean theorem:

c2=a2+b2 c=a2+b2=302+152=1125=33.541

We know the lengths of all three sides of the triangle, so the triangle is uniquely specified. Next, we calculate another of its characteristics - the same procedure for calculating the triangle from the known three sides SSS.
a=30 b=15 c=33.54

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

p=a+b+c=30+15+33.54=78.54

4. Semiperimeter of the triangle

The semiperimeter of the triangle is half its perimeter. The semiperimeter frequently appears in formulas for triangles to be given a separate name. By the triangle inequality, the longest side length of a triangle is less than the semiperimeter.

s=2p=278.54=39.27

5. The triangle area - from two legs

T=2ab=230 15=225

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

ha=b=15  hb=a=30  T=2chc   hc=c2 T=33.542 225=13.42

7. Calculation of the inner angles of the triangle - basic use of sine function

sinα=ca α=arcsin(ca)=arcsin(33.5430)=63°266" sinβ=cb β=arcsin(cb)=arcsin(33.5415)=26°3354" γ=90°

8. Inradius

An incircle of a triangle is a tangent circle to each side. An incircle center is called an 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 a triangle's inradius and semiperimeter (half the perimeter) is its area.

T=rs r=sT=39.27225=5.73

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. The circumcenter (center of the circumcircle) is the point where the perpendicular bisectors of a triangle intersect.

R=2c=233.54=16.77

10. Calculation of medians

A median of a triangle is a line segment joining a vertex to the opposite side's midpoint. 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 of 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 a median's length from its side's lengths.

ma2=b2+(a/2)2 ma=b2+(a/2)2=152+(30/2)2=21.213  mb2=a2+(b/2)2 mb=a2+(b/2)2=302+(15/2)2=30.923  mc=R=2c=233.54=16.771

Calculate another triangle

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

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