Roll width is fixed; how well you nest is not
Vinyl comes in a fixed width and you buy length. That single fact drives the whole cost of a decoration job: a design 9.5 in wide nests two across a 20 in roll, and a design 10.5 in wide nests one. Half an inch of artwork doubles your material cost per shirt, and nothing in the cutting software tells you so.
This calculator makes the nesting explicit. It works out how many designs fit across the roll allowing for your weeding gap, how many rows the quantity needs, the length that consumes, how many finished designs a whole roll yields, and what the material costs per garment. It applies equally to heat transfer vinyl on shirts, adhesive vinyl for decals, and printable transfer stock, because they are all rectangles on a fixed-width roll.
Work with the design's bounding box, not its visual size. A cutter needs the whole rectangle that encloses the artwork, so a wide, thin script logo takes as much roll width as a solid block of the same span. Sparse designs waste enormously on this measure, which is why letters are usually nested individually rather than cut as one wide piece.
Why the gap goes inside the division
Place n designs across the roll and count the gaps between them: n − 1. The row therefore occupies n·w + (n − 1)·g, and solving that against the roll width gives n = floor((W + g) ÷ (w + g)). The extra g in the numerator adds back the gap that the last design does not need.
Getting this wrong costs a column. Take a 4.625 in design on a 20 in roll with a half-inch gap. The naive division 20 ÷ (4.625 + 0.5) = 3.90 floors to three across. The correct expression (20 + 0.5) ÷ 5.125 = 4.00 gives four — and four is right, because 4(4.625) + 3(0.5) = 18.5 + 1.5 = 20.0 in, which fits the roll exactly. The two forms agree everywhere except at the boundary, and the boundary is precisely where the money is.
The length follows the same shape. Rows are ceil(qty ÷ across), always rounded up because a partial row still occupies its full height. The length consumed is rows·h + (rows − 1)·g — again, the last row carries no gap after it.
Designs per full roll uses the roll length in the same way: across × floor((L_roll + g) ÷ (h + g)). That yield figure is what you should be costing from on a repeat design, because the leftover on a partly used roll goes to the next job rather than into the bin.
Two costs come out of this and they are not the same number. The material cost per design divides only the length this job actually consumes, which is the right figure when the remainder of the roll will be used. The reference table's cost each divides the whole roll price by the designs it yields, which is the right figure when the job is a one-off and the offcut will never be touched. On the default settings those are $1.91 and $2.00 respectively.
Worked example: 50 full-front prints on a 20 in roll
You have 50 shirts to press with a 9.5 × 11 in full-front design. Your HTV is 20 in wide, sold in 5 yd rolls at $60, and you leave a half-inch gap for weeding.
- Designs across. (20 + 0.5) ÷ (9.5 + 0.5) = 20.5 ÷ 10 = 2.05, floor to 2 across.
- Rows. 50 ÷ 2 = 25 exactly, so 25 rows.
- Length consumed. 25 × 11 + 24 × 0.5 = 275 + 12 = 287 in, which is 287 ÷ 36 = 7.97 yd.
- Rows on a full roll. A 5 yd roll is 180 in. (180 + 0.5) ÷ 11.5 = 15.70, floor to 15 rows.
- Designs per roll. 2 × 15 = 30.
- Rolls to buy. ceil(50 ÷ 30) = 2 rolls.
- Price per inch. $60 ÷ 180 in = $0.3333 per inch.
- Material used. 287 × 0.3333 = $95.67, so $1.913 per shirt.
Notice what the leftover width costs you. Two designs and one gap occupy 2(9.5) + 0.5 = 19.5 in, leaving 0.5 in of the roll unused down its whole length — trivial. Now shrink the design to 6 in wide: three fit across (20.5 ÷ 6.5 = 3.15), the row count drops to 17, and the length falls to 17 × 11 + 16 × 0.5 = 195 in. A 37% reduction in design width bought a 32% reduction in material, because it bought a whole extra column.
Reading the numbers and deciding what to change
Start with the designs across. That integer is the single biggest lever in the whole calculation, and it only changes at specific widths. On a 20 in roll with a half-inch gap the widest design that still fits n across is (20 − (n − 1)×0.5) ÷ n, which gives 20.00, 9.75, 6.33, 4.625 and 3.60 in for one through five across. If your design sits just above one of those, shaving it is worth far more than any other economy — going from 10.2 in to 9.7 in wide takes you from one across to two and halves the material.
Then check the leftover strip. If more than half a design width runs unused down the side of the roll, the calculator says so. That strip is usable: rotate the artwork if it is not directional, nest a smaller second design beside it, or cut name and number blocks from it on the same pass.
The last-row warning matters on short runs. If 50 pieces need 25 full rows there is no waste, but 51 pieces need 26 rows and the 26th row is nearly empty. In that situation cutting the row full costs nothing extra in vinyl and gives you spares — worth doing, because a misfeed or a bad press on shirt 49 otherwise means re-cutting a whole row.
Finally, compare the two cost figures deliberately. The per-design material cost is the honest marginal number for a repeat customer; the whole-roll cost each is the honest number for a one-off, because you will be storing the remainder indefinitely. Pricing a one-off job from the marginal number is how decoration shops end up subsidising their own offcuts.
Designs from one 20 in × 5 yd roll
| Design | Across | Rows per roll | Designs per roll | Cost each |
|---|---|---|---|---|
| 3 × 3 in | 5 | 51 | 255 | $0.235 |
| 4 × 4 in | 4 | 40 | 160 | $0.375 |
| 6 × 6 in | 3 | 27 | 81 | $0.741 |
| 8 × 10 in | 2 | 17 | 34 | $1.765 |
| 9.5 × 11 in | 2 | 15 | 30 | $2.000 |
| 11 × 14 in | 1 | 12 | 12 | $5.000 |
| 12 × 16 in | 1 | 10 | 10 | $6.000 |
Across is floor(20.5 ÷ (w + 0.5)) and rows per roll is floor(180.5 ÷ (h + 0.5)). The jump from 8 × 10 to 11 × 14 costs almost three times as much per design, because it loses a whole column as well as rows.
Mirror heat transfer vinyl; do not mirror adhesive vinyl
HTV is cut face down through the carrier sheet, so the artwork must be mirrored in the cutting software before it goes to the machine. Adhesive vinyl for decals is cut face up and is not mirrored. Getting this backwards wastes exactly the length this calculator has just told you to buy, and it is the single most common way a beginner loses a roll. Cut one small test piece before committing a 287 in job to the machine — the test costs an inch of vinyl and catches mirroring, blade depth and force all at once.
What the nesting figure does not include
- Roll ends and leaders. Most rolls lose an inch or two at each end to the core tape and the cut edge. On a job that spans several rolls, add that per roll.
- Test cuts and misprints. Budget at least one extra row for a blade test and for the pieces that press badly. Two percent is a reasonable allowance on a long run.
- Multi-colour layering. A two-colour design consumes the calculated length in each colour, and the second layer's bounding box is often smaller than the first. Run the calculator once per colour with that colour's own bounding box.
- Irregular nesting. Text and shaped designs can be interlocked far tighter than their bounding boxes allow. This calculator gives the rectangular figure, which is a safe upper bound on material.
- Directional and patterned vinyl. Glitter, holographic and patterned stock generally has a direction, which removes the option of rotating designs to nest better.
- Cutter margins. Some machines cannot cut within a fixed distance of the roll edge or the pinch rollers. Subtract that from the roll width before entering it.
Where vinyl sits against the other decoration methods
Vinyl wins on short runs and on any job with variable data — names, numbers, one-off gifts — because there is no setup beyond loading the file. Its cost per piece is essentially flat: the fiftieth shirt costs the same in material as the first, as the numbers above show. That flatness is exactly why it loses on volume.
Screen printing inverts the trade. Screens, film and registration cost real money before the first shirt, and after that ink is cheap — work the crossover with the ink usage calculator and the screen print pricing calculator. Sublimation, costed with the sublimation print cost calculator, has no weeding at all but only works on polyester and light colours. Embroidery is priced by stitch count rather than area, which the stitch count calculator handles.
The nesting arithmetic here is the one-dimensional cutting-stock problem, and it shows up wherever material arrives on a fixed-width roll. The fabric cutting layout calculator is the same math with selvages instead of weeding gaps, which is why the two pages produce the same shape of answer for the same shape of question.
