How to Calculate Rebar for a Slab
By Uzair Arshad , Senior Civil and Structural Engineer
Last updated: April 16, 2026 · 6 min read
Calculating rebar for a slab comes down to four numbers: how many bars run lengthwise, how many run widthwise, how much total linear footage that creates, and how many stock bars you need to buy. A 20 by 30 foot slab at 12 inch spacing with 3 inch edge clearance needs 50 bar runs and 60 twenty-foot stock bars. The rebar calculator handles the full breakdown in seconds, but understanding the math helps you verify quotes and catch ordering mistakes.
How spacing and slab dimensions determine bar count
Every rebar grid starts with two measurements: the slab dimensions and the bar spacing. Spacing is the on-center distance between parallel bars, typically 12, 16, or 18 inches for residential slabs.
Before counting bars, you need to account for edge clearance. This is the gap between the concrete edge and the first bar, usually 2 to 3 inches for residential work. Subtract edge clearance from both sides of each dimension to find the effective reinforcement field.
Effective Length = Slab Length - (2 × Edge Clearance)
Effective Width = Slab Width - (2 × Edge Clearance)
A 30 foot slab with 3 inch (0.25 ft) clearance on each side has an effective length of 29.5 feet. That half-foot reduction shifts every bar inward and changes the final count.
Once you have the effective dimensions, divide by spacing to find bar counts in each direction:
Bars Along Length = floor(Effective Width / Spacing) + 1
Bars Along Width = floor(Effective Length / Spacing) + 1
The floor function drops any decimal, and you add 1 because you need a bar at both the start and end of the field. Bars “along the length” run parallel to the slab length but are spaced across the width, which is why you divide the effective width by spacing for that count.
Lengthwise and widthwise totals
Bar count alone does not tell you how much steel to order. You need total linear footage, and that means calculating each direction separately.
Bars running along the length direction each span the full slab length. Bars running along the width direction each span the full slab width. Multiply each bar count by the corresponding slab dimension:
Lengthwise Rebar = Bars Along Length × Slab Length
Widthwise Rebar = Bars Along Width × Slab Width
Keeping these separate before combining them makes it easy to spot errors. If your lengthwise total seems disproportionately high, you can check that direction’s bar count independently without untangling a combined number.
Total Rebar Length = Lengthwise Rebar + Widthwise Rebar
This total represents every foot of steel in the grid. For ordering purposes, you convert this into stock bars.
Converting total length into stock bars
Rebar comes in standard stock lengths, most commonly 20 feet. To figure out how many stock bars to buy, divide total rebar length by the stock bar length and round up:
Stock Bars Needed = ceil(Total Rebar Length / Stock Bar Length)
Always round up. You cannot buy a fraction of a bar, and cutting a 20 foot bar into two 9.5 foot pieces wastes only 1 foot. Rounding down means you come up short on the job.
One thing contractors learn the hard way: stock bar conversion does not account for overlap splices. If your slab is longer than your stock bar, you need bars to overlap by 24 to 30 bar diameters at each splice. For #4 rebar (0.5 inch diameter), that means 12 to 15 inches of extra material per splice. On slabs under 20 feet in either direction, splicing is usually not needed, but for larger slabs, add 5% to 10% to your stock bar count as a splice allowance.
Worked example: 20 by 30 foot patio slab
A homeowner is pouring a 20 by 30 foot backyard patio slab. The structural plan calls for #4 rebar at 12 inch spacing with 3 inch edge clearance. Stock bars are 20 feet long.
Step 1: Find the effective field
- Effective Length = 30 - (2 × 0.25) = 29.5 ft
- Effective Width = 20 - (2 × 0.25) = 19.5 ft
Step 2: Count bars in each direction
- Bars Along Length = floor(19.5 / 1.0) + 1 = 20 bars
- Bars Along Width = floor(29.5 / 1.0) + 1 = 30 bars
Total bar runs: 20 + 30 = 50
Step 3: Calculate total rebar length
- Lengthwise: 20 bars × 30 ft = 600 ft
- Widthwise: 30 bars × 20 ft = 600 ft
- Total: 1,200 linear feet
Step 4: Convert to stock bars
- Stock bars = ceil(1,200 / 20) = 60 stock bars
That is 60 twenty-foot bars for the grid. The widthwise bars span exactly 20 feet, so each one fits a single stock bar with no waste. The lengthwise bars also span 30 feet, meaning each one requires one full bar plus a 10 foot cut from another. Planning your cuts carefully can reduce waste, but ordering 60 bars ensures full coverage.
Step 5: Verify with the calculator
Plug 30 ft length, 20 ft width, 12 inch spacing, 3 inch edge clearance, and 20 ft stock bar length into the rebar calculator. The output should match: 20 lengthwise runs, 30 widthwise runs, 1,200 total feet, 60 stock bars.
Estimating material cost
Material cost is straightforward once you know your stock bar count. Multiply the number of bars by the price per bar:
Estimated Cost = Stock Bars × Price Per Bar
As of 2026, #4 rebar (20 ft stock bars) runs $8 to $14 per bar at most building supply yards, depending on region and order size. For the patio example above, 60 bars at $10 each comes to $600 in rebar alone.
A few cost details that trip up first-time buyers:
- Bulk pricing kicks in around 50 to 100 bars. Ask your supplier about bundle pricing. A bundle of 50 bars often costs less per stick than buying individual bars.
- Delivery fees add up for small orders. Steel is heavy. A single #4 bar at 20 feet weighs about 13.4 pounds, so 60 bars weigh roughly 800 pounds. Most suppliers charge $75 to $150 for delivery.
- Tie wire is not included. You need about 3 to 4 ties per intersection. A 50 bar grid can have hundreds of intersections, so budget for 5 to 10 pounds of tie wire.
Cost per bar is optional in the rebar calculator. Enter a price and it multiplies automatically, saving you from mental math on larger orders.
Common mistakes when calculating slab rebar
Forgetting edge clearance. Skipping the clearance step means your grid stretches to the slab edges. Bars too close to the surface corrode faster and can cause spalling within a few years. Always subtract clearance from both sides of each dimension.
Using the wrong dimension for each direction. Lengthwise bars span the slab length but are counted using the width. Swapping these produces a wrong bar count and incorrect linear footage. Double-check which dimension controls count and which controls length.
Rounding stock bars down. A slab that needs 57.3 stock bars needs 58 bars, not 57. That missing bar leaves a gap somewhere in the grid. Always round up.
Ignoring achieved spacing. When you round bar count down with the floor function, the actual distance between bars may differ slightly from the specified spacing. On small slabs, this difference can exceed an inch. The rebar spacing guide covers this in detail.
When to use the rebar calculator
Manual math works for a single slab at one spacing. But if you are comparing 12 inch vs. 16 inch spacing, or pricing out stock bar options at different lengths, the repetition gets old fast. Changing one input means recalculating bar counts, directional totals, stock conversion, and cost all over again.
The rebar calculator handles all of this instantly. Enter your slab dimensions, pick a spacing, and get the full grid breakdown with stock bar count and optional cost estimate. It is especially useful when a contractor sends you a quote and you want to verify the quantities before signing.
For related concrete work, the sonotube calculator covers cylindrical footing volumes and bag counts. If your project includes a wheelchair ramp or steps, the ramp calculator sizes the run length and slope ratio based on rise height.