Skip to main content
Mathovia
Calculator

Fabric Yardage Calculator

Work out how many yards to buy for a sewing, quilting, or upholstery project based on your piece size and the fabric's bolt width.

Assumes pieces are cut in a simple grid without pattern matching. Add extra for directional prints or napped fabric.

Pieces across the width
2
Rows needed
3
Length of fabric
75.0"
Total yardage
2.08 yd
Round up when buying — most shops cut to the nearest 1/4 yard.

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 and as the finished piece width and height, as the seam allowance per edge, as the usable fabric width, and as the number of pieces:

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 inches wide and inches tall. Pieces across the width:

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 typeTypical labeled width
Quilting cotton42–44 in
Apparel / dress fabric45 in
Home-decor / upholstery54 in
Muslin, sheeting, wide backing90–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.

Frequently Asked Questions

How many yards of fabric do I need for 6 placemats 18 by 24 inches?+

With a 1/2-inch seam allowance on every edge and 44-inch fabric, each piece becomes 19 by 25 inches. Two fit across the width, so 6 pieces need 3 rows of 25 inches, or 75 inches — about 2.08 yards. Buy 2.25 yards to round up to the nearest quarter.

How wide is a bolt of fabric?+

Quilting cotton is usually 42 to 44 inches, apparel fabric around 45, home-decor fabric 54, and muslin or sheeting can be 90 to 108 inches. The usable width is 1 to 2 inches less than the labeled width once you trim the selvedges, so enter the usable figure if you know it.

How do I account for a directional print or napped fabric?+

Every piece has to be cut facing the same way, which removes the option of rotating pieces to nest them efficiently. Expect to add roughly 15 to 25 percent more yardage, and more if the pieces are close to the bolt width.

Should I pre-wash fabric before calculating yardage?+

Pre-washing natural fibers like cotton and linen before cutting prevents a finished item from shrinking or distorting later. Because the fabric shrinks in the wash — often 2 to 5 percent — buy about 10 percent extra so you still have enough after it comes out of the dryer.

How many inches are in a yard of fabric?+

A yard is 36 inches of length. The width is whatever the bolt is, so "a yard of 44-inch fabric" is a piece 36 inches long and 44 inches wide.

How much extra fabric should I buy for mistakes?+

On top of the calculated amount, add a little for cutting error and a miscut piece — a quarter to a half yard for a small project, more for a large or complex one. Pattern matching, pre-wash shrinkage, and directional layouts each add their own margin beyond that.

Related tools & reading