Fabric Calculator

Find the fabric length a set of identical pieces needs.

Seven length units, live pieces-across and row counts, and a reverse solve for piece length.

Updated November 29, 2026
Frank Zhao - Creator
CreatorFrank Zhao
Loading calculator…

Introduction

This page turns a bolt width and a rectangle into a shopping figure: how many pieces fit side by side, how many rows that takes, and how long a length of cloth those rows consume. It is the arithmetic behind a quilt of squares, a stack of napkins, a set of cushion panels or a run of table runners.

Four numbers go in — the width of the fabric as it comes off the bolt, the width and length of one piece, and how many pieces you need. Three figures come back: the pieces across, the rows down, and the total length of material. The first two are answers, not inputs; only the total length can be typed into, and doing so works backwards to the piece length your cloth allows.

Every length box carries its own unit menu — millimetres, centimetres, metres, kilometres, inches, feet and yards — and each box remembers its own choice, so a bolt measured in inches and a seam measured in centimetres can sit in the same calculation.

It is a yardage answer, not a cutting diagram

The layout is treated as a grid of identical rectangles lined up the same way round, which is exactly how most repeated-piece cutting is planned. The answer is the length of cloth that grid occupies, so it tells you what to buy. It does not show blade paths, nesting, or how much of the offcut is usable afterwards.

Quick start

1

Type the fabric width

Fabric width is the distance from selvedge to selvedge on the roll you are buying, not the width of the piece you want. Common figures are about 110-115 cm for quilting cotton, 140-150 cm for dress fabric, and 280 cm for wide sheeting. Check the bolt end rather than assuming; the same print can arrive on two different widths.

2

Type the piece width and length

These are the finished measurements of one piece, with the width running across the cloth and the length running along it. The width is the one that decides how many pieces share a row; the length is the one that multiplies into the total. Type them in whichever unit you measured in — the two boxes are independent.

3

Type how many pieces you need

The count has to be a whole number of pieces. A part row is still a full row of cloth, so the answer rounds up rather than pretending you can use two fifths of a row.

4

Read the three cutting figures

Twelve squares of 12 in from a 60 in wide roll:

NacrossN_{\mathrm{across}}==⌊6012⌋=5\left\lfloor \frac{60}{12} \right\rfloor = 5
NrowsN_{\mathrm{rows}}==⌈125⌉=3\left\lceil \frac{12}{5} \right\rceil = 3
LmaterialL_{\mathrm{material}}==12×3=36 in=1 yd12 \times 3 = 36\ \mathrm{in} = 1\ \mathrm{yd}

The layout needs 5 pieces across, 3 rows and 36 in (0.9144 m) of cloth. The fifth place in the last row stays empty — that is the unavoidable waste a part row carries.

How the figures are built

The three steps are the same three questions a cutter answers at the table. First, how many pieces share the width of the cloth: the fabric width divided by the piece width, rounded down, because a partial piece at the selvedge cannot be used.

Nacross=⌊WfabricWpiece⌋N_{\mathrm{across}} = \left\lfloor \frac{W_{\mathrm{fabric}}}{W_{\mathrm{piece}}} \right\rfloor

Second, how many rows those pieces need: the piece count divided by the pieces across, rounded up, because a part row still occupies a whole row of length.

Nrows=⌈NpiecesNacross⌉N_{\mathrm{rows}} = \left\lceil \frac{N_{\mathrm{pieces}}}{N_{\mathrm{across}}} \right\rceil

Third, the length of cloth: one row costs the length of a single piece, so the row count multiplies it.

Lmaterial=Lpiece×NrowsL_{\mathrm{material}} = L_{\mathrm{piece}} \times N_{\mathrm{rows}}

Because the last step is a plain multiplication, it can also run in reverse. Type the length you have bought instead and the page divides it by the row count to find the piece length it will yield:

Lpiece=LmaterialNrowsL_{\mathrm{piece}} = \frac{L_{\mathrm{material}}}{N_{\mathrm{rows}}}
WfabricW_{\mathrm{fabric}}Width of the cloth off the bolt, selvedge to selvedge
WpieceW_{\mathrm{piece}}Width of one piece across the cloth
NacrossN_{\mathrm{across}}Whole pieces that fit across, rounded down
NpiecesN_{\mathrm{pieces}}Total number of identical pieces needed
NrowsN_{\mathrm{rows}}Rows down the cloth, rounded up for a part row
LpieceL_{\mathrm{piece}}Length of one piece along the cloth
LmaterialL_{\mathrm{material}}Total length of cloth the layout occupies

All six length boxes are converted to metres before any of this runs, and the figures you see are converted back to whichever unit each box is set to. That is why a bolt entered as 60 in and a piece entered as 30 cm still meet correctly in the middle:

LbaseL_{\mathrm{base}}==Lentered×funitL_{\mathrm{entered}} \times f_{\mathrm{unit}}fin=0.0254f_{\mathrm{in}} = 0.0254fcm=0.01f_{\mathrm{cm}} = 0.01

Rounding is a planning decision, not a display detail

The two roundings point in opposite directions on purpose: pieces across rounds down so you never plan a piece that does not fit, and rows down rounds up so you never plan cloth you do not have. Buying for the unrounded figure is the classic way to come up a few inches short.

Worked examples

1

A dozen squares from quilting cotton

Situation: A 60 in wide bolt of quilting cotton, and twelve 12 in squares for a small quilt top.

Inputs

Fabric width60 in (1.524 m)
Piece width12 in (0.3048 m)
Piece length12 in (0.3048 m)
Pieces12

Result

NacrossN_{\mathrm{across}}==⌊6012⌋=5\left\lfloor \frac{60}{12} \right\rfloor = 5
NrowsN_{\mathrm{rows}}==⌈125⌉=3\left\lceil \frac{12}{5} \right\rceil = 3
LmaterialL_{\mathrm{material}}==12×3=36 in12 \times 3 = 36\ \mathrm{in}

Pieces across

5

Rows down

3

Length of material

0.9144 m

Each length box keeps its own unit, so the same cloth reads differently depending on the menu you choose for the material length: 0.9144 in metres, 36 in inches, 1 in yards. The pieces across and the rows down are plain counts and never change with a unit menu.

In practice: Buy 1 yard (0.91 m), not 12 × 12 in of area. Five squares sit across the 60 in width, three rows of 12 in run down the bolt, and the last row has one square in it — the empty place is the waste you are paying for.

2

A hundred and twenty napkins

Situation: A 150 cm wide linen for 120 napkins measuring 30 cm by 40 cm.

Inputs

Fabric width150 cm (1.5 m)
Piece width30 cm (0.3 m)
Piece length40 cm (0.4 m)
Pieces120

Result

NacrossN_{\mathrm{across}}==⌊15030⌋=5\left\lfloor \frac{150}{30} \right\rfloor = 5
NrowsN_{\mathrm{rows}}==⌈1205⌉=24\left\lceil \frac{120}{5} \right\rceil = 24
LmaterialL_{\mathrm{material}}==40×24=960 cm=9.6 m40 \times 24 = 960\ \mathrm{cm} = 9.6\ \mathrm{m}

Pieces across

5

Rows down

24

Length of material

9.6 m

Twenty-four rows is the figure to give the shop. No row has an empty place, because 120 divides evenly by the 5 pieces across, so this layout needs no extra length to finish a part row. Set the material-length menu to centimetres and the same cloth reads 960 cm.

In practice: Order 9.6 m of the 150 cm linen. Twenty-four rows at 40 cm is the figure to give the shop, and every row is completely full, so there is no part-row waste at all.

3

Working backwards from cloth already bought

Situation: Two and a half metres of 110 cm wide fabric are already in the cupboard, and the plan is to cut eight pieces 50 cm wide. How long can each piece be?

Inputs

Fabric width110 cm (1.1 m)
Piece width50 cm (0.5 m)
Pieces8
Length of material2.5 m

Result

NacrossN_{\mathrm{across}}==⌊11050⌋=2\left\lfloor \frac{110}{50} \right\rfloor = 2
NrowsN_{\mathrm{rows}}==⌈82⌉=4\left\lceil \frac{8}{2} \right\rceil = 4
LpieceL_{\mathrm{piece}}==2.54=0.625 m\frac{2.5}{4} = 0.625\ \mathrm{m}

Pieces across

2

Rows down

4

Piece length

0.625 m

The piece width stays at 50 cm; only the length is solved, and 0.625 m is the longest it can be. Set the piece-length menu to centimetres and the same figure reads 62.5 cm, while the width box keeps its own 50 cm.

In practice: Eight 50 × 50 cm pieces would use exactly 2 m, so the extra half metre buys 12.5 cm of length on every piece, or one spare square. Read the answer as the longest piece this cloth will cut, not as a suggestion to make each piece longer.

Inputs worth checking

Measure the bolt, not the pattern envelope

Fabric width is the one input people guess, and it moves the answer more than anything else. A 12 in square gives five across on a 60 in roll but three across on a 44 in quilting cotton, so the same twelve squares take three rows (36 in) instead of four (48 in). Read the width from the roll rather than the pattern note.

A piece wider than the cloth reads 0 across

If the width box is wider than the fabric, the page shows 0 pieces across and leaves the row count blank with an explanation. That is not an error in the arithmetic: nothing fits. Either buy a wider cloth or turn the piece so its shorter side runs across the width.

Part rows are where the money goes

Compare a count that divides evenly by the pieces across with the count just above it. Ten squares on a five-across roll need two rows; eleven need three, so one extra square doubles the cloth. When the count is close to a multiple, it is worth checking whether the last piece could come from an offcut instead.

Your units do not have to match

Each length box keeps its own unit. A bolt in inches, a piece width in centimetres and a total in metres all work in the same calculation, because the conversion happens before the layout is worked out. Switch a box afterwards and only that box’s display changes.

Cutting a skirt rather than a stack of rectangles?

A circle skirt is the other half of the same problem — a waist circle cut from a square of cloth rather than a grid of pieces. The circle skirt calculator works out the waist radius and the square of cloth it needs for full, three-quarter, half and quarter cuts. Use it to size the square, then come back here if the skirt shares a bolt with other pieces.

Pieces that wrap around a shape

Bags are cut as one large rectangle plus corner squares, which this grid layout does not model. The bag calculator works out the rectangle of cloth for a tote or storage basket from its finished height, width and depth, including the corner squares to cut out.

Questions

Q

Does it add a seam allowance?

No. The width and length you type are the dimensions the grid occupies, so add seam and hem allowances to each piece before you enter it. For a piece finished at 30 × 40 cm with a 1 cm seam on all four sides, type 32 × 42 cm — the extra cloth is needed on every piece, and multiplying it here is the same as cutting it larger.

Q

Why is the row count higher than the count divided by the pieces across?

Because a part row costs a full row. Twelve pieces on a five-across layout divide to 2.4, but the two pieces in the third row still need that row’s length of cloth, so the answer is 3. The unrounded quotient is not a length you can buy.

Q

Can I enter yards or inches instead of metres?

Yes. Every length box has its own menu with millimetres, centimetres, metres, kilometres, inches, feet and yards, and the opening unit is metres. Convert nothing by hand: choose yards on the fabric width and inches on the piece, and the layout is unaffected because both are converted before the division.

Q

What does the length box do that the piece length box does not?

They are the same equation read in two directions. With the piece length filled in, the length of material is the answer. Type over the length of material with the amount you actually have, and the page divides by the row count to report the piece length that amount yields. The original piece length is then reported from the cloth, not from what you typed.

Q

Why does the page warn about very large figures?

A fabric wider than 4 m, a run longer than 1,000 m, or a piece count above 10,000 is possible but unusual for a single project, and each almost always means a unit or a decimal point slipped. Those figures stay on screen with a warning instead of being hidden, so you can see exactly which number looks wrong.

How far to trust it

  • No seam, hem or shrinkage allowance. The figures describe the grid the pieces occupy, not a cut list with allowances. Add them to each piece before entering it, and add any extra length you buy for pre-washing, matching or a spare piece yourself.
  • Identical pieces, same way round. Every piece is assumed to be the same rectangle lying in the same orientation. One-way prints, napped cloth, stripes and checks often cannot be turned round the way the grid assumes, and getting the most out of them needs the pieces laid out by hand.
  • The part row is waste, not usable cloth. The page counts the empty places in a part row as bought length. Those places may still be large enough for a pocket, a strip or a binding, but the total length does not shrink because of them.
  • Not a nesting or cutting optimiser. Shapes that could interlock — tapered pieces, gussets, curved panels, garment pattern pieces — are outside the model entirely. It also does not account for the selvedge margin some printers need, or for cutting around a flaw in the cloth.
  • Buy the length the shop will cut, not the exact figure. An answer of 2.36 m usually becomes 2.5 m at the counter, and a bolt can be short of its stated width. Treat the result as the minimum the grid needs and check it against the cloth in front of you before you commit.
Fabric Calculator - Fabric Yardage for Cut Pieces