Rebar Calculator Formula
Understand the math behind the rebar calculator. Each variable explained with a worked example.
Formulas Used
Bars Along Length
bars_lengthwise = floor(slab_width / spacing_ft) + 1Bars Along Width
bars_widthwise = floor(slab_length / spacing_ft) + 1Total Bars (both directions)
total_bars = (floor(slab_width / spacing_ft) + 1) + (floor(slab_length / spacing_ft) + 1)Total Linear Feet
total_linear_ft = (floor(slab_width / spacing_ft) + 1) * slab_length + (floor(slab_length / spacing_ft) + 1) * slab_widthRebar Sticks to Buy
rebar_sticks = ceil(((floor(slab_width / spacing_ft) + 1) * slab_length + (floor(slab_length / spacing_ft) + 1) * slab_width) / rebar_length)Variables
| Variable | Description | Default |
|---|---|---|
slab_length | Slab Length(feet) | 20 |
slab_width | Slab Width(feet) | 20 |
spacing | Rebar Spacing(inches) | 18 |
rebar_length | Rebar Length(feet) | 20 |
spacing_ft | Derived value= spacing / 12 | calculated |
How It Works
How to Calculate Rebar Needed
Formula
Bars Along Length = floor(Width / Spacing) + 1
Bars Along Width = floor(Length / Spacing) + 1
Rebar is laid in a grid pattern (both directions). Standard rebar comes in 20-foot lengths. Overlap joints should be at least 24 bar diameters (about 18 inches for #4 rebar). Common sizes are #3 (3/8"), #4 (1/2"), and #5 (5/8").
Worked Example
A 20×20 ft slab with rebar on 18-inch centers, using 20 ft rebar.
slab_length = 20slab_width = 20spacing = 18rebar_length = 20
- 01Spacing in feet = 18 / 12 = 1.5 ft
- 02Bars along length = floor(20 / 1.5) + 1 = 14 bars (each 20 ft long)
- 03Bars along width = floor(20 / 1.5) + 1 = 14 bars (each 20 ft long)
- 04Total bars = 14 + 14 = 28 bars
- 05Total linear feet = 14 × 20 + 14 × 20 = 560 lin ft
- 06Rebar sticks = 560 / 20 = 28 sticks
Ready to run the numbers?
Open Rebar Calculator