# Right triangle calculator (a,p)

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

### Right scalene triangle.

Sides: a = 43   b = 26.49435064935   c = 50.50664935065

Area: T = 569.61103896104
Perimeter: p = 120
Semiperimeter: s = 60

Angle ∠ A = α = 58.3621612105° = 58°21'42″ = 1.0198602288 rad
Angle ∠ B = β = 31.6388387895° = 31°38'18″ = 0.55221940388 rad
Angle ∠ C = γ = 90° = 1.57107963268 rad

Height: ha = 26.49435064935
Height: hb = 43
Height: hc = 22.55659269735

Median: ma = 34.12197286965
Median: mb = 44.99441826415
Median: mc = 25.25332467532

Line segment ca = 13.89773394823
Line segment cb = 36.60991540242

Vertex coordinates: A[50.50664935065; 0] B[0; 0] C[36.60991540242; 22.55659269735]
Centroid: CG[29.03985491769; 7.51986423245]
Coordinates of the circumscribed circle: U[25.25332467532; 0]
Coordinates of the inscribed circle: I[33.50664935065; 9.49435064935]

Exterior (or external, outer) angles of the triangle:
∠ A' = α' = 121.6388387895° = 121°38'18″ = 1.0198602288 rad
∠ B' = β' = 148.3621612105° = 148°21'42″ = 0.55221940388 rad
∠ C' = γ' = 90° = 1.57107963268 rad

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

### 3. From the cathetus a, 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.

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

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

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 the inradius and semiperimeter (half the perimeter) of a triangle is its area.