How the calculator lays out your pieces
Buying fabric is a nesting problem: you have a long roll of fixed width and a set of rectangles to cut from it. The calculator above solves the simple version — pieces cut in a straight grid, no rotation, no pattern matching — and tells you how long a piece of fabric to buy.
It works in four steps. First it adds your seam allowance to every edge of the piece, so an 18-inch finished width with a 1/2-inch allowance becomes 19 inches of fabric. Then it divides the fabric width by that piece width and rounds down to see how many pieces fit across the roll. It divides your total quantity by that number and rounds up to get the number of rows. Finally it multiplies the rows by the piece length to get the total inches, and divides by 36 for yards.
The fabric yardage formula
With
The floor and ceiling are doing the real work here. You cannot cut a fraction of a piece across the width, and you cannot buy a fraction of a row, so both get rounded to a whole number — which is why buying for 5 pieces and buying for 6 sometimes costs exactly the same.
Worked example
The calculator’s defaults are 6 pieces at 18 by 24 inches, a 44-inch bolt, and a 1/2-inch seam allowance per edge.
Each piece, with allowances, is
Rows needed for 6 pieces at 2 per row:
Length of fabric, then yardage:
Fabric is usually cut to the nearest quarter yard, so you would ask for 2.25 yards.
Bolt widths and what they mean
| Fabric type | Typical labeled width |
|---|---|
| Quilting cotton | 42–44 in |
| Apparel / dress fabric | 45 in |
| Home-decor / upholstery | 54 in |
| Muslin, sheeting, wide backing | 90–108 in |
The number on the bolt is the full width including the selvedges — the tightly woven edges that you normally trim off. Usable width is generally 1 to 2 inches less. If you want the calculator to be conservative, enter the usable width rather than the label width.
Seam allowance, directional prints, and repeats
Seam allowance is the margin outside the finished edge that gets folded or stitched. Garment sewing usually uses 5/8 or 1/2 inch; quilting uses 1/4 inch. The calculator adds it to all four sides, which is the safe assumption for standalone pieces.
Two things break the simple grid:
- Directional prints and napped fabric (velvet, corduroy, one-way patterns) must all be cut the same direction. You lose the ability to rotate pieces to fit, so add roughly 15 to 25 percent.
- Large pattern repeats that need to match across seams cost you up to one extra repeat length per piece, since each cut has to start at the same point in the pattern.
If you are still getting comfortable reading a ruler and marking cuts accurately, the guide on reading a tape measure is worth a look, and the fabric yardage guide covers layout in more depth.
How much extra to buy
- Round up to the next quarter yard — most shops will not cut finer than that anyway.
- Add about 10 percent for shrinkage if you are pre-washing cotton, linen, or another natural fiber.
- Add a repeat length per seam that has to pattern-match.
- Add a small margin — a quarter to a half yard — for a miscut or a change of plan.
To sanity-check a yardage figure against metric measurements, the length converter handles yards, inches, and meters.
Common mistakes
- Forgetting the seam allowance. Cutting pieces at the finished size leaves nothing to sew with; every edge needs its margin.
- Using the label width instead of the usable width. Planning two pieces across a 44-inch bolt that only gives you 42 usable inches means one of them will not fit.
- Ignoring nap or direction. A layout that rotates half the pieces will look wrong once the fabric catches the light differently.
- Not pre-washing. A finished item that shrinks unevenly on its first wash is a common and avoidable disappointment.
- Swapping width and height. The piece dimension that runs across the bolt is the one that competes for the fabric’s width — get it the wrong way round and the yardage can change a lot.