Fabric Yardage Calculator
Calculate how many yards of fabric you need for your sewing project based on garment type, fabric width, pattern repeat, and size.
About this calculator
This calculator computes required fabric in two stages that draw from almost entirely different inputs. Fabric Needed starts from a base-yardage lookup table indexed by Garment Type and Garment Size (lines 15-25) -- five garment categories each with six size-specific yardage figures for standard 45-inch fabric. That base amount is then adjusted for Fabric Width, cut by 15% at 54-to-59-inch fabric and by 25% at 60-inch-or-wider fabric, since a wider bolt needs less length (lines 28-32), and for Pattern Repeat, which adds a waste allowance for repeat matching and rounds the total up to the next full pattern-repeat boundary before the calculator's usual round-up to the nearest eighth-yard (lines 35-46).
Price per Yard never enters any of that -- it is applied only afterward, multiplying the already-finalized yardage to produce Fabric Cost and Cost with Extra (lines 48-50), so Fabric Needed, With Safety Margin, and Meters Needed are completely unaffected by how much the fabric costs. With Safety Margin adds a flat quarter-yard buffer to Fabric Needed before its own separate round-up-to-eighth-yard step (line 49), which is why it is not always exactly 0.25 yards more than Fabric Needed.
Inputs
Results
Fabric Needed
2 yards
≈ 12 smartphones
How to Use This Calculator
- Select Garment Type: Top/Blouse, Pants, Skirt, Dress, or Jacket/Coat.
- Choose Fabric Width (45, 54, or 60 inches) — wider fabric requires fewer yards.
- Select your Garment Size to apply size-appropriate yardage adjustments.
- Review Fabric Needed (yards), With Safety Margin (yards), and Meters Needed for ordering.
- Use Fabric Cost to calculate total material spend based on your per-yard price.
What each input means
- Garment Type
- Select the type of garment you are sewing.
- Fabric Width
- Width of the fabric bolt. Common widths are 45, 54, and 60 inches.
- Pattern Repeat
- Length of the pattern repeat in inches. Enter 0 for solid or non-repeating fabric.
- Garment Size
- The size of the garment you plan to make.
- Price per Yard
- Cost of the fabric per yard.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersGarment Type = 1, Fabric Width = 45, Pattern Repeat = 0, Garment Size = 3 = 5 input(s) provided
- Calculate Fabric Needed2 = 2
- Calculate With Safety Margin2.25 = 2.25
- Calculate Meters Needed1.83 = 1.83
Engine last updated . Checked against 3 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why doesn't changing Price per Yard change how much fabric I need?
Fabric Needed, With Safety Margin, and Meters Needed are computed entirely from Garment Type, Garment Size, Fabric Width, and Pattern Repeat (lines 15-46) -- Price per Yard is never part of that calculation. It is applied one step later, multiplying the already-finalized yardage to produce Fabric Cost and Cost with Extra (lines 48-50), so it can change your total spend without ever changing the yardage figures themselves.
Why does switching to 54-inch or 60-inch fabric reduce the yardage I need?
The base yardage figure from the garment/size lookup table assumes standard 45-inch fabric. Fabric Width applies a discount on top of that base: 15% less yardage at 54 up to 59 inches wide, and 25% less at 60 inches or wider, because a wider bolt covers the same pattern pieces with less linear length (lines 28-32).
Why isn't With Safety Margin always exactly a quarter yard more than Fabric Needed?
With Safety Margin adds a flat 0.25 yards to the already-rounded Fabric Needed figure and then rounds that sum up to the nearest eighth of a yard on its own (line 49). If Fabric Needed already sits at a clean eighth-yard value the difference works out to exactly a quarter yard, but if it does not, the second rounding step can push the actual gap slightly above or below 0.25 yards.
How does Pattern Repeat change the fabric I need beyond just adding waste?
Setting Pattern Repeat above 0 first adds a proportional waste allowance based on how much of a yard each repeat consumes, then takes the resulting yardage in inches and rounds it up to the next whole multiple of the pattern repeat length itself, before the calculator's usual round-up to the nearest eighth-yard (lines 35-42). This two-stage rounding means large repeat lengths can push required yardage up by more than the waste allowance alone would suggest.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Alteration Cost Estimator
Estimate the cost and turnaround time for common clothing alterations based on garment type, alteration, fabric, and complexity.
Fashion & ClothingClothing Size Calculator
Convert body measurements to US, UK, and EU clothing sizes for shirts, pants, dresses, and shoes.
Performance ArtsCostume Fabric Calculator
Yardage for performance costumes including stretch and movement.
Furniture MakingUpholstery Spring Calculator
Calculate spring count, layout grid, spring twine, and upholstery fabric yardage for furniture seat and back construction.
Sewing & TailoringFabric Requirement Calculator
Estimate yards of fabric needed for your garment based on type, size, fabric width, and layout efficiency. Works for shirts, pants, dresses, jackets, and skirts.
More in Beauty, Fashion & Personal Care.