How Many Stitches to Cast On: The Formula, With Hat, Scarf, Blanket and Sweater Examples
Work out how many stitches to cast on for any width from your gauge, then round for ribbing, pattern repeats and seams. Worked examples for common projects.
The short answer: stitches to cast on = the width you want × your gauge. In centimetres that is width ÷ 10 × your stitches per 10 cm. Then round the number so your rib or stitch pattern fits, and add one stitch at each edge if the piece will be seamed.
Every “how many stitches” question comes back to the same two numbers: how wide the piece should be, and how many stitches you get in 10 cm (4 in). The width comes from the project. The gauge comes from your swatch, not from the yarn label; two knitters with the same yarn and needles often differ by a stitch or two per 10 cm. If you have not swatched yet, start with how to knit and measure a gauge swatch.
The formula
Metric: stitches = width (cm) ÷ 10 × stitches per 10 cm
Imperial: stitches = width (in) × stitches per inch (stitches per 4 in ÷ 4)
Example: you want a piece 50 cm wide and your swatch gives 18 stitches per 10 cm. 50 ÷ 10 × 18 = 90 stitches.
Measure the gauge in the stitch you will actually knit. Garter stitch, ribbing, cables and colourwork each give a different stitch count per 10 cm than plain stockinette, so a stockinette swatch will give the wrong answer for a cabled scarf.
Quick table
Stitches to cast on for common widths, by gauge. The gauges match the middle of each yarn weight’s usual range.
| Gauge (stitches per 10 cm / 4 in) | Typical yarn | 20 cm (8 in) | 50 cm (about 20 in) | 100 cm (about 40 in) |
|---|---|---|---|---|
| 28 | fingering | 56 | 140 | 280 |
| 22 | DK | 44 | 110 | 220 |
| 18 | worsted / aran | 36 | 90 | 180 |
| 14 | chunky | 28 | 70 | 140 |
Treat the table as a starting point. Your own swatch always wins.
Round to fit the pattern
The raw number rarely lands exactly where you need it. Before casting on, adjust it:
- Ribbing. 1x1 rib needs an even number of stitches in the round; 2x2 rib needs a multiple of 4. Knit flat, a symmetrical 2x2 rib needs a multiple of 4 plus 2.
- Stitch pattern repeats. Patterns say things like “multiple of 8 + 4”. That means any number that is 8 × something, plus 4: 124, 132, 140 and so on. The extra stitches balance the pattern at the edges.
- Seams. Add one selvedge stitch at each side of a piece that will be sewn up. They are taken up by the seam, so the finished width stays right.
- Borders. A garter or seed stitch border on a blanket or scarf adds its stitches on top of the main pattern. Work out the centre first, then add the border stitches on each side.
Round to the nearest number that fits, and check what that does to the width: every stitch added or removed changes the width by 10 ÷ your gauge centimetres.
Worked examples
Hat
A hat should be smaller than the head so the brim stays put. A common starting point is about 10 percent negative ease, around 5 cm on an adult head.
- Head: 56 cm. Hat: about 50 cm.
- Gauge in the round: 18 stitches per 10 cm.
- 50 ÷ 10 × 18 = 90 stitches.
- 2x2 rib needs a multiple of 4: cast on 88 for a snugger hat or 92 for a looser one.
Knit in the round, so no seam stitches.
Scarf
Scarves are usually 15 to 25 cm wide.
- Width: 20 cm. Gauge in the scarf’s stitch: 22 stitches per 10 cm.
- 20 ÷ 10 × 22 = 44 stitches.
- For a seed stitch scarf (odd number keeps the pattern symmetrical), cast on 43 or 45.
Ribbing pulls in sideways, so a ribbed scarf needs more stitches than a stockinette one of the same width. Measure your gauge on a ribbed swatch laid flat and unstretched.
Blanket
- Baby blanket: 75 cm wide. Gauge: 18 stitches per 10 cm.
- 75 ÷ 10 × 18 = 135 stitches in total.
- Garter border of 5 stitches each side: 135 − 10 = 125 stitches for the centre.
- Centre pattern is a multiple of 8 + 4: the nearest fit is 124.
- Cast on 124 + 10 = 134 stitches.
Sweater body
The width comes from the chest measurement plus ease; see the sweater size chart for how much ease each fit needs.
- Chest: 96 cm. Standard fit, 10 cm ease: 106 cm around.
- Gauge: 22 stitches per 10 cm.
- In the round: 106 ÷ 10 × 22 = 233.2. For 2x2 rib, cast on 232.
- Knit flat in two pieces: each is 53 cm, so 53 ÷ 10 × 22 = 116.6, rounded to 116, plus 2 selvedge stitches = 118 each. That is also a multiple of 4 + 2, so the 2x2 rib is symmetrical at both seams.
Gauge swatch
To measure gauge you need 10 cm clear of the edges, so the swatch should be at least 15 cm wide. Take the pattern’s stitches per 10 cm, add half again, and add a few edge stitches. For 22 stitches per 10 cm: 22 + 11 = 33, plus 3 = 36.
How long a tail for the long-tail cast on
The long-tail cast on uses a length of yarn for every stitch, so running out a few stitches from the end is common. Two reliable ways to avoid it:
- Wrap method. Wrap the yarn around the needle 10 times, unwind and measure it. That is the tail for 10 stitches. Multiply by the number of stitches ÷ 10 and add 15 to 20 cm to spare.
- Two-ball method. Cast on with the ends of two balls (or both ends of one ball) held together, so there is no tail to run out. Cut the extra strand after casting on and weave in its end.
Let the calculator do it
The gauge calculator takes your swatch and the width and length you want, and returns the stitches to cast on and the rows to knit, in centimetres or inches. It also runs the other way: enter a pattern’s stitch count and it tells you the size it will come out at your gauge.
If the piece has a motif, chart it in Knytstudio with your gauge. Knitted stitches are wider than they are tall, and the chart accounts for that, so the motif knits up in proportion and the chart shows the finished size in centimetres.
Frequently asked questions
How do I calculate how many stitches to cast on?
Multiply the width you want by your gauge. In centimetres: width ÷ 10 × stitches per 10 cm. In inches: width × stitches per inch. At 18 stitches per 10 cm, a 50 cm wide piece needs 50 ÷ 10 × 18 = 90 stitches. Then round to fit your rib or stitch pattern.
How many stitches do I cast on for 20 inches?
It depends on your gauge. At 5 stitches per inch (20 per 4 in) it is 100 stitches. At 4.5 stitches per inch it is 90, at 5.5 it is 110 and at 7 it is 140. Knit a swatch to find your own number.
How many stitches should I cast on for a gauge swatch?
Enough for about 15 cm (6 in): take the pattern's stitches per 10 cm, add half again, and add a few edge stitches. For 22 stitches per 10 cm, cast on about 36.
How many stitches do I cast on for a hat?
Measure the head, take off about 10 percent so the brim hugs, and multiply by your gauge. A 56 cm head at 18 stitches per 10 cm gives about 50 cm × 1.8 = 90 stitches, rounded to 88 or 92 for 2x2 ribbing.
Do I add stitches for seams?
For pieces knit flat and sewn together, add one selvedge stitch at each edge; they disappear into the seam. Pieces knit in the round have no seam, so no extra stitches.