Question: how to calculate how much material i need?
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.