Calculate stitches and rows from knitting gauge

Convert a measured knitting swatch into whole stitch and row counts for a rectangular finished size.

freeworks offlinenothing uploaded
ToolKnitting Gauge Calculator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Stitches and rows are divided by the measured swatch width and height to obtain gauge per centimetre, then multiplied by the target dimensions. Counts round upward to whole stitches and rows so the calculated rectangle is not shorter than requested; no ease, shaping, or stitch-repeat adjustment is added.

Formula
cast-on stitches = ceiling(stitches ÷ swatch width × target width)
  • The Craft Yarn Council recommends a 4-inch swatch made in the project yarn, needles, and stitch pattern.
  • Every measurement is required because blocked fabric, tension, yarn, and stitch structure determine gauge.

Worked example

20 stitches and 28 rows over a 10cm swatch
For a piece 100cm wide and 50cm tall
Input
											Gauge stitches: 20
Gauge rows: 28
Swatch width cm: 10
Swatch height cm: 10
Target width cm: 100
Target height cm: 50
										
Output
												Stitches per cm: 2
Rows per cm: 2.8
Cast on stitches: 200
Rows to knit: 140
											

When to use this

Sweater alterations use blocked stockinette gauge, blanket and scarf resizing uses the chosen pattern stitch, and sleeve drafting uses row gauge to place shaping over a measured length.

Edge cases

  • A swatch measured before washing may grow or shrink after blocking; only the dimensions entered here are used, so measure it after the treatment planned for the finished piece.
  • A result of 102 stitches does not become a valid “multiple of 8 plus 2” automatically; adjust the count to the pattern repeat and add selvedges explicitly.
  • A 100 cm garment target is treated as finished rectangular width, without deriving positive or negative ease from body measurements or inserting shaping.

References