CalcKeep
English
CalcKeep for iPhone ↗
← All calculators

Knitting & Sewing

Knitting Cast-On Calculator for Gauge and Pattern Repeats

Calculate how many stitches to cast on from your gauge swatch, target width, stitch multiple and edge stitches.

Worked example
Cast-on stitches92

Your numbers

in

Desired width of this rectangular piece.

Count across the saved blocked swatch.

in

Width across those same stitches; use the same yarn, needle and technique.

Pattern-confirmed body repeat, excluding edge stitches.

Combined non-repeat stitches at both edges, not per edge.

Your result

For the example values

Cast-on stitches
92
Estimated width
20.444in

How many stitches should I cast on for 20 inches with a multiple of 6 plus 2?

At a gauge of 18 stitches per 4 inches, 20 inches needs at least 90 stitches. Reserve 2 edge stitches and round the remaining count up to 15 repeats of 6. Cast on 92 stitches in total for an estimated width of 20.444 inches.

This method picks the first full repeat at or above the target width for a rectangular piece. Measure gauge in the stitch pattern you plan to knit.

Formula

Cast-on stitches
Stitches per repeat × max(1, ceil((Target width × Stitches in your swatch ÷ Measured swatch width − Total edge stitches) ÷ Stitches per repeat)) + Total edge stitches
Cast-on stitches

Estimated width
(Stitches per repeat × max(1, ceil((Target width × Stitches in your swatch ÷ Measured swatch width − Total edge stitches) ÷ Stitches per repeat)) + Total edge stitches) × Measured swatch width ÷ Stitches in your swatch
Estimated width at saved gauge

When to use it

  • Assumes a rectangular repeat pattern, at least one complete body repeat and the entered total edge count.
  • This selects the first valid repeat count at or above the requested width, not the nearest size.
  • Not garment grading, shaping, a row schedule or a guarantee of finished dimensions.
  • All example values are illustrative, not recommended personal settings. Confirm the rule before saving it.

Sources

CalcKeep U.S. template · Release 2, revision 1

Worked example

Target width20 in
Stitches in your swatch18
Measured swatch width4 in
Stitches per repeat6
Total edge stitches2
Cast-on stitches92
Estimated width20.444 in
Changed inputs
Target width24 in
Stitches in your swatch18
Measured swatch width4 in
Stitches per repeat6
Total edge stitches2
Cast-on stitches110
Estimated width24.444 in
Valid boundary or precision case
Target width1 in
Stitches in your swatch20
Measured swatch width4 in
Stitches per repeat4
Total edge stitches2
Cast-on stitches6
Estimated width1.200 in