Crafts, Textiles, 3D Printing & Photography Yarn, Knitting & Crochet Craft Yarn Council gauge convention (4 in / 10 cm swatch)

Knitting Gauge & Cast-On Stitch Calculator

Enter what your blocked swatch actually measures and this calculator tells you how many stitches to cast on and how many rows to work for any finished size. It also rescales a published pattern to your personal gauge, so a pattern written at 22 stitches to 4 inches still fits when you knit 20. Gauge is the single reason handknits come out the wrong size: a half-stitch-per-inch error over a 40-inch sweater is five inches of chest circumference. Measure once, and every number on the pattern becomes adjustable arithmetic.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Stitches per 4 in (10 cm)Count the stitches across 4 inches of your washed and blocked swatch, including half stitches.20
Rows per 4 in (10 cm)Count the rows up 4 inches of the same blocked swatch, well away from the cast-on edge.28
Finished widthThe flat width you want the piece to measure after blocking, not the body measurement.20 in
Finished lengthThe vertical measurement you want, from cast-on edge to bind-off.24 in
Stitch pattern repeatHow many stitches one repeat of your stitch pattern takes; use 1 for stocking stitch.1
Extra edge stitchesSelvedge or balancing stitches that sit outside the repeat, such as 2 for a garter edge.0
Pattern's stated gauge (st per 4 in)The gauge printed on the pattern you are following, over 4 inches.22
Pattern's stitch countThe cast-on number the pattern gives for your size, which this rescales to your gauge.110

It returns

  • Cast-on stitches — Stitches needed to reach your finished width at your measured gauge.
  • Cast-on adjusted to your repeat — Nearest workable count that fits whole pattern repeats plus edge stitches.
  • Rows to work
  • Stitches per inch
  • Rows per inch
  • Pattern stitch count rescaled to your gauge
  • Gauge deviation from pattern

The formula

N=G4W
Rows=R4L
δ=GyouGpatGpat100

In plain text: N = round( (G ÷ 4) × W ) and N_adj = N_pattern × (G_you ÷ G_pattern)

  • NCast-on stitch count (stitches)
  • GYour gauge, stitches measured over 4 in (10 cm) (stitches / 4 in)
  • WFinished width you want after blocking (in)
  • N_patternThe stitch count printed in the pattern for your size (stitches)
  • G_you, G_patternYour gauge and the pattern's gauge, both over 4 in (stitches / 4 in)

Rows use the same relation with the row gauge and the finished length. Gauge must be measured on a washed and blocked swatch worked in the stitch pattern the piece will use.

Updated Category Yarn, Knitting & Crochet Verified against published test cases Reading time 11 min

What gauge is and why every pattern starts with it

Gauge is the density of your knitted fabric: how many stitches fit in a given width and how many rows fit in a given height. The Craft Yarn Council convention, which almost every English-language pattern follows, states gauge over 4 inches or 10 centimetres — for example 20 stitches and 28 rows to 4 in in stocking stitch. Divide by four and you have stitches per inch, which is the conversion factor between the flat measurements on a schematic and the stitch counts you actually work.

Gauge is a property of the combination of yarn, needle, stitch pattern and knitter, not of the yarn alone. Two people knitting the same yarn on the same needles routinely differ by a stitch per inch, which is why the ball band's suggested gauge is a starting point for needle choice and nothing more. Your hands, your tension, your stitch pattern and your blocking method set the real number.

The consequence is arithmetic, not opinion. Suppose a pattern is written at 5 stitches per inch and you knit 5.5. Cast on the pattern's 110 stitches and you get 110 ÷ 5.5 = 20 inches instead of 22 — a garment two inches narrower across the front, four inches narrower around the body. Nothing about the knitting was wrong; the conversion factor was. This calculator makes that conversion explicit so the error never reaches your needles.

The formula, and why it is a ratio rather than a table

Every gauge calculation is one of two forms. The first converts a measurement into stitches: divide your 4-inch gauge by four to get stitches per inch, then multiply by the width you want. The second converts a stitch count written for someone else's gauge into a stitch count for yours: multiply the pattern's number by the ratio of the two gauges.

That ratio form matters because it preserves the designer's shaping. If you scale the cast-on by your gauge ratio, you scale every other stitch count in the pattern by the same factor — the underarm bind-off, the neckline, the number of stitches between decreases. A gauge that is 10% tighter than the pattern's needs 10% more stitches everywhere, not just at the hem.

Row gauge follows the identical relation with rows per inch and finished length, but it behaves differently in practice. Stitch gauge governs width, which is fixed by the cast-on and cannot be adjusted later. Row gauge governs length, which you can usually correct by simply working until the piece measures what you want. That is why patterns almost always give shaping in inches for length and in stitch counts for width, and why a stitch-gauge miss is far more expensive than a row-gauge miss.

The one place row gauge is unforgiving is shaping worked over a fixed number of rows: a sleeve increase every 6th row, a raglan decrease every other row, a set-in armhole. There the row count is doing structural work, and you should rescale it with the row-gauge ratio exactly as you rescale stitches. The yarn yardage calculator uses the same swatch to answer the other question a swatch can answer: how much yarn the whole piece will eat.

Worked example: a 20-inch wide, 24-inch long back panel

You have knitted, washed and blocked a swatch in stocking stitch. Across 4 inches you count 20 stitches; up 4 inches you count 28 rows. You want a sweater back that measures 20 inches wide and 24 inches long, and you are following a pattern written at 22 stitches to 4 inches which tells you to cast on 110.

  1. Stitches per inch. 20 ÷ 4 = 5.00 st/in.
  2. Rows per inch. 28 ÷ 4 = 7.00 rows/in.
  3. Cast-on. 5.00 × 20 in = 100 stitches.
  4. Rows to work. 7.00 × 24 in = 168 rows.
  5. Gauge deviation. The pattern is 22 ÷ 4 = 5.50 st/in. (5.00 − 5.50) ÷ 5.50 × 100 = −9.09%. Your stitches are wider than the designer's.
  6. Rescale the pattern. 110 × (5.00 ÷ 5.50) = 100 stitches. The pattern's 110 stitches at your gauge would measure 110 ÷ 5.00 = 22 inches, two inches wider than intended.
  7. Fit the repeat. If your stitch pattern is a 6-stitch repeat with 2 selvedge stitches, take (100 − 2) ÷ 6 = 16.33, round to 16 repeats, and cast on 16 × 6 + 2 = 98 stitches, which finishes at 98 ÷ 5.00 = 19.6 in.

The last step is the one knitters skip. A 100-stitch cast-on that cannot hold whole repeats forces you to fudge the pattern at one edge for the entire length of the piece. Losing 0.4 inches of width to keep the repeat honest is always the better trade.

How to read your gauge deviation

Treat the deviation figure as a decision, not a score. Under about 2% — roughly a tenth of a stitch per inch — you can knit the pattern as written; over a 40-inch garment that is under an inch of circumference, inside the tolerance of blocking. Between 2% and 5%, rescale the numbers rather than change needles, because the fabric you have swatched is presumably the fabric you like.

Above about 5%, change needles. A gauge that far off usually means the fabric itself is wrong for the yarn: too tight and the garment will be stiff and will not drape; too loose and it will grow, pill and lose its shape. As a working rule, one needle size shifts gauge by roughly half a stitch per inch in worsted-weight yarn, though the exact shift depends on the yarn. Re-swatch and re-measure rather than assuming.

Direction matters and is easy to get backwards. More stitches per inch means smaller stitches — a tighter gauge — so you need more of them to cross the same width, and you go up a needle size to loosen. Fewer stitches per inch means larger stitches, so you need fewer of them, and you go down a needle size to tighten. The warning this calculator prints states the direction explicitly for whichever way your swatch has landed.

One number deserves special suspicion: a swatch measured before blocking. Superwash wool, cotton and most plant fibres relax substantially in water, and a superwash yarn can gain 5–10% in width when washed. Measure the blocked swatch, treated exactly as you intend to treat the garment.

Standard gauge ranges by yarn weight

Craft Yarn Council standard yarn weight system: typical stocking-stitch gauge over 4 inches and the needle range that usually produces it.
Weight number and nameStitches per 4 inStitches per inchTypical needle (US)Typical needle (metric)
0 Lace33–408.25–10.0000–11.5–2.25 mm
1 Super fine (fingering, sock)27–326.75–8.01–32.25–3.25 mm
2 Fine (sport)23–265.75–6.53–53.25–3.75 mm
3 Light (DK)21–245.25–6.05–73.75–4.5 mm
4 Medium (worsted, aran)16–204.0–5.07–94.5–5.5 mm
5 Bulky (chunky)12–153.0–3.759–115.5–8 mm
6 Super bulky7–111.75–2.7511–178–12.75 mm
7 Jumbo6 and fewer1.5 and fewer17 and larger12.75 mm and larger

Stitches per inch is the 4-inch figure divided by four. Use the range to sanity-check your swatch: a worsted yarn measuring 26 stitches to 4 inches is being knitted far tighter than the yarn was designed for.

Mistakes that make a gauge number lie

  • Swatching too small. A 4-inch swatch measured across its whole width includes the curl and the selvedge. Knit at least 6 inches square and measure the middle 4 inches.
  • Measuring unblocked. Wash and dry the swatch the way you will wash the garment. Superwash wool and cotton change measurably; untreated wool changes less but still changes.
  • Swatching flat for a piece knitted in the round. Most knitters purl at a different tension than they knit, so stocking stitch worked flat and worked in the round give different gauges in the same yarn. Swatch in the round for a garment knitted in the round.
  • Swatching in stocking stitch for a cabled or textured piece. Cables pull in hard; lace opens out. Swatch in the stitch pattern the piece actually uses.
  • Rounding the swatch count to a whole stitch. Half stitches matter. Counting 20 when the honest answer is 20.5 is a 2.5% error, which is an inch over a 40-inch body.
  • Ignoring the stitch repeat. A cast-on that does not hold whole repeats forces a partial motif at one edge for the whole piece. Round to the repeat and accept the fractional width change.
  • Assuming row gauge does not matter. It does not for plain length, which you knit to measurement. It absolutely does for shaping spread over a fixed number of rows, such as raglan decreases and sleeve increases.

Where gauge sits among your other project numbers

Gauge is the first calculation in a project, and everything downstream depends on it. Once you know stitches and rows per inch, you also know the surface area of fabric per unit of yarn, which is what turns a swatch into a shopping list — that is the job of the yarn yardage calculator, which uses the same swatch you have already knitted and weighed.

Crochet works identically with one substitution: count stitches and rows over 4 inches of blocked fabric exactly as knitters do, and hook size replaces needle size. Because a single crochet stitch is much taller relative to its width than a knit stitch, crochet row gauge is typically far lower than its stitch gauge, and the row warning in this calculator is tuned for knitting rather than crochet.

Machine knitters and weavers use the same ratio under different names — stitches per inch becomes needle spacing or ends per inch — and the same failure mode applies: a sett or a tension dial that differs from the draft rescales the entire piece. The same logic drives fabric planning in sewing, where the analogue of gauge is the usable width of the bolt; see the fabric yardage calculator for how that plays out in cutting layouts.

Finally, resist the temptation to adjust gauge by changing yarn rather than needles. A yarn substitution changes the fabric's weight, drape and yardage per gram at the same time as its gauge, so the swatch you knit to fix a gauge problem must be knitted in the yarn you will actually use for the garment.

Key terms

Gauge (tension)
The number of stitches and rows in a stated measurement of knitted fabric, conventionally 4 in or 10 cm. British patterns call it tension.
Blocking
Washing and drying a finished piece or swatch to set the stitches. Gauge measured before blocking is not the gauge the garment will have.
Stitch repeat
The number of stitches in one full cycle of a stitch pattern. A cast-on must usually be a whole number of repeats plus any edge stitches.
Ease
The difference between the finished garment measurement and the body measurement. Enter the finished measurement in this calculator, with ease already added.

Frequently asked questions

How big should my gauge swatch be?

At least 6 inches square, and larger for bulky yarn or a big stitch repeat. You measure only the middle 4 inches, because the outer inch on every side is distorted by the cast-on, the bind-off and the selvedge stitches. A swatch that is exactly 4 inches wide gives you no undistorted fabric to measure at all, which is the single most common reason a swatch and a garment disagree.

Do I have to wash and block the swatch before measuring?

Yes, and you should treat it exactly as you will treat the finished garment. Superwash wool, cotton, linen and bamboo all relax when wet, and a superwash yarn can gain several percent in width. Untreated wool moves less but still evens out. If you measure dry off the needles and the garment is later washed, the garment changes size and the swatch cannot warn you.

My stitch gauge matches but my row gauge does not. Does it matter?

Usually not for plain length, because you knit to a measurement rather than a row count. It matters wherever shaping is spread over a fixed number of rows: raglan and sleeve-cap decreases, sleeve increases every nth row, and short-row shaping. In those places, multiply the pattern's row count by your row gauge divided by the pattern's row gauge, and respace the shaping over the new number.

Which way do I change needles if my gauge is off?

Too many stitches per inch means your stitches are too small, so go up a needle size. Too few stitches per inch means your stitches are too big, so go down a needle size. As a rule of thumb one needle size moves worsted-weight gauge by roughly half a stitch per inch, but the shift varies by yarn, so re-swatch and re-measure rather than assume.

How much gauge deviation is acceptable before I need to rescale?

Under about 2% you can knit the pattern as written; that is under an inch of circumference on a 40-inch garment, within the range blocking can absorb. From 2% to 5%, rescale the stitch counts with the ratio rather than changing needles. Above 5%, change needle size, because a gauge that far out usually means the fabric itself is too stiff or too loose for the yarn.

Can I use this for crochet?

Yes. Count stitches and rows over 4 inches of blocked crochet fabric and enter them exactly as a knitter would, substituting hook size for needle size. The only caveat is the row-per-inch note: crochet stitches are much taller relative to their width, so a low row count is normal and is not the counting error the note is designed to catch.

Why does the calculator give a second cast-on number for my stitch repeat?

Because a cast-on that is not a whole number of repeats forces a partial motif at one edge for the entire length of the piece. The second figure rounds your ideal count to the nearest multiple of the repeat and then adds your edge stitches back on. The width change is usually a fraction of an inch and is always worth it.

Should I enter my body measurement or the finished garment measurement?

The finished garment measurement, with ease already included. A sweater meant to sit comfortably typically has two to four inches of positive ease across the chest, an oversized one considerably more, and a fitted or negative-ease garment less than the body measurement. Decide the finished width first, then let this calculator convert it into stitches.

Does yarn from a different dye lot change my gauge?

Rarely enough to matter for gauge, but it can change colour visibly. Gauge shifts come from yarn weight, fibre, needle size and your own tension, not from dye lot. Where dye lots do matter is in a garment knitted from several skeins: alternate skeins every two rows across colour-sensitive areas so any lot difference reads as texture rather than a hard line.

References