Fabric Yardage Calculator
Estimates the total yards of fabric needed for a sewing project based on garment type, size, and fabric width. Use it before buying fabric to avoid running short or over-purchasing.
About this calculator
Different garments require different base yardage, and that amount must be adjusted for the width of the fabric you are using. Most patterns are drafted for 44-inch wide fabric, so the formula scales the requirement proportionally when your fabric is narrower or wider. The core formula is: yardage = (garmentType × garmentSize × (fabricWidth / 44)) + extraAllowance. The garmentType value encodes a base yardage figure for that category (e.g., a skirt vs. a jacket), while the size multiplier scales it for larger or smaller sizes. The extra allowance adds a buffer for pattern matching, cutting errors, or shrinkage. Always pre-wash fabric before cutting, since shrinkage can reduce usable yardage by 5–10%.
How to use
Suppose you are sewing a dress (garmentType = 3), in a size large (garmentSize = 1.2), using 54-inch-wide fabric, with an extra allowance of 0.5 yards. Step 1 — plug in the values: yardage = (3 × 1.2 × (54 / 44)) + 0.5. Step 2 — solve the bracket: 54 / 44 ≈ 1.227. Step 3 — multiply: 3 × 1.2 × 1.227 ≈ 4.42. Step 4 — add allowance: 4.42 + 0.5 = 4.92 yards. Round up to the nearest 0.25 yard when purchasing, so you would buy 5 yards.
Frequently asked questions
How much extra fabric should I buy for pattern matching or shrinkage?
A standard extra allowance is 0.25–0.5 yards for simple projects and 0.5–1 yard for plaids, stripes, or large prints that need pattern matching. Pre-washing cotton or linen can cause 3–10% shrinkage, so that buffer is essential. If you are using a directional print or a nap fabric like velvet, add even more. When in doubt, buy a little extra — leftover fabric is always more useful than running short mid-project.
How does fabric width affect how many yards I need to buy?
Narrower fabric means fewer usable inches per yard, so you need more yards to cut the same pattern pieces. The formula adjusts for this by dividing your actual fabric width by 44, the standard width most patterns assume. For example, if your fabric is only 36 inches wide, you get less usable area per yard than the pattern expects, so the calculator increases the yardage accordingly. Wider fabrics like 60-inch broadcloth can actually reduce the yardage you need to buy.
Why do garment type and size affect fabric yardage calculations?
Each garment type has a different surface area — a pair of trousers uses far more fabric than a simple tote bag, and a coat uses more than a blouse. The garmentType field encodes a baseline yardage for that category. The size multiplier then scales that baseline up or down, since a size 2X garment requires noticeably more fabric than a size XS. Together they give a realistic starting estimate before you even open a pattern envelope.