ThisCalculator

Everyday

Fabric Yard Calculator: How Much Fabric You Need

Updated · Standard formula, shown below

Fabric needed 13.10 yd
Fabric needed
11.98 m
Result
Fabric width
54 in
You entered
Piece length
20 in
You entered

Fabric Yard Calculator: How Much Fabric You Need

A fabric yard calculator works out how many yards (or meters) of fabric you need for a sewing project based on the dimensions of the pieces you plan to cut. You enter the width of your fabric, the number of pieces, and each piece’s length and width, and it returns the total yardage required, accounting for standard seam allowances and layout inefficiencies. This guide explains the math, how to use the calculator, and the real-world factors that affect your final fabric purchase.

Formula

The calculator uses a straightforward layout formula:

Fabric needed (yards) = (Number of strips × Strip length) / 36

Where:

  • Number of strips = ceil( N × (L + S) / floor( Wf / (Wp + S) ) )
  • Strip length = L + S (each strip is the piece length plus seam allowance)
  • N = number of pieces
  • L = piece length (inches)
  • Wp = piece width (inches)
  • Wf = fabric width (inches)
  • S = seam allowance (inches)

The formula assumes you cut strips across the fabric width (from selvage to selvage) and then subdivide those strips into pieces. It accounts for the fact that you can fit multiple pieces side‑by‑side across the width, and it rounds up to whole strips because you cannot buy a fraction of a strip.

Worked Example

Using the default values: fabric width = 54 inches, piece length = 20 inches, piece width = 5 inches, number of pieces = 10, seam allowance = 0.5 inches.

  1. Add seam allowance to piece width: 5 + 0.5 = 5.5 inches.
  2. How many pieces fit across the width? floor(54 / 5.5) = 9 pieces per strip.
  3. Add seam allowance to piece length: 20 + 0.5 = 20.5 inches per strip.
  4. Total strips needed: ceil(10 / 9) = 2 strips (since 9 pieces fit on the first strip, the remaining 1 goes on a second strip).
  5. Total fabric length = 2 × 20.5 = 41 inches.
  6. Convert to yards: 41 / 36 = 1.14 yards.

The calculator shows 1.14 yards (or 1.04 meters). That matches the manual calculation.

Why Fabric Width Matters

Fabric comes in standard widths – most quilting cottons are 44–45 inches wide, while apparel fabrics are often 54–60 inches. The wider the fabric, the more pieces you can fit side‑by‑side, which reduces the total length needed. For example, a 60‑inch wide fabric would fit 10 pieces of 5.5‑inch width across (floor(60/5.5)=10), so you would only need 1 strip for 10 pieces, cutting the yardage nearly in half compared to a 44‑inch fabric.

Always check the actual usable width – some fabrics have a selvage that you cannot use, and some have a pattern that must be matched, which reduces the effective width.

Common Mistakes and How to Avoid Them

  • Ignoring seam allowances – Always add seam allowance to both length and width. A 0.5‑inch allowance on each side means you add 1 inch to each dimension, not 0.5.
  • Forgetting pattern repeat – If your fabric has a large motif (e.g., a floral repeat every 12 inches), you may need extra yardage to match the pattern across seams. Add 10–20% or one full repeat.
  • Rounding down – You cannot buy 1.14 yards at most stores; you must round up to the nearest 1/8 or 1/4 yard. The calculator gives a precise number, but your purchase will be the next increment.
  • Shrinkage – Pre‑wash your fabric if you plan to wash the finished item. Cotton can shrink 3–5%, so buy 5% extra.

How to Use the Calculator for Real Projects

This calculator works best for rectangular pieces – quilts squares, napkins, placemats, simple bags, or clothing panels. For curved or irregular shapes, you need a different approach: either draw a layout on graph paper or use a pattern layout from the sewing pattern.

For a quilt, you would input the dimensions of one quilt block (including seam allowance) and the number of blocks. For curtains, you would treat each panel as a piece, but remember that panels are often cut as one long piece rather than multiple strips – in that case, the formula still works if you set the piece length to the finished panel length plus hem allowances.

Limits of the Formula

This layout assumes you cut straight strips across the width. If you need to cut on the bias (diagonal), you will need significantly more fabric – typically 20–30% more. Also, if your pieces have different sizes, you cannot use a single piece size; you would need to run the calculation for each size and add the results, or manually plan the layout.

The formula does not account for fabric “nap� (one‑way prints or velvet) where all pieces must face the same direction. That forces you to cut all pieces in the same orientation, which may reduce how many fit across the width.

Alternatives to a Yard Calculator

If you do not have a calculator, you can use the “grid method�: draw a rectangle representing your fabric width, then sketch the pieces to scale. This is the most accurate for complex layouts. Many sewing pattern envelopes include a yardage chart for different widths – those are based on the same strip‑layout principle but with the pattern’s specific pieces.

For small projects, you can also simply buy 1/2 yard and see if it is enough – but that often leads to a second trip to the store.

Frequently Asked Questions

How much extra fabric should I buy?

Add 10% for shrinkage and cutting errors, plus one full pattern repeat if you are matching a print. For a 1‑yard project, buy 1.25 yards to be safe.

Does the calculator work for metric fabric widths?

Yes – the calculator accepts inches, but you can enter centimeters if you divide by 2.54. The output will be in yards/meters, but the math is the same. For a purely metric result, use centimeters for all inputs and divide by 91.44 to get yards.

Why does the calculator give a fraction of a yard?

Because fabric is sold by the yard, but your project may need only 1.14 yards. You cannot buy 0.14 yards at most stores – you would buy 1.25 or 1.5 yards. The calculator gives the exact minimum, so you know the lower bound.

Can I use this for fabric with a directional pattern?

Yes, but you must set the piece width to the width of the pattern repeat, not the actual piece width, because you need to cut each piece from the same spot in the repeat. This often doubles the yardage.

What if my pieces are not all the same size?

Run the calculation for each size separately and add the results, or manually plan the layout. The calculator assumes identical pieces – that is its main limitation.

Related

Formula used
in fw | Fabric width | in | 54 | 0
in pl | Piece length | in | 20 | 0
in pw | Piece width | in | 5 | 0
in n | Number of pieces | - | 10 | 1
in sa | Seam allowance | in | 0.5 | 0
out yards | Fabric needed | yd | (ceil(n * (pl + sa) / (floor(fw / (pw + sa)))) * (pl + sa)) / 36 | 2
out meters | Fabric needed | m | (ceil(n * (pl + sa) / (floor(fw / (pw + sa)))) * (pl + sa)) * 0.0254 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.