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 : 2

Actual Spacing

actual_spacing = max_spacing > 0 && (ceil(interior_length / max_spacing)) > 0 ? interior_length / ceil(interior_length / max_spacing) : 0

Variables

VariableDescriptionDefault
wall_lengthWall Length(ft)40
max_spacingMax Bolt Spacing(ft)6
end_distanceDistance from Each End(in)12
interior_lengthDerived value= wall_length - 2 * end_distance / 12calculated

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
  1. 01Interior length = 40 - 2 = 38 ft
  2. 02Interior sections = ceil(38/6) = 7
  3. 03Interior bolts = 7 + 1 = 8
  4. 04Total = 8 + 2 end bolts = 10 anchor bolts

Ready to run the numbers?

Open Anchor Bolt Spacing Calculator