That number is too big. Check what you typed.
The length and the width must be from 4 to 20 ft.
The overhang must be from 0 to 3 ft.
A pergola beam is one board of 20 ft at most: keep the length plus both overhangs at 20 ft or less.
A rafter is one board of 20 ft at most: keep the width plus both overhangs at 20 ft or less.
Slat spacing must be from 2 to 48 in.
The post height must be greater than 0 and at most 12 ft above the ground.
Posts (6×6)
Beam boards, 2×8 or 2×10 (2 per beam)
Rafters, 2×6 or 2×8
Top slats, 2×4