Skip to content
Nested by Nora

String Lights Length Calculator

Enter your patio's length and width, the layout and how far the lights start from the outlet, and get the feet of string lights to buy, the strands that make it up and the points to hang them from.

By Nora Callahan · Updated

Your space

Units
Layout
Space length

The long side of the patio, deck or yard, between the points the lights hang from.

Space width

The short side, between the points the lights hang from.

How many times the lights cross the space, back and forth.

Outlet to the first anchor

The way the cord will run, along the wall or the ground and up to where the lights start.

Lights to get

66 ft of lights: three 24 ft strands

A zigzag of 4 passes across a 16 ft by 12 ft space runs 50.6 ft, 12.6 ft for each pass. Add 10% for the drape and the connections (5.1 ft) and the 10 ft to the outlet: 65.7 ft, so get at least 66 ft of lights. Three 24 ft strands give 72 ft, 6.3 ft to spare. Hang them 8 to 10 ft up from 5 anchor points, alternating between the two long sides, 8 ft apart on each side. An outdoor extension cord can cover the run to the outlet instead; then 56 ft of lights is enough. Check that the box lets you link three strands end to end. Use lights rated for outdoor use, plugged into a GFCI outlet.

10 ft to the outlet16 ft12 ft

Ways to buy them

  • 3 × 24 ftFits72 ft, 6.3 ft to spare
  • 2 × 48 ftFits96 ft, 30.3 ft to spare
  • 1 × 100 ftFits100 ft, 34.3 ft to spare

Fits: covers the lights with 10% extra and the run to the outlet. Tight: covers them without the extra, so the lights hang taut.

Measure between the points the lights will hang from, and the cord's way to the outlet along the wall or the ground. The length on the box runs from the plug to the far end. How we calculate

Patio string lights hung between black posts at dusk in zigzag runs over a fire pit ringed by wooden Adirondack chairs

The short answer

Measure the path the lights will take from anchor to anchor, add 10% for the drape and the connections, and add the run to the outlet. A 16 by 12 ft patio with a zigzag of four passes runs 50.6 ft; with the extra and 10 ft to the outlet, get 66 ft of lights, or three 24 ft strands.

Hang them 8 to 10 ft up, and keep each run between anchors to 20 ft or less, or add a support cable.

How to measure

10 ft to the outlet16 ft12 ft
  1. The space: measure the length and the width between the points the lights will hang from: posts, the house, a fence or a pergola, not the edge of the pavers.
  2. The outlet: measure the way the cord will run from the outlet to the first anchor, along the wall or the ground and up the post.
  3. Pick a layout: around the edge outlines the space, a zigzag fills it overhead, and a crisscross makes an X from corner to corner.
  4. Check it with string: run a string along the whole path, from the outlet, and measure the string.

How to use the calculator

  1. Choose a layout: around the edge, a zigzag or a crisscross.
  2. Enter the space’s length and width, and for a zigzag, how many times the lights cross it. More passes fill the space more densely and take more feet.
  3. Enter the distance from the outlet to the first anchor, or 0 if the lights start right at it.
  4. Read the result: the feet of lights to get, the strands that add up to it, how many anchors to hang them from and whether a run needs a support cable. Every way to buy the strands is listed as Fits or Tight, with what it leaves to spare.
  5. Save or share it. Copy link keeps your numbers in the address.

How we calculate

The math measures the path the lights take and adds slack for the drape. The instructions that come with your lights come first.

  • The path: the lights’ run from anchor to anchor. Around the edge, it’s the perimeter: twice the length plus twice the width. A zigzag runs back and forth across the short side, between two lines of anchors along the long sides, or two guide wires. Each pass runs corner to corner, so it’s a little longer than the width. A crisscross is an X: the two diagonals, joined along one short side so one run of lights makes it.
  • The extra: 10% of the path for the drape and the connections. Leave that slack: a strand pulled taut looks shorter and less inviting.
  • The outlet: the run from the outlet to the first anchor, added as measured.
  • The strands: 24, 48 and 100 ft, the lengths string lights come in. For each length, the fewest strands that cover it Fit; one fewer is Tight when it still covers the path and the outlet without the extra. The answer is the way to buy them with the fewest feet to spare, the longer strand on a tie.
  • The anchors: around the edge, posts split each side into equal runs of 20 ft or less; a zigzag hangs from a point at each end of every pass; a crisscross from the four corners. Any span over 20 ft gets a support cable.

Worked examples

Worked example

A 16 × 12 ft patio in a zigzag of 4 passes, 10 ft from the outlet

What we know

  • Space: 16 ft × 12 ft
  • Layout: zigzag, 4 passes
  • Outlet: 10 ft from the first anchor

How it works out

  1. Path: each pass crosses 12 ft while moving 4 ft along, 12.65 ft corner to corner; 4 × 12.65 ft = 50.6 ft.
  2. Lights: 50.6 ft + 10% (5.1 ft) + the outlet (10 ft) = 65.7 ft.
  3. Strands: 3 × 24 ft = 72 ft, 2 × 48 ft = 96 ft or 1 × 100 ft = 100 ft; 3 × 24 ft leaves the fewest feet to spare.

66 ft of lights: three 24 ft strands. A zigzag of 4 passes across a 16 ft by 12 ft space runs 50.6 ft, 12.6 ft for each pass. Add 10% for the drape and the connections (5.1 ft) and the 10 ft to the outlet: 65.7 ft, so get at least 66 ft of lights. Three 24 ft strands give 72 ft, 6.3 ft to spare. Hang them 8 to 10 ft up from 5 anchor points, alternating between the two long sides, 8 ft apart on each side. An outdoor extension cord can cover the run to the outlet instead; then 56 ft of lights is enough. Check that the box lets you link three strands end to end. Use lights rated for outdoor use, plugged into a GFCI outlet.

Worked example

Around the edge of a 24 × 16 ft deck, 6 ft from the outlet

What we know

  • Space: 24 ft × 16 ft
  • Layout: around the edge
  • Outlet: 6 ft from the first anchor

How it works out

  1. Path: 2 × (24 ft + 16 ft) = 80 ft.
  2. Lights: 80 ft + 10% (8 ft) + the outlet (6 ft) = 94 ft.
  3. Strands: 4 × 24 ft = 96 ft, 2 × 48 ft = 96 ft or 1 × 100 ft = 100 ft; 2 × 48 ft leaves the fewest feet to spare, the longer strand on a tie.

94 ft of lights: two 48 ft strands. Around all four sides of a 24 ft by 16 ft space, the lights run 80 ft. Add 10% for the drape and the connections (8 ft) and the 6 ft to the outlet: 94 ft of lights. Two 48 ft strands give 96 ft, 2 ft to spare. Hang them 8 to 10 ft up from 6 anchor points, the corners and posts between them, so no run is longer than 20 ft. An outdoor extension cord can cover the run to the outlet instead; then 88 ft of lights is enough. Check that the box lets you link two strands end to end. Use lights rated for outdoor use, plugged into a GFCI outlet.

Worked example

A 20 × 15 ft yard crisscrossed corner to corner, 25 ft from the outlet

What we know

  • Space: 20 ft × 15 ft
  • Layout: crisscross
  • Outlet: 25 ft from the first anchor

How it works out

  1. Path: two diagonals of 25 ft and the 15 ft side between them = 65 ft.
  2. Lights: 65 ft + 10% (6.5 ft) + the outlet (25 ft) = 96.5 ft.
  3. Strands: 5 × 24 ft = 120 ft, 3 × 48 ft = 144 ft or 1 × 100 ft = 100 ft; 1 × 100 ft leaves the fewest feet to spare.

97 ft of lights: one 100 ft strand. Corner to corner both ways across a 20 ft by 15 ft space, joined along a 15 ft side, the lights run 65 ft. Add 10% for the drape and the connections (6.5 ft) and the 25 ft to the outlet: 96.5 ft, so get at least 97 ft of lights. One 100 ft strand gives 100 ft, 3.5 ft to spare. Hang them 8 to 10 ft up from the 4 corners. The longest run between anchors, 25 ft, is over 20 ft: add a support cable and hang the lights from it. An outdoor extension cord can cover the run to the outlet instead; then 72 ft of lights is enough. Use lights rated for outdoor use, plugged into a GFCI outlet.

String lights by patio size

The lights for common patio sizes in each layout, with the 10% extra. Add the run to the outlet.

Feet of string lights for common patio sizes, around the edge, in a zigzag of four passes and crisscrossed, with 10% extra and without the run to the outlet.
SpaceAround the edgeZigzag, 4 passesCrisscross
10 × 10 ft44 ft46 ft43 ft
12 × 12 ft53 ft55 ft51 ft
16 × 12 ft62 ft56 ft58 ft
20 × 16 ft80 ft74 ft74 ft
24 × 20 ft97 ft92 ft91 ft
30 × 20 ft110 ft94 ft102 ft

A zigzag with more passes takes more feet: each pass adds about the width of the space.

How many strands

The strands that make up a length of lights, with the fewest feet to spare.

The strands for a length of string lights, 24, 48 and 100 ft each, with the fewest feet to spare.
Lights neededStrandsTogether
30 ft1 × 48 ft48 ft
50 ft3 × 24 ft72 ft
70 ft3 × 24 ft72 ft
90 ft2 × 48 ft96 ft
120 ft5 × 24 ft120 ft
150 ft7 × 24 ft168 ft
200 ft2 × 100 ft200 ft

If your lights come in other lengths, the math works the same way: divide the length by the strand and round up. Then check the box for how many strands link end to end. The limit differs from model to model, even within one brand, so look up the limit for your lights.

Hanging them

  • Height: 8 to 10 ft above the ground. Where there’s nothing to hang from, set string light poles that tall.
  • Between anchors: add a support cable for spans over 20 ft: a coated steel cable, kept tight for straight runs or a little loose for a drape. Space string light poles 15 to 25 ft apart. Some lights’ instructions also ask you to attach them to a structural support at least every 24 ft.
  • Mounting: use the mounting loops or hooks the lights come with, and don’t staple or nail the wiring.

Safety outdoors

  • Outdoor-rated lights: only lights rated for outdoor use go outside. Lights rated for wet locations suit fully exposed runs, and dry-rated lights never go outdoors.
  • A GFCI outlet: plug outdoor string lights into a GFCI outlet, and have an electrician add one if there isn’t one. The National Electrical Code requires GFCI protection on outdoor outlets in new homes. The requirement applies mainly to new construction, so check the outlet in an older house.
  • Extension cords: use only cords marked for outdoor use, and don’t plug one extension cord into another.
  • Pools and spas: keep the lights at least 16 ft away.

Before you buy

Look at where the lights will plug in before you pick a layout: a run that starts near the outlet needs the shortest cord. To shade the same patio in the daytime, the patio umbrella size calculator sizes the umbrella for your table or seating area.

Nora's note

Run a string or a clothesline along the path before you buy, from the outlet to the last anchor, and measure it. It shows the real path, corners and all, and where the anchors need to go.

Frequently asked questions

How many feet of string lights do I need?

Measure the path the lights will take between the points they hang from, add 10% for the drape and the connections, and add the run to the outlet. A 16 by 12 foot patio with a zigzag of four passes, 10 feet from the outlet, takes 66 ft: three 24 ft strands.

How do you figure string lights for a zigzag?

Each pass runs corner to corner across the short side, so it's a little longer than the width. On a 16 by 12 foot patio with four passes, each pass is 12.6 ft, and the four come to 50.6 ft before the extra and the run to the outlet.

How many string lights do you need to go around a patio?

Twice the length plus twice the width, with 10% extra and the run to the outlet. A 24 by 16 foot deck 6 feet from the outlet takes 94 ft: two 48 ft strands.

How high should patio string lights hang?

About 8 to 10 ft above the ground. That leaves enough clearance for people to walk under them, and gives comfortable light over the space.

How far apart should string light poles be?

Keep each run between poles or hooks to 20 ft or less, or add a support cable. Space string light poles 15 to 25 ft apart. Some lights' instructions also ask for a support at least every 24 ft, so check yours.

How many strands of string lights can you connect?

It depends on the lights, so check the box or the manual. The limit differs from model to model, even within one brand, and it's often listed in watts as well as in strands. If your run needs more, start a second run from another outlet instead of going past it.

Do outdoor string lights need a GFCI outlet?

Yes. Plug outdoor lights into a GFCI outlet. The National Electrical Code requires GFCI protection on the outdoor outlets of new homes, but an older house may not have one, so check, and ask an electrician to add one if it doesn't.

Next step

Patio Umbrella Size CalculatorEnter your patio table, round or rectangular, or the size of a seating area, and get the umbrella to look for: a canopy that reaches past the edge so the chairs are in the shade, and the base it needs.
Chart of string light lengths for common patio sizes, around the edge, in a zigzag and crisscrossed

Save it for later

Pin this page so it's handy when you're ready to buy.

Save to Pinterest (opens in a new tab)