keisoku

Right Triangle Calculator from Base and Height

Enter the base and height of a right triangle to find the hypotenuse, angle, area, and trig ratios.

Input

Enter the base and height around the right angle to compute the hypotenuse, angle, area, and trig ratios.

length
length

Result

Hypotenuse c

5

Angle A

36.86989765deg

base = 4height = 3hyp = 5

Area

6

Other angle B

53.13010235 deg

Perimeter

12

Trig ratios of angle A

sin A

0.6

cos A

0.8

tan A

0.75

csc A

1.66666667

sec A

1.25

cot A

1.33333333


Trig ratios use angle A: sin is height over hypotenuse, cos is base over hypotenuse, and tan is height over base.

How it works

  • With the two legs of the right triangle taken as base b and height h, the hypotenuse is c = sqrt(b squared + h squared) from the Pythagorean theorem.
  • The acute angle A between the base and the hypotenuse is A = arctan(h / b), and the other acute angle B is B = 90 minus A.
  • Area is computed as S = b times h divided by 2, and the perimeter is b + h + c.
  • Trig ratios are based on angle A: sin = h/c, cos = b/c, tan = h/b, plus their reciprocals csc, sec, and cot.
  • Both the base and the height must be greater than zero.

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Right Triangle Calculator from Base and Height