Right Triangle Base and Hypotenuse from Angle and Height Calculator

Right Triangle Base and Hypotenuse from Angle and Height Calculator

Emerging AI Skill PRO

Enter Calculation

Decimal degrees (e.g. 30) or degrees-minutes-seconds with apostrophes (e.g. 45'12'6).

Formula

a=Height btan⁡θc=Height bsin⁡θwhere{a=Basec=Hypotenuseθ=Angle (degrees)\begin{gathered} a = \frac{{{\text{Height }b}}}{\tan{\theta}} \qquad c = \frac{{{\text{Height }b}}}{\sin{\theta}} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} a &= \text{Base} \\ c &= \text{Hypotenuse} \\ \theta &= \text{Angle (degrees)} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Base a
1.73205081
adjacent side
Hypotenuse c 2
Angle θ (decimal degrees) 30

Report an error on this page

What this calculator does

This tool solves a right triangle when you know one acute angle and the height (the side opposite that angle). The angle theta sits between the hypotenuse c and the base a. The height b stands vertically opposite theta, and the base a runs horizontally adjacent to it. From these two pieces of information the calculator returns the adjacent base a and the hypotenuse c.

The formulas

The three fundamental right-triangle ratios are \(\cos\theta = a / c\), \(\sin\theta = b / c\), and \(\tan\theta = b / a\). Rearranging the two that contain the known height b gives the answers directly:

$$a = \frac{\text{Height }b}{\tan\theta} \qquad c = \frac{\text{Height }b}{\sin\theta}$$

Because this calculator works in degree mode, the angle is first converted to radians \((\theta_{rad} = \theta \cdot \pi / 180)\) before the trigonometric functions are applied.

Right triangle with angle theta, opposite height b, adjacent base a, and hypotenuse c labeled
The right triangle showing angle θ, opposite height b, adjacent base a, and hypotenuse c.

How to use it

Enter the height b as a plain magnitude (any consistent length unit). Enter the angle theta in degrees. You may type a decimal value such as 30, or use degrees-minutes-seconds separated by apostrophes, for example 45'12'6 which means 45 degrees, 12 minutes and 6 seconds. The base and hypotenuse come back in the same unit as the height.

Advertisement

Worked example

With \(b = 1\) and \(\theta = 30\) degrees:

$$\tan 30^\circ = 0.5773502692 \quad\Rightarrow\quad a = \frac{1}{0.5773502692} = 1.7320508$$

(which is the square root of 3).

$$\sin 30^\circ = 0.5 \quad\Rightarrow\quad c = \frac{1}{0.5} = 2$$

The triangle therefore has base 1.7320508 and hypotenuse 2.

Common Angles: tan and sin Values with Base and Hypotenuse Multipliers

For a right triangle with height (opposite side) b and acute angle θ, the base is \(a = b/\tan\theta\) and the hypotenuse is \(c = b/\sin\theta\). The table gives the values for b = 1. For any other height, actual base = b × (a/b) and actual hypotenuse = b × (c/b).

Angle θ tan θ sin θ Base multiplier a/b = 1/tan θ Hypotenuse multiplier c/b = 1/sin θ
15° 2 − √3 ≈ 0.267949 (√6 − √2)/4 ≈ 0.258819 2 + √3 ≈ 3.732051 √6 + √2 ≈ 3.863703
30° √3/3 ≈ 0.577350 1/2 = 0.5 √3 ≈ 1.732051 2
45° 1 √2/2 ≈ 0.707107 1 √2 ≈ 1.414214
60° √3 ≈ 1.732051 √3/2 ≈ 0.866025 √3/3 ≈ 0.577350 2√3/3 ≈ 1.154701
75° 2 + √3 ≈ 3.732051 (√6 + √2)/4 ≈ 0.965926 2 − √3 ≈ 0.267949 √6 − √2 ≈ 1.035276

Example: a 30° angle with height b = 5 gives base \(a = 5\sqrt{3} \approx 8.660\) and hypotenuse \(c = 5 \times 2 = 10\).

Advertisement

Definitions of Terms

  • Height b (opposite side): the leg of the right triangle opposite the angle θ; this is the known input.
  • Base a (adjacent side): the leg that touches the angle θ and the right angle; it is computed as \(a = b/\tan\theta\).
  • Hypotenuse c: the longest side, opposite the 90° angle; it is computed as \(c = b/\sin\theta\).
  • Acute angle θ: one of the two non-right angles of the triangle, strictly between 0° and 90°. The other acute angle is 90° − θ.
  • Sine (sin θ): the ratio of the opposite side to the hypotenuse, \(\sin\theta = b/c\).
  • Tangent (tan θ): the ratio of the opposite side to the adjacent side, \(\tan\theta = b/a\).
  • Degrees-minutes-seconds (DMS): a way of writing angles where 1° = 60′ (arcminutes) = 3600″ (arcseconds). To convert to decimal degrees: \(\text{degrees} + \dfrac{\text{minutes}}{60} + \dfrac{\text{seconds}}{3600}\). For example, 30° 15′ 36″ = 30 + 0.25 + 0.01 = 30.26°.
  • Radians conversion: \(\text{radians} = \text{degrees} \times \dfrac{\pi}{180}\), and \(\text{degrees} = \text{radians} \times \dfrac{180}{\pi}\). For example, 45° = π/4 ≈ 0.7854 rad. This calculator works in degree mode, so enter angles in degrees.

FAQ

Why must the angle be between 0 and 90 degrees? Only acute angles give a valid right-triangle interior angle. At \(\theta = 0\) both tan and sin are zero, so the base and hypotenuse are undefined (division by zero). At \(\theta = 90\) the base collapses to zero and the hypotenuse equals the height.

Can I enter the angle in radians? No, this version expects degrees, matching the source category of trigonometric functions in degrees.

What units are used? The height is a unitless magnitude. The base and hypotenuse are returned in whatever unit you used for the height.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators