Right Triangle Side and Angle Calculator
Solve right triangle side angle problems step-by-step with our free calculator. See formulas, worked examples, and clear explanations.
Reviewed for accuracy by Manoj Kumar, Mathematics Educator
Right Triangle Side and Angle Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: opp = hyp * sin(A), adj = hyp * cos(A), opp = adj * tan(A)
Worked example โ Building height = 31.24 meters. Line of sight distance = 58.95 meters.
Formula
opp = hyp * sin(A), adj = hyp * cos(A), opp = adj * tan(A)
Given one acute angle A and one side, use trigonometric ratios to find the other sides. Sine relates the opposite side to the hypotenuse, cosine relates the adjacent side to the hypotenuse, and tangent relates the opposite side to the adjacent side.
Worked Examples
Example 1: Finding a Building Height
Problem:Standing 50 meters from a building, you measure an angle of elevation of 32 degrees. Find the building height.
Solution:The adjacent side is 50m, the angle is 32 degrees. Opposite (height) = adjacent * tan(angle) = 50 * tan(32) = 50 * 0.6249 = 31.24 meters Hypotenuse (line of sight) = adjacent / cos(angle) = 50 / cos(32) = 50 / 0.8480 = 58.95 meters Other angle = 90 - 32 = 58 degrees
Result:Building height = 31.24 meters. Line of sight distance = 58.95 meters.
Example 2: Ladder Angle Calculation
Problem:A 20-foot ladder must reach a window 15 feet high. What angle should it make with the ground?
Solution:Hypotenuse = 20 ft (ladder), Opposite = 15 ft (height) Angle = arcsin(15/20) = arcsin(0.75) = 48.59 degrees Base distance = 20 * cos(48.59) = 20 * 0.6614 = 13.23 feet This is a safe angle (OSHA recommends 75.5 degrees for extension ladders) Area of triangle = (1/2)(13.23)(15) = 99.21 sq ft
Result:Angle with ground = 48.59 degrees. Base = 13.23 ft from wall. Not steep enough for OSHA compliance.
Frequently Asked Questions
How do you find the sides of a right triangle from one side and one angle?
To find all sides of a right triangle when you know one side and one acute angle, use the trigonometric ratios. If you know the angle A and the opposite side, the adjacent side = opposite / tan(A) and the hypotenuse = opposite / sin(A). If you know the adjacent side, the opposite = adjacent times tan(A) and hypotenuse = adjacent / cos(A). If you know the hypotenuse, the opposite = hypotenuse times sin(A) and adjacent = hypotenuse times cos(A). The key principle is that trigonometric functions relate angles to side ratios in a fixed way, so knowing any angle-side pair gives you all other sides. The other acute angle is simply 90 minus the known angle.
What do opposite and adjacent mean in a right triangle?
The terms opposite and adjacent describe the relationship between a specific angle and the sides of the right triangle. The opposite side is directly across from the angle being considered, while the adjacent side is next to the angle (but is not the hypotenuse). These designations change depending on which angle you are referencing. For example, in a 3-4-5 triangle, if you are looking at the angle opposite the side of length 3, then 3 is the opposite side and 4 is the adjacent side. If you switch to the other acute angle, then 4 becomes the opposite and 3 becomes the adjacent. The hypotenuse is always the side opposite the 90-degree angle and never changes based on which acute angle is being considered.
What is the relationship between sine, cosine, and tangent?
Sine, cosine, and tangent are the three primary trigonometric ratios, each relating a specific pair of sides in a right triangle. Sine equals opposite over hypotenuse, cosine equals adjacent over hypotenuse, and tangent equals opposite over adjacent. A key relationship is that tangent equals sine divided by cosine, since (opp/hyp) divided by (adj/hyp) simplifies to opp/adj. The Pythagorean identity states that sin^2(A) + cos^2(A) = 1 for any angle A. Sine and cosine are complementary: sin(A) = cos(90-A) and cos(A) = sin(90-A), which is where the name cosine comes from. These functions extend beyond right triangles to the unit circle definition, enabling angles greater than 90 degrees and negative angles.
What are the reciprocal trigonometric functions?
The three reciprocal trigonometric functions are cosecant (csc), secant (sec), and cotangent (cot). Cosecant is the reciprocal of sine: csc(A) = 1/sin(A) = hypotenuse/opposite. Secant is the reciprocal of cosine: sec(A) = 1/cos(A) = hypotenuse/adjacent. Cotangent is the reciprocal of tangent: cot(A) = 1/tan(A) = adjacent/opposite. These functions are used less frequently in basic trigonometry but become important in calculus, where derivatives and integrals of these functions have distinct forms. For example, the derivative of tan(x) is sec^2(x), and the integral of csc(x) involves the natural logarithm. In the unit circle framework, sec and csc have their own geometric interpretations as line segments from the center to tangent lines.
How do you convert between degrees and radians?
Degrees and radians are two units for measuring angles. To convert degrees to radians, multiply by pi/180. To convert radians to degrees, multiply by 180/pi. Key equivalences include: 360 degrees = 2pi radians, 180 degrees = pi radians, 90 degrees = pi/2 radians, 60 degrees = pi/3 radians, 45 degrees = pi/4 radians, and 30 degrees = pi/6 radians. Radians are the natural unit in calculus because they make derivative formulas simpler: the derivative of sin(x) is cos(x) only when x is in radians. One radian is the angle subtended by an arc equal in length to the radius, approximately 57.296 degrees. Most scientific calculators and programming languages default to radians for trigonometric functions.
What is the SOH-CAH-TOA mnemonic?
SOH-CAH-TOA is a popular mnemonic device for remembering the three primary trigonometric ratios in a right triangle. SOH stands for Sine equals Opposite over Hypotenuse. CAH stands for Cosine equals Adjacent over Hypotenuse. TOA stands for Tangent equals Opposite over Adjacent. This mnemonic is taught in virtually every trigonometry course worldwide and helps students quickly recall which sides correspond to which function. To use it, first identify the angle of interest, then label the sides as opposite (across from the angle), adjacent (next to the angle, not the hypotenuse), and hypotenuse (longest side, opposite the right angle). Some students use alternative mnemonics like Some Old Horse Caught A Horse Taking Oats Away.
How accurate is solving a triangle with angle and side measurements?
The accuracy of solving a right triangle depends on the precision of your input measurements and the behavior of the trigonometric functions involved. Small angles amplify errors in certain calculations: when the angle is very small, the opposite side is small relative to the hypotenuse, so small measurement errors in the angle cause large percentage errors in the calculated opposite side. Similarly, for angles close to 90 degrees, the adjacent side is very small and its calculation becomes sensitive to angle errors. The most stable calculations occur with angles between 30 and 60 degrees. In practical applications, measurement precision typically limits accuracy more than computational precision. Modern calculators provide about 15 significant digits, but a protractor typically measures angles to plus or minus 0.5 degrees.
How do you find an angle if you know two sides?
If you know any two sides of a right triangle, use inverse trigonometric functions to find the angles. Given the opposite and hypotenuse: angle = arcsin(opposite/hypotenuse). Given the adjacent and hypotenuse: angle = arccos(adjacent/hypotenuse). Given the opposite and adjacent: angle = arctan(opposite/adjacent). The arctan function is most commonly used because it does not require knowing the hypotenuse. For example, with legs of 5 and 8: angle = arctan(5/8) = 32.01 degrees. These inverse functions are written as sin^(-1), cos^(-1), tan^(-1) or asin, acos, atan on calculators. In programming, the atan2 function is preferred because it correctly handles all quadrants and avoids division by zero issues.
What real-world problems use side and angle calculations?
Side and angle calculations are essential in countless real-world scenarios. Surveyors measure an angle and a baseline distance to calculate the height of buildings and mountains without climbing them. Pilots use angle of descent and altitude to calculate ground distance to the runway. Navigation uses bearing angles and distances to determine position changes. In construction, roof pitch is an angle that determines rafter length needed for a given span. Cell tower engineers calculate coverage areas using antenna tilt angles and tower heights. Astronomers measure angular separation and parallax to calculate distances to celestial objects. Physical therapists measure joint angles to track range of motion recovery. Even photographers use angle-of-view calculations to determine lens focal lengths.
How do you solve problems involving angle of elevation and depression?
An angle of elevation is measured upward from the horizontal to a line of sight to an object above, while an angle of depression is measured downward from the horizontal to an object below. Both create right triangles where the horizontal distance is adjacent to the angle and the vertical distance is opposite. For elevation: height = distance times tan(angle of elevation). For depression: depth or distance = height / tan(angle of depression). By alternate interior angles, the angle of depression from point A looking down at point B equals the angle of elevation from point B looking up at point A. Common applications include calculating building heights from shadows (height = shadow length times tan(sun elevation angle)), determining how far away a ship is from a lighthouse, or finding the height of a cliff from the angle of depression to a boat.
References
Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy
Related Calculators
๐งฎRight Triangle Calculator
Calculate right triangle with inputs, formulas, and instant results.
๐งฎTriangle Angle Calculator
Calculate triangle angle with inputs, formulas, and instant results.
๐งฎArea of a Right Triangle Calculator
Calculate area of aright triangle with inputs, formulas, and instant results.
๐งฎ30-60-90 Triangle Calculator
Solve a 30-60-90 triangle from any one side. Get the short leg, long leg, hypotenuse, area, and perimeter instantly.
๐งฎRhombus Calculator
Calculate area, perimeter, and diagonals of a rhombus from side and angle.
๐งฎTriangle Inequality Theorem Calculator
Calculate triangle inequality theorem with inputs, formulas, and instant results.
๐งฎPascals Triangle Calculator
Calculate pascals triangle with inputs, formulas, and instant results.
๐งฎPyramid Angle Calculator
Calculate pyramid angle with inputs, formulas, and instant results.