Guide

How many stitches to cast on

Designing your own scarf, changing a pattern's width or knitting with a different yarn? The number of stitches to cast on comes from two things: your gauge and the width you want. Multiply them, round to fit the stitch pattern, add edge stitches if you need them, and you're done. Here's how, with worked examples in centimeters and inches.

The formula

Everything starts with your gauge, the number of stitches you get over 10 cm or 4 inches in the yarn, needles and stitch you'll actually use. If you don't have it yet, knit a gauge swatch first, wash it the way you'll wash the finished piece, and measure it once it's dry. The number on the yarn label is only a starting point.

Then:

Dividing by 10 (or 4) just turns your gauge into stitches per centimeter (or per inch). Round the result to a whole stitch, and then to whatever your stitch pattern needs, which we'll get to below.

Worked example in centimeters

You want a scarf 25 cm wide. Your swatch in DK yarn on 4 mm needles has 22 stitches over 10 cm.

  1. Stitches per centimeter: 22 ÷ 10 = 2.2.
  2. Stitches for the width: 25 × 2.2 = 55.
  3. In plain garter stitch or stockinette any number works, so cast on 55 stitches.

If the result isn't a whole number, round to the nearest one: 23 cm × 2.2 = 50.6, so 51 stitches. Half a stitch makes a difference of only a few millimeters.

Worked example in inches

You want a blanket 30 inches wide. Your worsted-weight swatch has 18 stitches over 4 inches.

  1. Stitches per inch: 18 ÷ 4 = 4.5.
  2. Stitches for the width: 30 × 4.5 = 135.
  3. Cast on 135 stitches, or adjust to the stitch pattern as shown next.

One thing to keep in mind: 4 inches is 10.16 cm, not exactly 10 cm. For most projects the difference doesn't matter, but stick to one system for the whole calculation rather than mixing them.

Fitting a stitch pattern: repeats and edge stitches

Many stitch patterns only work out over a certain number of stitches. Patterns write this as “a multiple of 6 + 3”: any number you get by multiplying 6 by a whole number and adding 3 (such as 51 or 57). Common multiples:

StitchKnitting flatIn the round
Garter, stockinetteany numberany number
1×1 ribmultiple of 2 + 1multiple of 2
2×2 ribmultiple of 4 + 2multiple of 4
Seed stitchmultiple of 2 + 1multiple of 2
Lace or cablesas the stitch pattern saysusually without the “+”

The “+” stitches when knitting flat make the pattern symmetrical at both edges. In the round there are no edges, so you only need the plain multiple.

Edge stitches (also called selvage stitches) come on top: often one at each side, knitted or slipped on every row for a neat edge or as a seam allowance. A pattern repeat usually doesn't include them.

Example: back to the 25 cm scarf with 55 stitches, now in a lace pattern worked over a multiple of 6 + 3, plus one edge stitch at each side. Take off the 2 edge stitches, which leaves 53 for the pattern. The nearest numbers that fit are 51 (6 × 8 + 3) and 57 (6 × 9 + 3). With the edge stitches, that's 53 stitches (53 ÷ 2.2 ≈ 24.1 cm) or 59 stitches (59 ÷ 2.2 ≈ 26.8 cm). Pick whichever is closer to what you had in mind; for a scarf, either is fine.

Measuring around: hats, cowls and sweaters

For anything worked in the round, the width is a circumference. Measure the body part, then decide on the ease: how much bigger or smaller the piece should be. A hat sits better with negative ease, about 10 % smaller than the head.

Example: a head circumference of 56 cm (22 in), minus about 10 %, gives roughly 50 cm (20 in). At 20 stitches per 10 cm (4 in): 50 × 2 = 100 stitches, or 20 × 5 = 100 in inches. 100 is a multiple of 4, so it works for 2×2 rib in the round without any changes.

For a sweater the ease depends on the fit you want; the guide to sweater stitch counts goes through it step by step.

Ribbing vs. the main fabric

Ribbing pulls in, so it looks narrower than stockinette on the same number of stitches. Two common ways to handle it:

Always calculate from the gauge of the main fabric, not the rib, because that's the part that has to have the right width.

Crochet: the foundation chain

The calculation is the same: width × stitches per centimeter or inch. A crochet gauge is measured in the stitch you'll use, such as single or double crochet. On top of that you need a few extra chains for the height of the first stitch, the turning chain:

Stitch (US / UK)Extra chainsFirst stitch into
sc / dc+12nd chain from hook
hdc / htr+23rd chain from hook
dc / tr+34th chain from hook
tr / dtr+45th chain from hook

This assumes the turning chain doesn't count as a stitch. If your pattern counts it as the first stitch, chain one fewer.

Example: a 40 cm (about 16 in) wide piece in single crochet, gauge 16 sc per 10 cm (4 in). 40 × 1.6 = 64 stitches (in inches: 16 × 4 = 64). Chain 65 and work the first sc into the 2nd chain from the hook. Foundation chains tend to come out tight, so it often helps to chain with a hook one size larger.

Frequently asked questions

How many stitches do I cast on for a scarf?

Multiply the width by your gauge. For a 20 cm (8 in) scarf that's about 36 stitches in worsted weight at 18 stitches per 10 cm (4 in), or about 44 stitches in DK at 22 stitches per 10 cm. Then adjust to fit the stitch pattern.

How many stitches do I cast on for a hat?

Measure the head, take off about 10 % so the hat sits snugly, and multiply by your gauge. A 56 cm (22 in) head gives about 50 cm (20 in); at 20 stitches per 10 cm (4 in) that's 100 stitches, which also works for 2×2 rib in the round.

Do edge stitches count toward the width?

Yes, they take up width like any other stitch, but they usually disappear into a seam or form the edge. Work out the total from the width first, then decide how many of those stitches are edge stitches and fit the stitch pattern into the rest.

How many chains do I need for a crochet foundation?

Work out the number of stitches from your gauge, then add the turning chain: 1 extra chain for single crochet, 2 for half double crochet and 3 for double crochet (US terms), if the turning chain doesn't count as a stitch.

Let YarnSpace do the maths

YarnSpace has calculators for gauge, cast-on and yarn amounts, plus one for increasing and decreasing evenly, right next to your projects. When you've got your cast-on, counters for rows, stitches and repeats keep track of the rest.

Your cast-on, worked out in seconds

YarnSpace is the knitting and crochet app for iPhone, iPad, Mac and Apple Watch.