What this rebar material calculator is solving
Layout quantity and procurement quantity are not the same thing. A slab may need a certain installed rebar length, but the number of stock bars you buy depends on the lengths available from the supplier, the lap allowance between pieces, and the waste margin you want to carry for cuts and handling loss.
That is what this calculator is designed to show. It starts from a simple slab grid, then translates that installed grid into a stock-bar order figure so you can compare the effect of stock-bar length and lap assumptions before procurement.