String lights calculator for patios, yards and tents

Enter the space and the pattern to see how many feet of café lights and how many strands to buy. A typical strand is 48 ft with a bulb every 2 to 3 ft.

Enter your measurements

ft
ft
ft
6–10 ft is typical for a canopy of lights
ft
Covered with an outdoor-rated extension cord, not lights
More options: Sag · Strand · Bulbs …
%
Lights hung with a gentle swag use more length than a tight line
ft
Check the box — 24, 48 and longer strands are sold
Enbrighten: 24 on 48 ft; Brightech: 15 on 48 ft
ft
Printed on the box or tag — Enbrighten allows up to 750 ft; others allow much less
Strands to buy3 strands
Length of lights
118 ft
Bulbs (plus about 5% spare, at least 2)
76 bulbs
Separate runs from the outlet
1 run
Extension cord to the outlet
15 ft
How we got this

zigzag: 40 ft ÷ 8 ft crossings × √(20 ft² + 8 ft²) = 108 ft + 10% = 118 ft

118 ft ÷ 48 ft strands = 3 strands

  • Use lights and cords rated for outdoor use, plugged into a GFCI-protected outlet, and keep connections off the ground and out of puddles.
  • Lights across open space need support: a guide wire (a steel cable kit) takes the weight so the cord is not doing it, and poles or a sturdy anchor at each end.

For this job · affiliate link
Outdoor string lights (48 ft)Outdoor-rated café lights on a heavy cord, with the end-to-end limit printed on the box — check it against this layout.
View on Amazon (opens in a new tab)

Next: a tent to hang them in.

Quick answers for common sizes

Worked examples for the String Lights Calculator
ExampleAnswer
How many string lights for a 20x40 tent3 strands of 48 ft (zigzag every 8 ft)

Strands by pattern for this space

Strands by pattern for this space
PatternStrands to buyLength of lightsBulbs (plus about 5% spare, at least 2)
perimeter3 strands132 ft76 bulbs
zigzag3 strands118 ft76 bulbs
parallel runs4 strands176 ft101 bulbs
center spokes4 strands164 ft101 bulbs

Café or bistro string lights are sold by the strand — 48 ft is a common length — with a bulb every 2 to 3 ft. Enbrighten’s lights space bulbs 24 in apart (24 bulbs on 48 ft); Brightech’s 48 ft strand has 15 sockets 3 ft apart. How many strands you need depends on the pattern far more than on the size of the space.

How the length is worked out

perimeter = 2 × (length + width)
zigzag ≈ (length ÷ spacing) × √(width² + spacing²)
parallel = (length ÷ spacing + 1) × width + length
strands = length of lights × (1 + sag) ÷ strand length
48 ft strands with 10% extra for sag. The cord from the outlet to the first bulb is extra.
SpacePerimeterZigzag, 8 ft spacingParallel runs, 8 ft spacing
10 × 12 ft2 strands1 strands1 strands
12 × 16 ft2 strands1 strands2 strands
20 × 20 ft2 strands2 strands2 strands
20 × 30 ft3 strands2 strands3 strands
20 × 40 ft3 strands3 strands4 strands
30 × 40 ft4 strands4 strands6 strands

Worked example

How many string lights for a 20x40 tent — zigzag, parallel and perimeter compared.

Hanging tips

  • Outdoor-rated only. Enbrighten’s FAQ is blunt: only outdoor-rated lights are safe outside. Plug into a GFCI outlet.
  • Check the linking limit. It is printed on the box; Enbrighten allows up to 750 ft, but many strands allow much less.
  • Use a guide wire for spans across open space, and clip the lights to it.
  • Plan the plug end. Start the first strand at the outlet so the cord does not cross a walkway.
  • Timer. An outdoor plug-in timer turns them on at dusk.

For a Christmas tree instead, see the Christmas tree lights calculator — for example how many lights for a 6 ft tree or how many lights for a 9 ft tree.

What you’ll need

As an Amazon Associate we earn from qualifying purchases. Links to products are affiliate links — they cost you nothing extra and help keep these calculators free.

Frequently asked questions

How many string lights do I need for a patio?

Measure the patio and pick a pattern. Around the edge of a 12 × 16 ft patio is about 62 ft of lights with sag — two 48 ft strands. A zigzag across it every 8 ft takes only about 32 ft; closer spacing takes more.

How far apart are the bulbs on string lights?

It depends on the product: Enbrighten’s café lights are 24 in apart; Brightech’s 48 ft strand has sockets 3 ft apart. Check the box.

How many strands of string lights can I connect?

Whatever the box says. Enbrighten allows up to 750 ft of its café lights end to end; other brands allow far less. Above that, run a separate cord from another outlet.

How much extra should I allow for sag?

About 10% for a gentle swag. Tight runs on a guide wire need less; deep swags between poles need more.

Sources