What this calculator does
Most stitch patterns repeat over a fixed number of stitches – ribbing over 4, a lace motif over 10 plus 3 for balance. When you design a project to a certain width, the cast-on must match both your gauge and that multiple. This calculator does both and adds any edge stitches.
How it is calculated
Exact stitches = width × gauge ÷ 10 (gauge per 10 cm). The count is rounded to the nearest valid number: stitches = multiple × round((exact − plus) ÷ multiple) + plus, then edge or selvedge stitches are added. The resulting width is (stitches without edges) ÷ gauge × 10.
Worked example
For a 50 cm wide piece at 22 stitches per 10 cm, the exact count is 110. A pattern of 'multiple of 4 plus 2' fits exactly: 4 × 27 + 2 = 110 stitches. For 52 cm the exact count would be 114.4, which rounds to 114 (4 × 28 + 2).
Inputs at a glance
- Desired width – in centimeters or inches, example 50 cm
- Stitch gauge – in stitches or rows per 10 cm or per 4 in, example 22 per 10 cm
- Pattern multiple – a plain number, example 4
- Plus stitches – a plain number, example 2
- Edge / selvedge stitches – a plain number, example 0
Practical tips
- Add one selvedge stitch at each edge if you'll seam the piece.
- Use a cast-on that matches the fabric: long-tail for most, tubular or German twisted for ribbing.
- Place a marker every 20 or so stitches to make counting easier.
FAQ
Does the cast-on edge change the width?
A tight cast-on can pull the edge in by a few centimeters. Cast on with a needle one size larger or use a stretchy method if the edge must match the fabric's width.
Should I round up or down?
To the nearest repeat; for fitted garments, choose the side that gives the ease you want.
What if the multiple is large?
With large repeats (12 or more), adjust the width slightly or add plain stitches at the edges.