EngineerPlay

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

FormulaWhat it givesSymbols
h = L × sin θThe height a slope risesh = 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 levelx = the run, next to θ; L = the length along the slope; θ = the angle to the level
L² = x² + h²Pythagoras: the longest sideL = the hypotenuse, across from the right angle; x and h = the two shorter sides
h² = L² − x²Pythagoras: a shorter sideh = 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 elevationh = the height above eye level; d = the level distance to the foot; α = the angle of elevation of the top
tan θ = g ÷ 100The angle of a percent gradeg = the grade in percent, the rise for every 100 along the level; θ = the angle to the level
tan θ = 1 ÷ nThe angle of a slope of 1 in nn = the run along the level for each 1 of rise (a wheelchair ramp of 1 in 12 is about 4.76°)
θ = θ° × π ÷ 180Degrees 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 ÷ sHeights from shadows: similar trianglesH 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 depressionx = 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 heightL = the wire, the hypotenuse; h = the height of its top, opposite θ; θ = its angle to the ground
cos θ = x ÷ LAn angle from two sidesx = the side next to θ; L = the hypotenuse; then θ = cos⁻¹(x / L)
C = 180° − A − BThe third angle of a triangleA, B and C = the three angles, which add up to 180°
a ÷ sin A = c ÷ sin CThe sine ruleeach 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 CThe cosine rule for a sidec = 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 angleC = 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 elevationx = 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.

The line of sight from a point on level ground up to the top of a tower, at the angle of elevation αLabels shown, in drawing order: α, d, h, d = 60 m, α = 55°, h = ?.αdhd = 60 mα = 55°h = ?
Show the working
  1. Write down what is given: d = 60 m, α = 55°.
  2. The height h is opposite α and the distance d is next to it, so use tan: h = d × tan α.
  3. The value of the ratio: tan 55° ≈ 1.428.
  4. Work it out and round to 3 significant figures: h = 60 m × 1.428 ≈ 85.7 m.
  5. 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.

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.