KnitFolio app icon KnitFolio

How many stitches fit a multiple, plus the extra stitches?

A valid count is a whole number of repeats of the multiple, plus the extra stitches. Zero repeats is allowed, so the extra stitches alone are a valid count. If your count already fits, it stays. Otherwise the nearer valid count is used, and a tie uses the higher count.

Knitting says cast on. Crochet says chain. The stitch inside the repeat is yours; this page only counts the repeats. The worked example is 23 stitches, a multiple of 4, plus 2: Cast on 22 (5 repeats of 4, plus 2). That is 1 stitch fewer than 23.

Repeat count

Cast on 22 (5 repeats of 4, plus 2). That is 1 stitch fewer than 23.

Nearest
22 (5 repeats)
Round up
26 (6 repeats)
Round down
22 (5 repeats)
Already on the multiple
no

What the rounding does

Cast on 6 (1 repeat of 4, plus 2). That is 2 stitches more than 4. The two neighbours are the same distance apart, so the higher count is used.

A valid count is repeats * multiple + extra, with repeats a whole number, 0 or above. If the stitch count is below the extra, the only candidate is the extra itself. Otherwise down = count - ((count - extra) mod multiple), and up = down + multiple when the remainder is not 0. Nearest is the closer count. An equal distance uses up.

No valid count is at or below 0. The smallest valid count is 2: 0 repeats of 4, plus 2.

A fractional stitch count is refused. A cast-on or a chain is a whole number. A multiple of 0 is refused, because every remainder would divide by zero.

What this count is for

This page does not turn a width into a stitch count. Calculate a cast-on from a width first, then bring that whole number here if the pattern needs a multiple.

This page does not space increases or decreases across a row you already have. Space increases or decreases evenly answers that question. To count rows for a length, use the row count calculator.

iOS App (Coming to the App Store · Pre-Launch): Compare Pro PlansSupport