CraftCalc

Knitting Gauge Calculator

Divide the stitches you counted by the inches they span and you have your gauge — the number that decides whether the finished piece fits. This knitting gauge calculator turns a swatch count into stitches and rows per inch, tells you whether to go up or down a needle size to hit the pattern's gauge, and works out the cast-on for any target width, snapped to your pattern repeat.

Measure a blocked swatch — at least 5″ square, measured over the middle 4″

From the pattern — blank to skip

cast on must be a multiple of this

Your gauge

Stitch gauge5 sts/in
Row gauge7 rows/in
Cast on100 stsfor 20″ wide

Gauge matches the pattern — stay on 4.5 mm needles.

How this was worked out

stitch gauge = 20 sts ÷ 4″ = 5 sts/in

row gauge = 28 rows ÷ 4″ = 7 rows/in

pattern wants 5 sts/in — you got 5 (exact)

cast on = 20″ × 5 sts/in = 100 → 100 sts

Row gauge matters for garments (length); stitch gauge decides width. If you can match only one, match stitch gauge and adjust row count to length.

Shopping list

  • 4.5 mm needlesgauge matches — start the project1

What is knitting gauge and why does it decide everything?

Gauge is your stitch density: stitches per inch = stitches counted ÷ inches measured, with rows per inch the same. Patterns specify a gauge — say 20 stitches and 28 rows over 4 inches in stockinette — because every dimension in the pattern is derived from it. A sweater written at 5 sts/in that you knit at 5.5 sts/in comes out 10% too small: a 40-inch chest becomes 36. The whole garment, every seam, all wrong — from half a stitch per inch.

When your swatch has more stitches per inch than the pattern, you are knitting tight: switch to a larger needle, one half-millimetre step at a time. Fewer stitches per inch means you knit loose: go smaller. Re-swatch after each change — gauge is a property of your hands, the yarn and the needle together, and no amount of calculation replaces the second swatch. Row gauge usually follows stitch gauge; if only rows are off, adjust pattern length by working more or fewer rows rather than changing needles.

Worked example: 22 stitches over 4 inches, pattern wants 20

Your blocked swatch measures 22 stitches and 30 rows over 4 inches: 5.5 sts/in and 7.5 rows/in. The pattern calls for 20 sts over 4 (5 sts/in) on 4.5 mm needles. You are a half stitch per inch too tight — on a 40-inch sweater that is 4 inches of lost chest. The calculator’s advice: go up to 5 mm and re-swatch. If the 5 mm swatch lands at 5 sts/in, cast on for your target width: a 20-inch back panel is 20 × 5 = 100 stitches — and if the pattern repeat is 6 stitches, the nearest multiple is 102.

Swatch properly or not at all: knit at least a 6-inch square in the pattern stitch, wash and block it exactly as you will block the finished piece, then measure across the middle 4 inches away from the distorted edges. Counting over 2 inches and doubling magnifies a half-stitch error into a full one.

Frequently asked questions

Do I really have to swatch?

For anything that must fit or finish at a specific size, yes — gauge varies by knitter, yarn, needle material and even mood. A 6-inch square takes an evening; reknitting a sweater takes a month. For scarves and blankets where exact size is flexible, you can skip it and accept the dimensions you get.

What if I match stitch gauge but not row gauge?

Match stitch gauge — it decides width and fit — then adjust length by working more or fewer rows than the pattern states. Row gauge off by 10% means knitting 10% more rows to reach the same length. Only change needle size for rows if the pattern is shaped by row count (raglan decreases, armhole shaping).

Should I measure the swatch before or after blocking?

After. Wash and block the swatch exactly as you plan to treat the finished piece — some yarns bloom, some grow, superwash tends to stretch. Measuring an unblocked swatch is measuring a different fabric than the one you will wear.

How do I convert a pattern to a different gauge?

Multiply every cast-on and stitch count by (your gauge ÷ pattern gauge) and round to the nearest pattern repeat: a 100-stitch cast-on at 5 sts/in becomes 110 at 5.5 sts/in. Lengths convert by the row-gauge ratio the same way. Or skip the math: use this calculator's cast-on output for each width in the pattern.

Does needle material change gauge?

Yes — many knitters get a tighter gauge on slick metal needles and a looser one on grippy wood or bamboo, because the stitches slide differently. Swatch on the needles you will actually use for the project.

Once your gauge is dialed in, turn the finished piece into a chart: PatternGrid’s knitting chart generator lays out stitch diagrams you can print and mark off row by row.

Formulas and standard tables are sourced in the methodology. Results are estimates — measure twice, cut once.