Pergola Shade & Slat Calculator

Modify the values and click the calculate button to use

Calculate Slat spacing, Slat Counts & Solar Shade Percentages

Building a pergola to create a shaded outdoor living space? Pergolas are highly popular because they filter hot sun rays without fully blocking cool summer breezes. Slat/rafter height, thickness, and spacing directly dictate how much shade is cast at solar noon. Use this calculator to estimate slat counts and shade density.

Pergola Length (ft):
Slat Width / Thickness (in):
Slat Height / Depth (in):
Slat Spacing (in):
Angle of Sun (deg):
   
Enter pergola dimensions and spacing preferences, then click Calculate to view lumber counts and shade percentages.

What Is Pergola Shade Calculation and Why Does It Matter?

A pergola is an architectural outdoor structure consisting of vertical columns that support a grid of horizontal beams and rafters. Unlike a gazebo, pavilion, or patio roof, a pergola features an open roof. This design offers a unique aesthetic appeal: it filters sunlight to create a comfortable outdoor living area while maintaining ventilation and connection to the sky. Pergola shade calculation is the process of using geometric formulas and solar angles to determine the amount of shade cast by these roof slats throughout the day, as well as the quantity of lumber required to build the structure.

The amount of solar radiation blocked by a pergola is critical for heat index management on patios. During summer months, direct sunlight can make outdoor spaces unusable. By adjusting the depth, thickness, and spacing of the top slats (also known as purlins or louvers), landscape architects can tailor the microclimate of a patio, lower the surface temperature of deck boards or pavers, and protect outdoor furniture from sun fade. Sizing these slats properly is essential. A builder must balance the volume of wood against the shade percentage; spacing slats too close together blocks natural light and breeze, while spacing them too far apart results in negligible thermal protection.

Furthermore, solar orientation plays a major role. Because the sun's position changes hourly and seasonally, a static grid of slats will cast shifting patterns of light and shadow. Precise calculations allow builders to predict shadow coverage during the hottest peak hours of the day (typically between 11:00 AM and 3:00 PM), ensuring that seating areas, outdoor kitchens, or dining spaces receive optimal protection when they are most occupied.

How to Calculate Pergola Shade (Mathematical Formulas)

Sizing slats and predicting shade density requires applying trigonometric solar calculations. The process involves calculating physical board counts and calculating the shadow coverage based on solar elevation.

First, calculate the number of slats needed to span a given pergola length. The formula is:

Slat Count = ⌈ Pergola Length (in) ÷ (Slat Width (in) + Slat Spacing (in)) ⌉ + 1

Where the length of the pergola is converted to inches by multiplying by 12. The extra "+ 1" represents the final slat at the end of the run to close the layout loop.

Second, calculate the solar shade percentage when the sun is directly overhead (solar noon, or a 90° solar angle). At this angle, only the horizontal face of the slats blocks light:

Shade % (90°) = (Slat Width ÷ (Slat Width + Slat Spacing)) × 100

Third, calculate the solar shade percentage when the sun is at an angle (θ < 90°). As the sun moves lower on the horizon, the depth/height of the slat begins to cast a shadow alongside the width. The effective shadow width (Ws) cast by a single slat is calculated using the cotangent of the sun's angle:

Shadow Width (in) = Slat Width (in) + Slat Height (in) × cot(θ)

The total shade percentage is then calculated by comparing the shadow width to the combined width and spacing of the slats:

Shade % = min(100, (Shadow Width ÷ (Slat Width + Slat Spacing)) × 100)

If the calculated shadow width exceeds the sum of the slat width and spacing, the shadows overlap, resulting in 100% full shade coverage underneath the pergola roof.

Pergola Shade Sizing & Specifications Reference Chart

The table below outlines standard lumber sizes, nominal vs. actual dimensions, typical spacings, and average shade yields at solar noon and mid-afternoon.

Nominal Lumber Size Actual Dimensions Standard Spacing Gap Shade at Noon (90°) Shade at Afternoon (45°) Recommended Shading Application
2x2 Slat 1.5" × 1.5" 3 inches 33% 66% Lightweight decorative purlins, standard residential shade
2x4 Slat (on edge) 1.5" × 3.5" 4 inches 27% 91% High-efficiency shade rafters, excellent structural durability
2x6 Slat (on edge) 1.5" × 5.5" 6 inches 20% 93% Deep architectural rafters, heavy snow load support
1x3 Slat (flat) 0.75" × 2.5" 2 inches 55% 72% Close-spaced lattice screen, lightweight budget-friendly shade

Step-by-Step Installation Guide & Professional Tips

Proper pergola construction requires accurate wood cutting, level alignment, and careful consideration of solar angles. Follow these step-by-step instructions to install your slats:

  1. Structural Orientation: Align the rafters and slats according to solar geometry. Run the slats North-South so that the East-to-West path of the sun crosses the slats perpendicularly, maximizing shadow cast. If you run the slats East-West, they will run parallel to the sun's path, resulting in minimal shade coverage during the afternoon.
  2. Selecting and Pre-Sorting Timber: Choose high-grade outdoor timbers resistant to twisting and rot, such as Western Red Cedar, Redwood, or pressure-treated pine. Check that boards are straight and free of crown warps. Sort the boards on the ground, setting aside any with minor twists to use for shorter spans or blocking.
  3. Marking Layout and Spacing: Mark the positions of the slats along the top of the supporting beams. Use a double-check template block cut to the exact spacing width (e.g., a 4-inch wood block) to ensure uniform gaps. This is faster and more accurate than measuring each individual gap with a tape measure.
  4. Fastening and Mitering: Secure the slats to the primary rafters using structural wood screws. Pre-drill screw holes near the ends of the boards to prevent the timber from splitting. Drive two screws at every intersection point to resist warping. Miter the ends of the slats at a 45-degree angle or cut decorative scroll designs for an elegant architectural detail.
  5. Staining and Surface Protection: Seal or stain the top surfaces of the slats before installation. The horizontal top face of the slats is exposed to intense UV radiation and standing rainwater, making early sealing critical to prevent splitting, checking, and decay.

Frequently Asked Questions

Should pergola slats run North-South or East-West?

Slats should run North-South. Because the sun travels from East to West, a North-South slat orientation forces the sunlight to pass across the slats throughout the day, casting maximum shadow lines onto the patio below. Running slats East-West allows the sun to align parallel with the gaps, creating minimal shade.

What is the ideal spacing gap for pergola slats?

The standard spacing is between 3 and 5 inches. Gaps smaller than 3 inches provide excellent shade but require significantly more lumber, while gaps larger than 6 inches offer very little shade. A 4-inch spacing is the industry standard for a balanced aesthetic and solar protection.

How do I calculate the timber board count for a pergola roof?

Convert the length of the pergola frame to inches, divide by the sum of the slat width and the spacing gap, round up to the nearest whole number, and add one. For example, a 12-foot pergola (144 inches) with 1.5-inch slats spaced 4 inches apart requires ⌈144 ÷ 5.5⌉ + 1 = 28 boards.

Can I place slats flat instead of on edge?

Yes, but placing slats on edge (vertically) is far more effective. Vertical slats (like 2x4s mounted with the 3.5-inch side vertical) use the depth of the board to cast much wider shadows as the sun moves, without blocking wind flow. Flat-mounted slats must be spaced much closer to achieve the same shading effect.

Do pergola slats require structural building permits?

In most jurisdictions, open-roof pergolas under 120 to 150 square feet do not require structural building permits because they are not considered habitable space and do not hold a wind or snow-accumulating roof load. However, check local zoning regulations for property setbacks and height limits before beginning construction.

Authoritative References & Standards:
Patio Garden Hardscaping Structures