L = √(H² + D²)
Guy Wire Length Calculator
Enter how high the wire is fixed on a pole or mast and how far the anchor is from its base. Get the wire length and the angle it makes with the ground.
Find the length of a guy wire
A guy wire, the pole or mast it steadies, and the ground between them form a right triangle. The pole is the
upright leg, the ground from its base to the anchor is the level leg, and the wire is the hypotenuse. So the
wire is √(H² + D²) long and rises from the ground at arctan(H ÷ D).
Type the attachment height and the anchor distance in feet or meters. The calculator returns the straight-line wire length to 0.01 ft or 1 cm, the angle at the ground to 0.1°, and the angle where the wire meets the mast. It opens with the worked example below: a wire fixed 30 ft up with its anchor 40 ft out.
Results
- Wire length, attachment point to anchor
- 50 ft 15.24 m
A straight line from the attachment point to the anchor point, to the nearest 0.01 ft. Fittings, wraps and turnbuckle take-up are extra.
- Angle at the ground
- 36.9° and 53.1° at the mast
The wire rises at 36.9° from level ground and meets the pole or mast at 53.1°. Together the two make 90°.
How it’s worked out
H is the attachment height and D the anchor distance, in feet. θ is the wire’s angle at the ground, φ its angle at the mast.
- Wire lengthL = √(H² + D²)= √(30² + 40²) = √2500= 50 ft
- Angle at the groundθ = arctan(H ÷ D)= arctan(30 ÷ 40) = arctan(0.75)≈ 36.87°, shown as 36.9°
- Angle at the mastφ = 90° − θ≈ 90° − 36.87°≈ 53.13°, shown as 53.1°
What to measure
The attachment height runs from the ground at the foot of the pole straight up to the point where the wire is fastened. That point is often below the top, so measure to the fitting, not to the tip. The anchor distance runs along level ground from the center of the pole's base out to the spot where the wire meets the anchor.
Both numbers assume an upright pole on level ground. When the anchor is higher or lower than the base, the height changes, as the FAQ below shows. The answer is always the distance between two points in a straight line; the wire that loops through the fittings at each end comes on top of it.
Worked example: a wire fixed 30 ft up with the anchor 40 ft out
A wire is fastened to a mast 30 ft above the ground. Its anchor goes into level ground 40 ft from the base of the mast. The height and the distance are the two legs.
- Square each leg:
30² = 900and40² = 1,600. - Add the squares:
900 + 1,600 = 2,500. -
Take the square root:
L = √2,500 = 50 ft. The wire is 50 ft from the attachment point to the anchor, which is 15.24 m. -
Angle at the ground:
θ = arctan(30 ÷ 40) = arctan(0.75) ≈ 36.87°, shown as 36.9°. - Angle at the mast:
φ = 90° − 36.87° ≈ 53.13°, shown as 53.1°.
The answer is a whole number because 30, 40 and 50 are the 3-4-5 triangle scaled up ten times. Most setups aren't
that tidy: bring the same anchor in to 30 ft and the wire becomes √1,800 ≈ 42.43 ft at exactly 45°.
To check other pairs of sides, use the Pythagorean theorem calculator.
How the anchor distance changes the wire
| Attachment height | Anchor distance | Wire length | Angle at the ground |
|---|---|---|---|
| 30 ft | 15 ft | 33.54 ft | 63.4° |
| 30 ft | 20 ft | 36.06 ft | 56.3° |
| 30 ft | 30 ft | 42.43 ft | 45° |
| 30 ft | 40 ft | 50 ft | 36.9° |
| 30 ft | 60 ft | 67.08 ft | 26.6° |
| 10 m | 5 m | 11.18 m | 63.4° |
| 10 m | 7.5 m | 12.5 m | 53.1° |
| 10 m | 10 m | 14.14 m | 45° |
| 10 m | 15 m | 18.03 m | 33.7° |
| 10 m | 20 m | 22.36 m | 26.6° |
Lengths run point to point, rounded to 0.01 ft or 0.01 m, and angles to 0.1°. The rows show the geometry only; they are not recommended setups.
Moving the anchor farther out lays the wire lower and makes it longer. The angle depends only on the ratio of height to distance, so a 30 ft height with the anchor 15 ft out and a 10 m height with the anchor 5 m out both rise at 63.4°.
Guy wire length FAQ
How to calculate guy wire length?
Measure two things: the attachment height, from the ground straight up to where the wire is fixed on the pole or mast, and the anchor distance, along level ground from the base out to the anchor. The wire is the hypotenuse of the right triangle they make, so square both, add them, and take the square root: L = √(H² + D²). For a wire fixed 30 ft up with the anchor 40 ft out, L = √(900 + 1,600) = √2,500 = 50 ft. Allow for the fittings at each end before you cut.
How to calculate wire length?
It depends on the path the wire takes. A wire pulled straight between two points at different heights is the long side of a right triangle, so its length is √(rise² + run²). A wire that follows a route with corners is the sum of its straight pieces. A wire wound into a coil is about the number of turns × π × the coil's average diameter: 20 turns on a coil 12 in across hold about 62.83 ft of wire.
How long are guy wires?
There is no standard length. Each guy wire runs in a straight line from its attachment point to its anchor, so its length is set by how high it is fixed and how far out the anchor is. A wire fixed 30 ft up is 42.43 ft long with the anchor 30 ft out, 50 ft with it 40 ft out, and 67.08 ft with it 60 ft out. Whatever the setup, the wire is longer than both the height and the anchor distance, and shorter than the two added together.
What is the formula for calculating the length of wire?
For a wire running straight from a high point down to a low one, the formula is the Pythagorean theorem: L = √(H² + D²), where H is the height difference and D the level distance between the two ends. If you know the angle at the ground, θ, and only one of the two measurements, use L = D ÷ cos θ or L = H ÷ sin θ. For the worked example, 40 ÷ cos 36.87° = 40 ÷ 0.8 = 50 ft.
How to calculate length formula?
Rearrange the Pythagorean theorem for whichever length is missing. With both short sides known, the long side is √(a² + b²). With the long side and one short side known, the other short side is √(c² − a²). So a 50 ft wire fixed 30 ft up reaches the ground √(50² − 30²) = √1,600 = 40 ft from the base, and a 50 ft wire anchored 40 ft out reaches √(50² − 40²) = √900 = 30 ft up the mast.
How to calculate wire size formula?
Wire size doesn't come from the triangle on this page. A guy wire's diameter and strength grade depend on the forces it has to resist, such as wind on the mast and its equipment, and are chosen from the manufacturer's tables or by an engineer. Electrical wire is sized from the current it carries, the length of the run, and the rules of your electrical code. The one formula geometry does give is the cross-section of a solid round wire, A = π × d² ÷ 4: a wire 1/4 in (6.35 mm) across has a cross-section of about 0.0491 in² (31.67 mm²).
How is the length of a wire measured?
A loose wire is measured along its length with a tape, or read from the length marks that many cables have printed every foot or meter. A guy wire is easier to work out than to measure, because most of it is high off the ground: take the attachment height from the mast’s section lengths or drawings, measure the anchor distance along the ground, and calculate L = √(H² + D²). The result is the straight distance between the two ends.
How long is 1 meter of wire?
One meter of wire is 100 cm or 1,000 mm, which is about 39.37 in, 3.28 ft, or 3 ft 3 3/8 in on an imperial tape. To convert a whole wire, switch the calculator's units menu between feet and meters: the 50 ft wire in the worked example is 15.24 m, since 1 ft is exactly 0.3048 m.
How to check wire size?
Start with the markings. Electrical cable is printed with its size, such as 12 AWG or 2.5 mm², and the tag or packaging on guy strand gives its diameter and grade. Without a marking, measure the diameter with calipers or a wire gauge: across the bare metal for electrical wire, and across the whole strand for stranded cable. Then look the reading up in the maker’s size table. Whether that size is strong enough for a mast is an engineering question this calculator doesn’t answer.
Is the result the length of wire I should cut?
Not exactly. It is the straight distance from the attachment point to the anchor point. The wire also has to loop through or around a fitting at each end and run back along itself where it is clamped or wrapped, and a turnbuckle or tensioner fitted in line stands in for part of the run. Adjust the calculated length for your fittings using the hardware maker’s instructions, and cut with some to spare so the wire can be trimmed once it is in place.
What if the anchor is higher or lower than the base of the mast?
Use the vertical drop from the attachment point to the anchor point as the height, and the level distance between them as the anchor distance. With the wire fixed 30 ft up and the anchor 40 ft out, an anchor 4 ft below the base makes the height 34 ft and the wire 52.5 ft; an anchor 4 ft above the base makes the height 26 ft and the wire 47.71 ft. Take the distance level, not along the slope: a tape laid on sloping ground reads more than the level distance.
How do I find the anchor distance for a given angle?
Run the formulas the other way. The anchor distance is the height divided by the tangent of the angle at the ground, D = H ÷ tan θ, and the wire length is the height divided by its sine, L = H ÷ sin θ. For a wire fixed 30 ft up, 45° puts the anchor 30 ft out with 42.43 ft of wire, and 60° puts it 17.32 ft out with 34.64 ft of wire. Enter that distance in the calculator to see the full working.
How do I work out wires fixed at several heights on one mast?
Each attachment height makes its own right triangle, so run the calculator once per wire. When the wires share one anchor, the anchor distance stays the same and only the height changes. With the anchor 40 ft out, a wire fixed 15 ft up is 42.72 ft long at 20.6° to the ground, one at 30 ft is 50 ft at 36.9°, and one at 45 ft is 60.21 ft at 48.4°. The higher the attachment point, the longer and steeper the wire.
Does sag in the wire change the length?
Very little when the wire is tight. A wire that hangs a distance s below the straight line at its middle is longer than that line by roughly 8s² ÷ 3L, where L is the straight-line length. For the 50 ft wire in the worked example, a 6 in sag adds about 0.16 in, and a 1 ft sag about 0.64 in. A slack wire can sag much more, so the formula is only a guide for a wire under tension.
Know an angle and one side rather than two sides? The hypotenuse calculator finds the long side from a leg and an angle, and the right triangle calculator works from any pair of known values. General questions are answered in the right triangle FAQ.
Cite this page
To cite this calculator in schoolwork or a report, you can use this reference (APA style):
Right Triangle Calculators. (2026, November 14). Guy wire length calculator. https://righttrianglecalculators.com/guy-wire-length-calculator
References
The formulas and definitions on this page match these standard references.
- Weisstein, Eric W. “Pythagorean Theorem.” MathWorld, Wolfram Research.
- Weisstein, Eric W. “Inverse Tangent.” MathWorld, Wolfram Research.
- “NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically.” NIST Special Publication 811, National Institute of Standards and Technology.
Pythagorean theorem calculator
Find the missing side of a right triangle, or check if 3 sides form one.
Hypotenuse calculator
Find the hypotenuse from two legs, a leg and an angle, the area, or the perimeter.
Diagonal brace calculator
Brace length and cut angles for a gate, frame, or shelf, in feet and inches or cm.
Feet and inches triangle calculator
Type tape readings like 5' 6 3/8" and get every side to the nearest 1/16 in.
Right triangle calculator
Find the area, sides, and angles of any right triangle from any 2 known values.
Right triangle formulas
Every right-triangle formula in one reference sheet.