A slab grid needs about 3 inches of cover from every edge or the bar rusts and spalls the concrete, which is why this view trims the grid inward. Residential slabs commonly run #3 or #4 bar on a 12–18 inch grid.
Field notes
The edge clearance matters more than people expect — rebar needs about 3 inches of concrete cover from any face, or it rusts and spalls the slab from the inside. That's why the calculator trims the grid in from the edges. Buy your bar in 20 ft sticks and cut on site rather than ordering odd lengths; a rebar bender and cutter rents for less than the premium on pre-cut bar.
How the rebar for a slab calculator works
The math behind the tool:
bars along a side = floor(side length ÷ spacing) + 1
total length = bars_x × width + bars_y × length Sources: Portland Cement Association (concrete density and mix guidance).