Everyday Utilities

Cast-On Stitch Multiple Calculator

Enter your gauge, width and pattern multiple to get a cast-on count that works.

Your numbers

From your gauge swatch, in stitches per inch or per centimeter. Example value.

The number of stitches in one repeat of the pattern, such as 4 for a 2x2 rib.

Stitches outside the repeats, such as selvage or balancing stitches. Example value.

Result

Cast on

114 stitches

20.73 in wide at 5.5 stitches per in.

Cast-on stitches
114
Finished width
20.73 in
Stitches from gauge alone
115.5
Pattern repeats
28
Difference from the width you want
-0.27 in
Next count down
114 (20.73 in)
Next count up
118 (21.45 in)
How this was calculated
  1. Stitches from gauge = 5.5 x 21 = 115.5.
  2. The count must be a multiple of 4 plus 2 edge stitches. Taking away the edge stitches leaves 113.5, which is 28.375 repeats.
  3. The nearest whole numbers of repeats give 114 and 118 stitches. The closer one is chosen: 114.
  4. Width = 114 / 5.5 = 20.73 in.
  • Gauge changes with yarn, needles and your hands, and again after washing. Knit and wash a swatch first. Ease and stretch of the fabric are not included.

Calculated using SumPanda.com · https://sumpanda.com/cast-on-stitch-multiple-calculator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the cast-on stitch multiple calculator

  1. Enter your gauge in stitches per inch or per centimeter, taken from a swatch, and the width you want, with the unit.
  2. Enter the stitch pattern multiple: the number of stitches in one repeat, such as 4 for a 2x2 rib.
  3. Enter any extra edge stitches that sit outside the repeats, and choose how to round the count.
  4. 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.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

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.