# Right triangle calculator (b,p) - the result

*You have entered cathetus b, and perimeter p.*

### Right scalene triangle.

**Sides:**a = 4.5 b = 20 c = 20.5

**Area:**T = 45

**Perimeter:**p = 45

**Semiperimeter:**s = 22.5

**Angle**∠ A = α = 12.68803834918° = 12°40'49″ = 0.22113144423 rad

**Angle**∠ B = β = 77.32196165082° = 77°19'11″ = 1.34994818844 rad

**Angle**∠ C = γ = 90° = 1.57107963268 rad

**Height:**h

_{a}= 20

**Height:**h

_{b}= 4.5

**Height:**h

_{c}= 4.39902439024

**Median:**m

_{a}= 20.12661645626

**Median:**m

_{b}= 10.96658560997

**Median:**m

_{c}= 10.25

**Inradius:**r = 2

**Circumradius:**R = 10.25

**Vertex coordinates:**A[20.5; 0] B[0; 0] C[0.9887804878; 4.39902439024]

**Centroid:**CG[7.1632601626; 1.46334146341]

**Coordinates of the circumscribed circle:**U[10.25; -0]

**Coordinates of the inscribed circle:**I[2.5; 2]

**Exterior (or external, outer) angles of the triangle:**

∠ A' = α' = 167.3219616508° = 167°19'11″ = 0.22113144423 rad

∠ B' = β' = 102.6880383492° = 102°40'49″ = 1.34994818844 rad

∠ C' = γ' = 90° = 1.57107963268 rad

Calculate another triangle

# How did we calculate this triangle?

The calculation of the triangle progress in two phases. The first phase is to 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 calculates 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: cathetus b, and perimeter p

$b=20\text{}\phantom{\rule{0ex}{0ex}}p=45$

### 2. From cathetus b we calculate hypotenuse c - Pythagorean theorem:

$c^2 = a^2+b^2 \ \\ c = \sqrt{ a^2+b^2 } = \sqrt{ 4.5^2 + 20^2 } = \sqrt{ 420.25 } = 20.5$

Now we know the lengths of all three sides of the triangle, and the triangle is uniquely determined. Next, we calculate another of its characteristics - the same procedure as calculation of the triangle from the known three sides SSS.

$a = 4.5 \ \\ b = 20 \ \\ c = 20.5$

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

### 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.### 5. The triangle area - from two legs

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

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

$\sin α = \dfrac{ a }{ c } \ \\ α = \arcsin(\dfrac{ a }{ c } ) = \arcsin(\dfrac{ 4.5 }{ 20.5 } ) = 12^\circ 40'49" \ \\ \sin β = \dfrac{ b }{ c } \ \\ β = \arcsin(\dfrac{ b }{ c } ) = \arcsin(\dfrac{ 20 }{ 20.5 } ) = 77^\circ 19'11" \ \\ γ = 90^\circ$

### 8. Inradius

An incircle of a triangle is a circle which is tangent 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.### 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 = \dfrac{ c }{ 2 } = \dfrac{ 20.5 }{ 2 } = 10.25$

### 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 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.Calculate another triangle

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

- triangle
- right triangle
- Heron's formula
- The Law of Sines
- The Law of Cosines
- Pythagorean theorem
- triangle inequality
- similarity of triangles
- The right triangle altitude theorem