How to use this calculator
Enter your piece size and quantity
Type the finished width and length of one piece and how many identical pieces you need, cut from the same fabric.
Set the fabric bolt width
Pick a common width such as 44, 54, or 60 inches, or type a custom width. About an inch is subtracted for the selvage to get usable width.
Add seam allowance and pattern repeat
Enter your seam allowance, added to all sides of every piece, and the pattern repeat if your fabric has a print that must align across pieces.
Choose shrinkage and waste, then read your purchase
Select a shrinkage allowance for unwashed fabrics and a waste percentage for cutting mistakes. The result shows exact length needed and a recommended purchase rounded up to the nearest quarter yard.
Formula Reference
This calculator uses standard mathematical axioms and verified algorithms to ensure result integrity.
Related Concepts
Pro Tip
Always verify input units. Mathematical consistency depends on unit uniformity across all variables.
Results are rounded for readability. For high-precision scientific work, consider the raw output.
Related Expert Tools
More precision tools in the same niche.
Tablecloth Size Calculator
The Tablecloth Size Calculator works out the cloth size to buy or make from your table size and the drop you want, for round, square, rectangular, and oval tables. The cloth equals the table size plus twice the drop, and the tool returns the exact size needed, the nearest standard ready-made size to order, a seating estimate, and optional sewing yardage with piecing. Drop presets cover casual, formal, and floor-length looks, with floor length computed from the table height.
Quilt Binding Calculator
The Quilt Binding Calculator works out the fabric needed to bind a quilt, for both straight-grain and bias double-fold binding. From the quilt width and length it computes the binding length, the number of straight-grain strips and their yardage with the diagonal-join count, or the size of the fabric square to cut continuous bias from. It compares straight grain against bias for your quilt, estimates the finished binding width, and can estimate cost. Straight grain suits square corners; bias is required for curved or scalloped edges.
Bra Size Calculator
The Bra Size Calculator works out your band and cup size from an underbust and a bust measurement in inches or centimetres. It returns your US size plus UK, EU, French, and Australian conversions, your sister sizes for brand-to-brand fit adjustments, and a side-by-side comparison of the modern snug method against the legacy plus-four method that explains why bra calculators so often disagree. Use it as the size to try first, then refine with the sister sizes.
Fabric Calculator Logic
cut = finished + 2*seam | usable width = bolt width - selvage | pieces per width = floor(usable / cut width) | rows = ceil(pieces / per width) | length = rows * cut lengthWhy a 50-Inch Curtain Panel Won't Share a Fabric Row
Estimating fabric from area alone, total square inches divided by fabric width, and ignoring how pieces actually nest is the error that leaves people short at the cutting table. That shortcut quietly fails on wide pieces: a 50-inch curtain panel will not share a width with a second panel even though the arithmetic suggests there is room, so twice the length the area implied is actually needed. Always think in whole widths, subtract the selvage, and round each piece up rather than down, then add waste and a little for shrinkage, since a quarter yard too much costs far less than running out and chasing a matching dye lot. Buy by the layout, not by the area. The National Quilting Association publishes yardage estimation standards that make the layout-over-area principle explicit across quilt and garment project types.
What the Fabric Calculator Actually Does
This tool works out exactly how much fabric to buy for a sewing, quilting, or home-decor project, accounting for the details that trip up a quick area estimate. Enter finished piece size, quantity needed, and fabric width, and it nests pieces across the usable width, adds seam and pattern allowances, and recommends a purchase rounded up to the nearest quarter yard. As the OnlineFabricStore yardage guide emphasises, the right amount depends on how pieces fit across the bolt, not simply on total area. Because pieces come in whole widths and selvages are unusable, the calculator counts how many pieces fit side by side, works out the number of rows, rounds each piece up to the next pattern repeat where alignment matters, and adds separate shrinkage and waste allowances.
How Fabric Yardage Is Calculated
The calculation begins with a single piece: finished width and length each gain twice the seam allowance, since the allowance applies to both sides, so an 18 by 18 inch cushion panel with a half-inch seam becomes a 19 by 19 inch cut piece. Usable width is bolt width minus about an inch for unsewable selvage edges. Dividing usable width by cut width, rounded down, gives pieces per row; total pieces divided by pieces per row, rounded up, gives the number of rows; rows multiplied by cut length give the exact fabric length required. This nesting approach is what the Canvas ETC fabric guide describes as the professional method, far more accurate than dividing area by width. Our Dress Size Calculator helps translate body measurements into the finished dimensions entered here for a garment project.
Pattern Repeat, Shrinkage, and Waste
Three allowances separate an exact length from what should actually be bought. Pattern repeat is the vertical distance before a print starts over; when pieces must match, each rounds up to the next full repeat so the design aligns across seams, and a bold floral or wide plaid needs noticeably more fabric than a plain print as a result. Natural fibres can shrink five to ten percent on the first wash, so unless pre-washed, add a shrinkage allowance so the finished piece survives laundering at full size. A waste allowance, commonly ten to fifteen percent, absorbs cutting errors, fabric flaws, and grain-squaring trim.
| Stage | Example Length | Notes |
|---|---|---|
| Exact fabric needed | 1.06 yd | Rows times cut length |
| Plus 10% waste | 1.16 yd | Cutting and flaws |
| Rounded to buy | 1.25 yd | Nearest quarter yard |
Fabric Width and the Width Converter
Fabric width is the single biggest lever on length purchased, since a wider bolt lets more pieces sit side by side. Quilting cotton runs 44 to 45 inches, home-decor fabric around 54 inches, apparel fabric and knits 58 to 60 inches, quilt backing up to 108 inches, switching from narrow to wide fabric can cut required length substantially. This is also why a pattern's recommended yardage applies only to its assumed width: if a pattern calls for one width but a shop stocks another, the built-in converter applies new yardage equals pattern yardage times pattern width divided by your width, so 3 yards of 45-inch fabric becomes 2.25 yards of 60-inch fabric. As the Sew4Home width conversion chart shows, ignoring this can leave a buyer with far too much or too little.
Accuracy and Limitations
This calculator applies standard nesting arithmetic exactly, so for rectangular pieces cut on the straight grain it gives a dependable estimate, matching how a cutting table actually works, with shrinkage, waste, and pattern-repeat allowances reflecting common professional practice. For the great majority of quilting, curtain, cushion, and bag projects, the recommended purchase is the amount to buy. It does assume simple rectangular pieces in a regular grid on the straight grain, and does not plan around irregular pattern shapes, bias-cut pieces, one-way napped fabrics like velvet and corduroy, or efficient interlocking layouts a skilled cutter might use to save fabric, so complex garments still warrant a paper layout of the actual pattern pieces. It also estimates pattern-repeat loss conservatively and treats all pieces as identical. The ISO 8559-1 textile measurement vocabulary defines the fabric width, length, and dimensional conventions used across professional yardage estimation.
Frequently Asked Questions
Muhammad Shahbaz Siddiqui
Founder, TheCalculatorsHub
How piece nesting cut my curtain fabric order from a guess to an exact 5.25 yards
I was making two lined curtain panels for a bay window a while back, each finished at 50 inches wide and 84 inches long, from a home-decor fabric sold at 54 inches on the bolt. My instinct was to multiply the area and divide by the fabric width, which is exactly the trap most fabric calculators fall into. That napkin math ignored the most important fact: a 50-inch finished panel plus seam allowance becomes 51 inches wide, which barely fits inside the roughly 53 inches of usable width once the selvages are gone, so only one panel can be cut across the width, not two.
Running the real numbers through this calculator made the layout obvious. With a half-inch seam allowance the cut size came to 51 by 85 inches, one piece per width, two rows stacked down the length, for an exact 4.72 yards. After a ten percent waste allowance and rounding up to the nearest quarter yard, it recommended 5.25 yards. The OnlineFabricStore yardage guide stresses exactly this point, that you must work from how pieces nest across the usable width rather than from raw area, or you will badly under-buy on wide pieces.
The fabric also had a 12-inch floral repeat, so I used the pattern-repeat field, which rounded each panel up to the next full repeat and added roughly half a yard to keep the two panels matching across the window. I bought 5.75 yards to be safe, and both panels matched at the seam line with only a few inches left over. As the Canvas ETC fabric guide notes, a large repeat on long drops is where yardage quietly balloons, and seeing that half-yard penalty in advance saved a second trip to the store and a dye-lot mismatch.
