Question: how to calculate how much fabric is needed?
Answer: Width of fabric divided by width of one piece equals the number of pieces that fit into width (rounded down to the whole number). Total number of pieces divided by number of pieces that fit into width equals number of rows you need.