Skip to main content
Not selected · English · Dual units
My account Join free Start free test
Home Right Triangle Math for Electrical Apprentices

Right Triangle Math for Electrical Apprentices

Trade math on paper

Short answer: when two measurements meet at a square corner, the straight line between their ends is c = √(a² + b²). Square the two leg lengths, add those squares, then take the square root. If you already know the long side and need a short side, subtract instead: b = √(c² − a²). Example: a 6-inch rise and an 8-inch side shift give a 10-inch true offset. Below are five worked examples with original numbers, a table for when to add and when to subtract, common mistakes, and self-checks.

Jump to the worked examples, the free member preview or the paid foundation plan comparison.

The picture behind the formula

A right triangle has one 90° corner. The two sides that form that corner are the legs, usually called a and b. The side across from the square corner is the hypotenuse, c, and it is always the longest side. The Pythagorean theorem says a² + b² = c².

Right triangle with legs a and b and hypotenuse c Original drawing, to scale. The vertical leg a is 6 inches, the horizontal leg b is 8 inches, and the slanted side c across from the square corner is 10 inches. a = 6 in b = 8 in c = 10 in 36 + 64 = 100, so c = √100 = 10

Drawing: legs of 6 and 8 inches meet at the square corner; the side across from it is 10 inches, because 6² + 8² = 36 + 64 = 100 and √100 = 10.

The formula only works when the corner really is 90°. On a plan, check that the two dimensions you are using are drawn at right angles to each other before you combine them.

Add or subtract? Decide before you calculate

Which side are you solving for?
You know You need Do this Sanity check
Both legs (a and b) The long side c c = √(a² + b²): add the squares c is longer than either leg
The long side c and one leg The other leg b = √(c² − a²): subtract the smaller square from the larger The answer is shorter than c
All three sides Is the corner square? Compare a² + b² with c² Equal means 90°; c² too big means the corner is wider than 90°

Five worked examples

1. Straight-line distance between two boxes on a ceiling plan

On a plan, box B is 8 ft 6 in along the room and 5 ft 3 in across from box A. How far apart are they in a straight line?

  1. Put both sides in inches: 8 ft 6 in = 102 in; 5 ft 3 in = 63 in.
  2. Square and add: 102² + 63² = 10,404 + 3,969 = 14,373.
  3. Square root: √14,373 ≈ 119.887 in.
  4. Back to feet and inches: 119.887 in = 9 ft 11.887 in, which is about 9 ft 11 7/8 in to the nearest sixteenth.

Check in decimal feet: √(8.5² + 5.25²) ≈ 9.991 ft, which agrees. This is the shortest possible distance, not a cable length to order: a real run follows framing, supports and the route on the drawings, so it is usually longer.

2. The 3–4–5 check for a square corner

Because 3² + 4² = 5², any triangle with sides in the ratio 3 : 4 : 5 has a square corner. Scaling all three sides by the same factor preserves the square corner: 6–8–10, 9–12–15 and 12–16–20.

In a paper sketch, the two sides from a corner are labelled 6 ft and 8 ft. For a square corner, the diagonal between their ends is 10 ft (120 in). A diagonal of 10 ft 1/2 in with those same sides would give an angle a little greater than 90° (about 90.5° by calculation). A shorter diagonal with the same 6 ft and 8 ft sides would give an angle smaller than 90°.

3. True offset for a rolling offset

A rolling offset moves the run up and sideways at once. The rise and the side shift form the legs, and the true offset is the hypotenuse.

  1. Rise 6 in, side shift 8 in: √(36 + 64) = √100 = 10 in true offset.
  2. Rise 5 in, side shift 7 in: √(25 + 49) = √74 ≈ 8.602 in, about 8 5/8 in.

In the ideal diagram, the separate bend-spacing step would use a supplied angle: at 30°, 10 ÷ sin 30° = 20 in. This is a triangle calculation. The conduit bending guide for offsets, saddles and the multiplier covers that separate step.

4. Finding a missing short side

A plan shows a diagonal of 25 ft between two points, and one side of the square corner is 7 ft. What is the other side?

  1. Subtract the squares: 25² − 7² = 625 − 49 = 576.
  2. Square root: √576 = 24 ft.

Sanity check: 24 ft is shorter than the 25 ft long side, as it must be.

5. The same triangle in AC theory: impedance and power

For this classroom example, assume an ideal linear series R–L circuit in sinusoidal steady state, using RMS voltage and current. Let R = 8 Ω and inductive reactance X_L = 6 Ω at the stated frequency, with no other reactance. Resistance and reactance form the perpendicular components of the impedance triangle, so the impedance magnitude is |Z| = √(8² + 6²) = 10 Ω. At 120 V RMS, the current is 120 ÷ 10 = 12 A RMS.

The power triangle follows: real power P = 12² × 8 = 1,152 W, reactive power Q = 12² × 6 = 864 var, and apparent power S = 120 × 12 = 1,440 VA. Check: √(1,152² + 864²) = 1,440. The power factor is 8 ÷ 10 = 1,152 ÷ 1,440 = 0.8, lagging for this ideal R–L model. For more on that ratio, see what power factor means and single-phase AC basics.

Common mistakes

  • Mixing units. 2.5 ft and 40 in cannot be squared together. Convert both to inches (30 in and 40 in) or both to feet first.
  • Forgetting the square root. 6² + 8² = 100 is c², not c. The side is 10.
  • Adding when you should subtract. If the long side is known, the missing leg comes from c² − a², and it must come out shorter than c.
  • Rounding too early. Keep the decimals until the last step, then round to the fraction your tape shows. Practice reading those fractions with the tape measure practice guide.
  • Reading a plan at the wrong scale. Convert drawing measurements with the sheet’s scale before using the formula; the plan reading guide covers scales.

Check yourself

1. Legs of 9 ft and 12 ft. How long is the side across from the square corner?

√(81 + 144) = √225 = 15 ft. It is the 3–4–5 shape multiplied by 3.

2. The long side is 17 in and one leg is 8 in. What is the other leg?

√(289 − 64) = √225 = 15 in.

3. One leg is 2.5 ft and the other is 40 in. What is the third side?

Convert first: 2.5 ft = 30 in. √(900 + 1,600) = √2,500 = 50 in, which is 4 ft 2 in.

Where this fits and sources

Right-triangle work shows up in trade-math and AC-theory material for electricians. For a fuller free textbook treatment, see Chad Flinn’s open textbook chapter Trigonometry, in Trigonometry and Single Phase AC Generation for Electricians on LibreTexts (CC BY 4.0), and the BCcampus chapter The Basics of Triangles in Math for Trades, volume 3. Your program’s own math materials and instructors decide what you are tested on.

All numbers on this page are original examples, recalculated with a separate script. This page teaches paper math only; it is not installation instructions.

Free preview before you choose a plan

The public membership page includes a free sample on circuits, Ohm’s law and power, with paper calculations. It is not about triangles; use it to check the explanations before comparing paid topics.

See the free preview

Paid ET Member plan

This triangle guide is free and complete. If you also want a broader foundation for the Texas electrician route, compare the topics and terms of the paid ET Member plan with what you need to study. It is a separate foundation option, not a triangle course.

Compare the paid plan topics

★ Resources
Scroll to Top
Not a licensed Professional Engineer in Texas or any U.S. state. Does not offer engineering services. Exam-prep education only.