How to use the cast-on stitch multiple calculator
- Enter your gauge in stitches per inch or per centimeter, taken from a swatch, and the width you want, with the unit.
- Enter the stitch pattern multiple: the number of stitches in one repeat, such as 4 for a 2x2 rib.
- Enter any extra edge stitches that sit outside the repeats, and choose how to round the count.
- Read the cast-on count, the finished width, and the next counts down and up.
Formula
stitches from gauge = gauge x width
repeats = (stitches from gauge - edge stitches) / multiple
cast-on = whole repeats x multiple + edge stitches
finished width = cast-on / gauge
Rounding to the nearest fit chooses between the count with one fewer repeat and the count with one more repeat, whichever is closer to the stitches from gauge.
A rib with a multiple of 4 plus 2
At 5.5 stitches per inch and a width of 21 inches, gauge alone gives 115.5 stitches. A 4-stitch repeat plus 2 edge stitches allows 114 (28 repeats) or 118 (29 repeats). 114 is 1.5 stitches away and 118 is 2.5 away, so the nearest fit is 114, which makes a 20.73 inch width, 0.27 inch under the target. The next count up, 118, would be 21.45 inches.
For a cable panel at 4.5 stitches per centimeter with a multiple of 8 plus 2, a 40 cm width needs 180 stitches by gauge. The fits are 178 (39.56 cm) and 186 (41.33 cm), and the nearest is 178.
Why pattern multiples matter
Stitch patterns repeat across the row. A rib that works in groups of four needs a total that is a multiple of four, usually plus a few stitches to balance the edges. If the cast-on does not fit, the pattern ends mid-repeat. Starting from the count that gauge suggests and moving to the nearest fit keeps the width close to your target. When the difference matters, choose the up or down option to err on the wide or narrow side.
To work out gauge from a swatch, see the knitting gauge calculator. For how much yarn the project needs, use the yarn yardage calculator, and for blanket work, the granny square blanket calculator.
Gauge, ease and blocking
A swatch should be washed and dried the way you will care for the finished piece, because many yarns change size. The gauge you use here should come from that swatch, measured over at least 4 inches. Ease, the extra room a garment needs for the body, is part of the width you choose and is not added by this page. Stretch in ribbing means a rib looks narrower at rest than the width calculated here. The calculation is arithmetic on your numbers.
Assumptions and limits
- The gauge is the number of stitches in one inch or centimeter of the finished, relaxed fabric.
- The width is the width of the piece you want, before seams. Ease and shaping are not included.
- The pattern multiple and edge stitches are whole numbers. At least one full repeat is always kept.
- The gauge and edge stitch values shown first are examples to replace.
Frequently asked questions
What is a stitch multiple?
It is the number of stitches in one repeat of a pattern. A pattern written as "multiple of 6 plus 3" works with 33 stitches (5 repeats plus 3) or 39, but not with 36.
Should I round up or down?
Round up when the piece must be at least as wide as the target, such as a scarf you want long enough to wrap. Round down when it must not be wider than a measured space. Nearest keeps it as close as possible.
How do I measure my gauge?
Knit a swatch wider than 4 inches, wash and dry it as you would the finished piece, then count the stitches over 4 inches and divide by 4. Measure in the middle, away from the edges.
Does the calculation work for crochet?
Yes, for a foundation chain that must match a stitch pattern multiple. Use stitches per inch from a crochet swatch and enter the chain count rule of your pattern as the multiple and edge stitches.