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.

The lengths of the sides of the triangle:
a = 8.24662112512
b = 22.6277416998
c = 24.08331891576

Area: T = 93.29552303175
Perimeter: p = 54.95768174068
Semiperimeter: s = 27.47884087034

Angle ∠ A = α = 20.02334849656° = 20°1'25″ = 0.34994757404 rad
Angle ∠ B = β = 69.97765150344° = 69°58'35″ = 1.22113205864 rad
Angle ∠ C = γ = 90° = 1.57107963268 rad

Altitude (height) to the side a: ha = 22.6277416998
Altitude (height) to the side b: hb = 8.24662112512
Altitude (height) to the side c: hc = 7.74877471698

Median: ma = 23
Median: mb = 14
Median: mc = 12.04215945788

Line segment ca = 21.26596428426
Line segment cb = 2.8243546315

Inradius: r = 3.39552195458
Circumradius: R = 12.04215945788

Vertex coordinates: A[24.08331891576; 0] B[0; 0] C[2.8243546315; 7.74877471698]
Centroid: CG[8.96989118242; 2.58325823899]
Coordinates of the circumscribed circle: U[12.04215945788; -0]
Coordinates of the inscribed circle: I[4.85109917054; 3.39552195458]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 159.97765150345° = 159°58'35″ = 0.34994757404 rad
∠ B' = β' = 110.02334849656° = 110°1'25″ = 1.22113205864 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.

s=2p=254.96=27.48

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=224.08=12.04

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.