Anchor Bolt Spacing Calculator Formula
Understand the math behind the anchor bolt spacing calculator. Each variable explained with a worked example.
Formulas Used
Anchor Bolts Needed
num_bolts = max_spacing > 0 ? ceil(interior_length / max_spacing) + 1 + 2 : 2Actual Spacing
actual_spacing = max_spacing > 0 && (ceil(interior_length / max_spacing)) > 0 ? interior_length / ceil(interior_length / max_spacing) : 0Variables
| Variable | Description | Default |
|---|---|---|
wall_length | Wall Length(ft) | 40 |
max_spacing | Max Bolt Spacing(ft) | 6 |
end_distance | Distance from Each End(in) | 12 |
interior_length | Derived value= wall_length - 2 * end_distance / 12 | calculated |
How It Works
Anchor Bolt Layout
The IRC requires anchor bolts no more than 6 feet apart, with one bolt within 12 inches of each end of the sill plate and each side of openings. Seismic zones may require closer spacing (4 ft) or larger bolts.
Interior bolts = ceil(Interior Length / Spacing) + 1 Total = Interior + 2 end bolts
Worked Example
40 ft wall, 6 ft max spacing, 12 in from ends.
wall_length = 40max_spacing = 6end_distance = 12
- 01Interior length = 40 - 2 = 38 ft
- 02Interior sections = ceil(38/6) = 7
- 03Interior bolts = 7 + 1 = 8
- 04Total = 8 + 2 end bolts = 10 anchor bolts
Ready to run the numbers?
Open Anchor Bolt Spacing Calculator