About the Fabric Calculator
This tool figures out how many yards or meters of fabric to buy for a sewing or quilting project. It works the way a cutting layout works in real life: pattern pieces are arranged in rows across the usable width of the fabric bolt, each piece gets a seam allowance, the rows are stacked to cover the total quantity needed, and a waste buffer is added on top for shrinkage, straightening the grain, and ordinary cutting mistakes.
The formula
Given a piece length L and width W, a fabric bolt width F, a seam allowance S, and a quantity N, the calculation runs in five steps:
- Pieces per row: floor(F ÷ (W + S)) — how many pieces fit side by side across the bolt.
- Rows needed: ceil(N ÷ pieces per row) — rows are stacked until every piece is accounted for.
- Length per row: L + S — the piece length plus its seam allowance.
- Raw length: rows × length per row, then increased by the waste buffer percentage.
- Purchase length: the raw length in inches converted to yards (÷36) or meters (× 0.0254), then rounded up to the nearest quarter yard, since most stores cut in fixed increments.
Why seam allowance and waste both matter
Seam allowance is added to a piece's cut dimensions, not its finished dimensions — a panel that finishes at 12 inches wide typically needs to be cut wider so the seam has fabric to grab. Waste is separate: it is a percentage buffer on top of the calculated length that absorbs shrinkage during pre-washing, the fabric not being perfectly square off the bolt, and the inevitable mis-cut piece. Simple projects in a solid color can often use a 5-10% buffer; directional prints, plaids, stripes, and napped fabrics that need pattern or nap matching across seams should use 15-20% or more.
Standard bolt widths
- 44-45 inches: the most common width for quilting cotton.
- 54-60 inches: typical for apparel fabrics, twill, and broadcloth.
- 108-120 inches: wide-width fabric sold specifically for seamless quilt backing.
Always measure the usable width after trimming off the selvage edges — the printed or unwoven border on each side of the bolt is not meant to be part of the finished piece.