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 median ma and median mb.

Right scalene triangle.

Sides: a = 19.14985421551   b = 11.54770053838   c = 22.3610679775

Area: T = 110.55441596785
Perimeter: p = 53.05662273139
Semiperimeter: s = 26.5288113657

Angle ∠ A = α = 58.90990696423° = 58°54'33″ = 1.02881572245 rad
Angle ∠ B = β = 31.09109303577° = 31°5'27″ = 0.54326391022 rad
Angle ∠ C = γ = 90° = 1.57107963268 rad

Height: ha = 11.54770053838
Height: hb = 19.14985421551
Height: hc = 9.88882646495

Median: ma = 15
Median: mb = 20
Median: mc = 11.18803398875

Line segment ca = 5.963284794
Line segment cb = 16.3987831835

Inradius: r = 4.1677433882
Circumradius: R = 11.18803398875

Vertex coordinates: A[22.3610679775; 0] B[0; 0] C[16.3987831835; 9.88882646495]
Centroid: CG[12.921950387; 3.29660882165]
Coordinates of the circumscribed circle: U[11.18803398875; -0]
Coordinates of the inscribed circle: I[14.98111082732; 4.1677433882]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 121.09109303577° = 121°5'27″ = 1.02881572245 rad
∠ B' = β' = 148.90990696423° = 148°54'33″ = 0.54326391022 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: median ma and median mb

2. From the median ma and median mb, we calculate a,b - Pythagorean theorem:

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


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.

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

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

6. The triangle area - from two legs

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

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

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

10. 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=222.36=11.18

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


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.