The formula
Usable width = fabric width − selvedges (about 1 in)
Pieces across = ⌊usable width ÷ piece width⌋; rows = ⌈pieces ÷ pieces across⌉
Length = rows × piece length (rounded up to whole pattern repeats if needed)
Yardage = length × (1 + shrinkage %) + extra allowance, ÷ 36 for yards or ÷ 39.37 for metres
Worked example
- Six pieces of 20 × 30 in from 44 in fabric:
- Usable width = 43 in, so 2 pieces fit across and 3 rows are needed: 90 in of fabric.
- Adding 5% shrinkage and 4 in extra gives 98.5 in, or 2.75 yards (2.50 m).
- At $12.99 a yard, that's $35.72.
How much fabric do you need?
Fabric is sold by length from a bolt of fixed width, typically 44–45 inches (112–115 cm) for quilting cottons and dressmaking fabrics, 54–60 inches (137–150 cm) for many apparel and home décor fabrics, and 108–118 inches for wide backings and sheeting. To find the length you need, work out how many pieces fit across the usable width, how many rows of pieces that requires and how long those rows are. The calculator does this for any number of identical pieces and adds allowances for shrinkage and mistakes.
Fabric width and selvedges
The selvedges, the finished edges along each side of the fabric, are often printed with the manufacturer's name and shrink differently from the rest, so they're usually trimmed off. The calculator allows about half an inch on each side. Check the actual width of your fabric, since nominal 44-inch fabric is often 42–43 inches of usable width after washing. Wider fabric often needs much less length for the same pieces, so compare the cost per usable area rather than per yard.
Grain, nap and pattern repeats
Pieces for clothing usually need to follow the grain, the direction of the threads parallel to the selvedge, so they hang and stretch correctly. If grain doesn't matter, such as for some craft projects, allowing pieces to rotate can save fabric. Directional prints, plaids, stripes and fabrics with nap, such as velvet and corduroy, need all pieces facing the same way and may need extra for matching. For large prints, enter the pattern repeat to round each piece's length up to whole repeats so motifs line up.
Shrinkage and pre-washing
Natural fibres such as cotton, linen and rayon can shrink by 3–10% when first washed, more in hot water and dryers. Pre-washing fabric before cutting prevents finished items from shrinking and colours from bleeding. Add a shrinkage allowance to your yardage if you'll pre-wash. Synthetic fabrics such as polyester usually shrink very little. The extra allowance covers straightening the cut edge, cutting mistakes and test pieces.
Buying fabric
Fabric shops usually cut to the nearest eighth or quarter yard, or 10 cm in metric countries. The calculator rounds your total up to practical amounts. Buy a little extra for projects where running out would be a problem, since dye lots vary and fabric can sell out. For curtains, upholstery and garments with complex pattern pieces, follow the pattern's own yardage chart, which accounts for curved and irregular pieces that don't nest as neatly as rectangles.
Converting yards and metres
One yard is 36 inches or 91.44 cm, and one metre is about 1.094 yards. A fat quarter in quilting is 18 × 22 inches, a quarter yard cut across the width but folded in half the other way, and a fat eighth is 9 × 22 inches. Our length converter converts other units, and the GSM fabric weight calculator converts fabric weights between GSM and ounces per square yard.
Related sewing tools
Quilters can use the quilt backing and binding calculator for backs and binding strips, and dressmakers the circle skirt calculator for skirts cut from circles. For knitted projects, the yarn and knitting gauge calculator estimates yarn amounts.