Trigonometry formulas for engineers
In a right triangle, sin θ = opposite / hypotenuse, cos θ = adjacent / hypotenuse and tan θ = opposite / adjacent (SOH CAH TOA). So a 4 m ramp at 30° rises h = 4 × sin 30° = 2 m, a 5% grade is θ = tan⁻¹(0.05) ≈ 2.86°, and from 50 m away a top seen at 40° is 50 × tan 40° ≈ 42.0 m high. For any triangle, use the sine rule or the cosine rule.
The formulas
| Formula | What it gives | Symbols |
|---|---|---|
h = L × sin θ | The height a slope rises | h = the height, opposite θ; L = the length along the slope, the hypotenuse; θ = the angle to the level |
x = L × cos θ | The run of a slope along the level | x = the run, next to θ; L = the length along the slope; θ = the angle to the level |
L² = x² + h² | Pythagoras: the longest side | L = the hypotenuse, across from the right angle; x and h = the two shorter sides |
h² = L² − x² | Pythagoras: a shorter side | h = the side you want; L = the hypotenuse; x = the other short side (for a ladder, the foot's distance from the wall) |
h = d × tan α | A height from an angle of elevation | h = the height above eye level; d = the level distance to the foot; α = the angle of elevation of the top |
tan θ = g ÷ 100 | The angle of a percent grade | g = the grade in percent, the rise for every 100 along the level; θ = the angle to the level |
tan θ = 1 ÷ n | The angle of a slope of 1 in n | n = the run along the level for each 1 of rise (a wheelchair ramp of 1 in 12 is about 4.76°) |
θ = θ° × π ÷ 180 | Degrees to radians | θ° = the angle in degrees; θ = the same angle in radians (π rad = 180°) |
θ° = θ × 180 ÷ π | Radians to degrees | θ = the angle in radians; θ° = the same angle in degrees (1 rad is about 57.3°) |
H ÷ S = p ÷ s | Heights from shadows: similar triangles | H and S = the tower's height and shadow; p and s = a post's height and shadow at the same moment |
x = h ÷ tan β | A distance from an angle of depression | x = the level distance to the object; h = the height of the eye above it; β = the angle of depression below the level |
L = h ÷ sin θ | A guy wire or brace from its height | L = the wire, the hypotenuse; h = the height of its top, opposite θ; θ = its angle to the ground |
cos θ = x ÷ L | An angle from two sides | x = the side next to θ; L = the hypotenuse; then θ = cos⁻¹(x / L) |
C = 180° − A − B | The third angle of a triangle | A, B and C = the three angles, which add up to 180° |
a ÷ sin A = c ÷ sin C | The sine rule | each side over the sine of the angle across from it is the same for all three (a across from A, c across from C) |
c² = a² + b² − 2 a b cos C | The cosine rule for a side | c = the side across from C; a and b = the two sides that meet at C |
cos C = (a² + b² − c²) ÷ (2 a b) | The cosine rule for an angle | C = the angle across from c; a and b = the two sides that meet at C; works for angles over 90° too |
x = d × tan α ÷ (tan β − tan α) | A height from two angles of elevation | x = the distance from the nearer point to the foot; d = the walk between the points; α and β = the far and near angles; then h = x × tan β |
Worked example
This example is made by the same code as the practice questions. Open the working to see every step.
From a point on level ground the distance d from the foot of a tower, the angle of elevation of its top is α. Take your eye to be at ground level. How tall is it, in m? Give your answer to 3 significant figures.
Answer: 85.7 m. The height is opposite α and the distance is next to it, so h = d × tan α: h = 60 m × tan 55° ≈ 85.7 m.
Show the working
- Write down what is given: d = 60 m, α = 55°.
- The height h is opposite α and the distance d is next to it, so use tan: h = d × tan α.
- The value of the ratio: tan 55° ≈ 1.428.
- Work it out and round to 3 significant figures: h = 60 m × 1.428 ≈ 85.7 m.
- Check: a steeper angle of elevation means a taller top. Answer: 85.7 m.
Why not the others?
- 34.4 m Uses cos α; the height is opposite α and the distance next to it, so h = d × tan α.
Remember: Angle of elevation α from the distance d: the height is h = d × tan α. Formula sheet
Common mistakes
These are the wrong answers the practice questions offer, and the slip that leads to each.
- Using cos where sin belongs: name the sides from θ first. The opposite is across from θ, the adjacent is next to it.
- Leaving the calculator in radians: sin 30 in radians is −0.988, not 0.5.
- Reading a 5% grade as 5°: a grade is rise per 100 along, so θ = tan⁻¹(0.05) ≈ 2.86°.
- Using Pythagoras on a triangle with no right angle: use the cosine rule, c² = a² + b² − 2 a b cos C.
Questions
What is the formula for the height a slope rises?
h = L × sin θ. Symbols: h = the height, opposite θ; L = the length along the slope, the hypotenuse; θ = the angle to the level.
What is the formula for the run of a slope along the level?
x = L × cos θ. Symbols: x = the run, next to θ; L = the length along the slope; θ = the angle to the level.
What is the formula for Pythagoras: the longest side?
L² = x² + h². Symbols: L = the hypotenuse, across from the right angle; x and h = the two shorter sides.