Gauge scaled, yarn weighed, shaping spaced
Three calculations run a knitting or crochet project, and all three start at the swatch. This page scales your swatch gauge to the project’s real dimensions for cast-on stitches and rows, adjusting to your stitch pattern’s repeat when you give one. It estimates yarn from the weighed swatch, the only honest way to price a fabric in metres, and turns the estimate into balls to buy with a waste allowance. And it distributes increases or decreases evenly across the rows you have, as an explicit list of shaping rows, so the shaping lands where the plan says instead of where memory put it.
Mode 1 and 2: your swatch and your project
Mode 3: shaping, evenly spaced
Disclaimer: This calculator gives estimates for general information only. It is not financial, medical or other professional advice. Gauge varies between makers and even between days; a project’s yarn need is an estimate from your swatch, and buying one ball beyond it is the craft’s oldest insurance.
What this calculator does
It does the three pieces of project arithmetic from the measurements that actually determine them. Stitches and rows are scaled from your swatch’s gauge, counted the way gauge must be counted (across the middle of a blocked swatch, not at its curling edges), with the cast-on adjusted to a whole number of pattern repeats when your stitch pattern demands one, and the adjustment shown rather than hidden. Yarn is estimated by area from a weighed swatch: the swatch’s weight against the ball band’s weight and length gives the metres the swatch consumed, the area ratio scales it to the project, and a waste percentage and a whole-ball ceiling turn an estimate into a purchase. Shaping is distributed by even spacing across the available rows and printed as the explicit row list, because “decrease every few rows” is a plan that evaporates by the third repeat.
How to use it
- The swatch must be honest or nothing downstream is. Work it in the project’s yarn, needles and stitch pattern, at least 4 inches across, then wash and block it as the finished piece will be treated, and measure after. A swatch measured off the needles unblocked describes a fabric that will never exist in the garment, and every number on this page inherits the lie at full strength.
- Count stitches in the middle. Edge stitches distort and selvedges curl; gauge is the middle’s average. Count over the widest span you can and let the division do the averaging: 20 stitches over 4 inches is a measurement, 5 stitches over 1 inch is a hope.
- Weigh the swatch; do not unwind it. The yarn estimate’s credibility comes from weighing (ball before and after, or the swatch itself on a gram scale) because weight converts to length through the ball band’s own figures. Estimating by eye from a partly used ball reintroduces exactly the guesswork the mode exists to remove.
- The repeat adjustment is a negotiation, not an error. When the scaled cast-on is nudged to a pattern multiple, the width moves with it (102 stitches at this gauge is 20.4 inches, not 20). The results show the adjusted width so you can choose: exact width in stocking stitch, or exact pattern at a near width. Patterns with plus-stitches (a repeat of 6 plus 2, say) need the plus added afterwards; the page adjusts to the plain multiple and says so.
- Shaping rows are counted from where you are. The list Mode 3 prints counts rows from the next row you work. If the pattern also fixes where shaping may fall (right-side rows only, for instance), halve the effective rows available by entering the count of eligible rows you actually have, and the spacing redistributes over those.
How it is calculated
- Gauge: stitches per unit = swatch stitches / swatch width; rows per unit likewise. Cast-on = gauge x project width, rounded to the nearest whole stitch, then (with a repeat r) to the nearest multiple of r, with the adjusted width = adjusted stitches / gauge. Rows = row gauge x project height, rounded.
- Yarn: swatch metres = ball metres x (swatch grams / ball grams). Project metres = swatch metres x (project area / swatch area), areas from width x height in the same unit. With waste: x (1 + waste %). Balls to buy = ceiling(metres with waste / ball metres).
- Shaping: change = |target – current|; events = change / per-row change (the inputs are checked so this is a whole number of events, and an uneven case is reported rather than rounded silently); shaping row k of the events falls at round(k x rows available / events), the even distribution, printed as a list.
Worked examples
A sweater panel. The blocked swatch reads 20 stitches and 28 rows over 4 inches. For a panel 20 inches wide and 24 long: cast on 100 stitches, work 168 rows. With a stitch pattern repeating every 6, the cast-on adjusts to 102 stitches, a true width of 20.40 inches, and the pattern sits whole across the row. The 2-stitch nudge cost 0.4 inches of width, shown on the results because across a whole garment that is a sizing decision, not a rounding.
Yarn for that panel. The swatch weighs 12 g. The ball band says 100 g and 400 m, so the swatch consumed 48.00 m. The panel’s area is 480 square inches against the swatch’s 16, a ratio of 30, giving 1,440.00 m; with the 10% waste allowance, 1,584.00 m, which is 4 balls to buy (1,600 m in hand, 16 m of planned slack after the allowance, which the results make visible so the fifth ball is a decision, not a surprise).
Shaping a sleeve. From 100 stitches to 84 over 40 rows, decreasing 2 per shaping row: 8 shaping rows, falling on rows 5, 10, 15, 20, 25, 30, 35 and 40, dead even. Uneven cases are the norm rather than the exception, and there the list does the distributing a tired knitter at row 31 cannot be trusted to improvise.
Reading your results
Read the cast-on beside its adjusted width and decide which you are serving, the tape measure or the pattern. Read balls to buy beside the metres with waste: when the ceiling is close (a need of 1,584 against 4 balls’ 1,600), dye lots argue for the extra ball now rather than a mismatched one later, because yarn bought in two lots can differ visibly in the same garment. Read shaping lists as the rows to mark in the pattern or the row counter, and re-run the mode when a plan changes mid-piece with the rows and stitches as they then stand.
Limitations
- Your gauge is a sample of one maker on one day. Tension drifts with fatigue, mood and yarn handling, and differs between flat and in-the-round work. The calculator scales the swatch it is given faithfully; a swatch that does not represent the project’s knitting produces faithful arithmetic about the wrong fabric, which is why the pattern’s instruction to check gauge as you go survives every calculator.
- Area scaling assumes an even fabric. Cables pull in, lace opens up, colourwork floats change both gauge and yarn hunger, and garments have shaping, trims and button bands the rectangle ignores. The waste percentage is where experience enters the estimate; textured and colourwork projects deserve the higher end or beyond.
- Ball band figures are nominal. Length per ball is a manufacturer’s average with its own tolerance, and put-ups vary slightly. Weighing your actual ball and working from its true weight against the band’s length sharpens the estimate the same way measuring the actual swatch did.
- Shaping distribution is even by design. Some shaping is deliberately not even (sleeve caps, bust darts, sock heels follow shaped curves, not arithmetic spacing). Mode 3 serves the even cases, sleeves and waist shaping among them, and the pattern’s own instructions govern the sculpted ones.
Frequently asked questions
How do I calculate stitches from gauge?
Divide the swatch’s stitches by its measured width to get stitches per inch (20 over 4 inches is 5 per inch), then multiply by the width you want: 20 inches wants 100 stitches. Rows work identically with the row gauge and the length. The calculator does both directions from one swatch entry and rounds to whole stitches, then to your pattern’s repeat when you give one, because a cast-on of 100.4 stitches and a pattern that will not fit are the two failures the rounding exists to prevent.
How much yarn do I need?
Scale the swatch by area, in metres: the weighed swatch tells you its length through the ball band’s weight-to-length figures, and the project’s area divided by the swatch’s area multiplies it. The worked example lands at 1,440 m for the panel, 1,584 m with a 10% allowance, 4 balls. The method beats counting rows or guessing from similar projects because it measures this yarn in this stitch at this tension, and its one assumption, an even fabric, is the one the waste allowance is there to cover.
Why did my gauge change after blocking?
Because fibres relax and stitches settle into their washed geometry, which is the geometry the garment will actually live in. Most yarns grow in length and settle in width, some dramatically (superwash wool and silk blends especially). A gauge taken before blocking describes a temporary fabric. Block the swatch the way the garment will be washed, measure afterwards, and the calculator’s scaling is suddenly about the real cloth; skip it and the arithmetic was never the problem.
How do I space decreases evenly?
Divide the rows available by the number of shaping rows the change requires, and place each shaping row at its even share: 8 shapings over 40 rows fall every 5 rows. When the division is uneven, the even-distribution list (each shaping at the rounded position of its fraction through the rows) keeps the slope visually smooth, which is the entire requirement. Mode 3 prints the list; transfer it to the pattern or a row-counter app, because an even slope depends on hitting the rows, not on remembering the interval.
Related calculators
Method: gauge scaling from the blocked swatch with pattern-repeat adjustment, yarn estimation by weighed-swatch area scaling with a waste allowance and whole-ball ceiling, and even (rounded-position) distribution of shaping rows, exactly as defined on this page. Last reviewed: 13 October 2026.
