Sewzy

Fabric calculator: how much fabric do I need?

To work out fabric yardage, add the seam allowance to each side of your piece, fit as many pieces as you can across the fabric width, count the rows, multiply by the piece length, add shrinkage and round up to the next ⅛ yard. This free calculator does every step for you, in inches or centimeters.

Free tool. Works in your browser and nothing you type is sent anywhere. Updated November 8, 2026.

Fabric yardage calculator

Measuring in

Use 0 if your piece size already includes it.

How the fabric yardage calculator works

The calculator treats every piece as a rectangle and lays the pieces out in rows across the width of the fabric, the way you would on a cutting table. The length of the piece runs along the grain, which is the direction of the selvage (the finished edge). Here are the steps, in order:

Cut width = piece width + 2 × seam allowanceCut length = piece length + 2 × seam allowancePieces per row = fabric width ÷ cut width, rounded downRows = number of pieces ÷ pieces per row, rounded upFabric length = rows × cut length × (1 + shrinkage percent ÷ 100)Yards = fabric length ÷ 36, rounded up to the next ⅛ yd

When the fabric has no direction, the calculator also tries the layout with every piece turned a quarter turn and keeps whichever uses less length. Check the directional box for velvet, corduroy, fleece, faux fur or a one-way print and it only tests the first layout, because the pieces cannot be turned.

Worked example. Four pieces, each 30 in long by 20 in wide, with a ⅝ in seam allowance on 44 in fabric and 5 percent shrinkage. The cut size is 31¼ in by 21¼ in. Two pieces fit across 44 in, so you need two rows of 31¼ in, which is 62½ in. Adding 5 percent gives 65⅝ in. That is 1 yard and 29⅝ in, between 1¾ yd and 1⅞ yd, so the answer rounds up to 1⅞ yd, or 1.71 m.

This is an estimate for rectangles. Real sewing patterns have curved and angled pieces that nest together, so use the yardage chart that comes with your pattern for the final number, and treat this calculator as a quick check for simple pieces such as cushion covers, tote bag panels, curtains and quilt backs. Shrinkage here is applied to the length only.

Fabric calculator for curtains, cushions and quilt backing

These three projects are made of rectangles, so the calculator gives a close answer. Type the numbers from each example into the boxes above to see the same result.

Curtains

Two curtain panels, each cut 40 in wide and 95 in long: for example 84 in finished, plus 3 in for the top and 8 in for a double bottom hem. Set the seam allowance to 0, because the hems are already in the length. Here each panel is one width of fabric. On 54 in fabric only one panel fits across, so you need two lengths of 95 in, and with 5 percent shrinkage that is 5⅝ yd. For fuller curtains you may need two or more widths of fabric per panel: count the widths first (see the FAQ below) and enter the total as the number of pieces. If the fabric has a pattern repeat (the distance before the printed design repeats), add one repeat to the length of each piece so the patterns line up.

Cushion covers

Four 18 in cushion covers, each with a front and a back square, are 8 pieces of 18 in by 18 in. With a ½ in seam allowance each cut square is 19 in, two fit across 44 in fabric, and four rows make 76 in. With 5 percent shrinkage you need 2¼ yd. For an envelope back with overlapping panels, use the sizes in the free Envelope Cushion pattern.

Quilt backing

Quilters usually make the backing 3 to 4 in bigger than the quilt top on every side, so a 60 in by 80 in top needs a backing of about 68 in by 88 in. On 44 in fabric that is two panels, each cut 35 in wide (34 in plus a ½ in seam allowance on each side) and 89 in long. Trim off the selvages, then join the panels with one seam down the middle. With 5 percent shrinkage you need 5¼ yd. Extra-wide backing fabric (about 108 in) avoids the seam, but this calculator covers widths up to 60 in.

Fabric width and yards to meters

Common fabric widths
WidthInchesCentimetersOften used for
44 to 45 in44 to 45112 to 114Quilting cotton, many printed cottons
54 in54137Lighter home decor fabric, some apparel fabric
58 to 60 in58 to 60147 to 152Apparel fabric, wide cotton, many knits
Yards to inches and meters
YardsInchesMeters
¼ yd9 in0.23 m
½ yd18 in0.46 m
¾ yd27 in0.69 m
1 yd36 in0.91 m
1½ yd54 in1.37 m
2 yd72 in1.83 m
3 yd108 in2.74 m
4 yd144 in3.66 m
5 yd180 in4.57 m

One yard is 36 in, or 0.9144 m. Fabric width is measured from selvage to selvage, so check the label on the bolt.

Embed this fabric calculator on your blog

You can put this fabric calculator on your own blog or website for free. Copy the code below and paste it into a post or page that accepts HTML. It resizes to fit phones, and nothing a visitor types is sent anywhere. Please keep the small link to Sewzy under it.

Want to see it first? Open the embed version. More free tools for your blog or class: all embeddable sewing calculators.

Printable Christmas gift tags for sewists

Sew it step by step in the Sewzy app

Every size, a guide for each step and a sewing coach when you are stuck.

Download Sewzy on the App StoreQR code for the Sewzy app on the App Store

Or get free Christmas gift tags 🎁 by email

Get our printable sewing gift tags + an embroidery design, and new free patterns every two weeks.

By signing up you join the Sewzy newsletter. Unsubscribe anytime. Privacy.

Questions about the fabric calculator

How do I calculate how much fabric I need?

Add the seam allowance to every side of each piece, count how many pieces fit across the fabric width, work out how many rows you need, multiply the rows by the cut length, add shrinkage and round up to the next ⅛ yard. The calculator above does these steps as you type.

How much extra fabric should I buy for shrinkage?

Cotton and linen can shrink when washed, so many sewists allow about 5 to 10 percent and pre-wash the fabric before cutting. The calculator starts at 5 percent. Raise it for linen, rayon or fabric you have not washed before.

How do I convert yards to meters?

Multiply yards by 0.9144. Two yards is 1.83 m, and the calculator shows the meter amount next to the yards. Fabric stores that sell by the meter usually cut in steps of 10 cm, so round up to the next 10 cm.

How much fabric do I need for curtains?

Add the top and bottom hems to the finished length. Then count the widths of fabric you need: take the finished width you want (the rod width times 1½ to 2½ for fullness), add 4 to 6 inches per panel for side hems, divide by the fabric width and round up. Multiply the number of widths by the cut length. Two panels of 84 inches finished, with 11 inches of hems and one 54 inch width each, need about 5⅝ yards, including 5 percent for shrinkage. For prints, add one pattern repeat per width.

Does this work for a real sewing pattern?

It is an estimate for rectangles only. Garment patterns have curved pieces that nest into each other, so the yardage chart printed on your pattern is more accurate. Use the chart first and use this tool for simple projects without one.

More free sewing tools

Pick a pattern tonight

Download Sewzy free and start with one of the free patterns.

Free to download

Free patternsFree
Every pattern, weekly$3.99
Every pattern, yearlyabout $0.58 a week$29.99

Premium starts with a 3-day free trial. Cancel any time in iOS Settings. Prices in USD.

Download Sewzy on the App Store