ToolNest logoToolNest.

Free Knitting Gauge Calculator

Last updated: October 30, 2026

Quick answer: A pattern's stitch counts only work at the pattern's gauge — knit looser or tighter and the same 100 stitches make a different sweater. This free knitting gauge calculator turns your swatch into the numbers that matter: stitches and rows per inch (and per centimeter), a cast-on rounded to your pattern repeat plus edge stitches, the row count for your target length, and a pattern conversion when the pattern was written at a different gauge. Small gauge tools stop at one ratio; this page does the whole job, so the sweater you cast on is the size the pattern promised. When the stitch counts are settled, our yarn yardage calculator turns them into how much yarn to buy. Everything runs in your browser; no signup, no app.

🔒 100% Private: Data never leaves your device.

Measure the center of a washed and blocked swatch, not the edges — edge stitches lie. Count over at least 4 inches (10 cm) where possible; a 2-inch count doubles any counting error. Worked example on the defaults: 20 stitches over 4 inches = 5 stitches per inch, 28 rows over 4 inches = 7 rows per inch, so a 20-inch width casts on 102 stitches (100 rounded to a multiple of 4, plus 2 edge stitches) and a 24-inch length takes 168 rows.

✓ Free forever  ·  ✓ No signup  ·  ✓ Tool inputs stay in your browser — never sent to our servers.

Try next: Yarn Yardage Calculator · Quilt Binding Calculator · Unit Converter

How to Use the Knitting Gauge Calculator

  1. Knit a swatch at least 4 inches (10 cm) square in the pattern's stitch, then wash and block it the way the finished garment will be washed — gauge measured on an unblocked swatch is not the gauge of the garment. Count the stitches and rows in the center of the swatch, away from the edge stitches, which are always distorted.
  2. Enter the stitches counted and the width you measured them over, plus the rows counted and the length measured. Choose inches or centimeters for all measurements — the calculator converts, and it reports gauge per inch and per centimeter either way.
  3. Enter your desired width (the finished piece, not the swatch) and your desired length. For a hat or a fitted garment, enter the width you want the knitting to measure, after any negative ease — a 22-inch head usually means knitting to about 20 inches, not 22.
  4. Enter the pattern repeat (the number of stitches one repeat of the stitch pattern takes, for example 4) and the edge stitches (for example 2 for a selvedge pair). The cast-on is rounded to the nearest multiple of the repeat, then the edge stitches are added — so the stitch pattern lines up instead of breaking mid-repeat.
  5. If you are converting a pattern, enter the pattern gauge (stitches per inch as printed) and the pattern cast-on. The calculator scales the cast-on by the gauge ratio and rounds it to your repeat, so a pattern written at 4.5 stitches per inch with a 90-stitch cast-on becomes 81 stitches at your 5 stitches per inch — 82 with a 4-stitch repeat and 2 edge stitches.
  6. Press Calculate gauge and read four things: your gauge per inch and per centimeter, the adjusted cast-on and the width it actually produces, the row count for your target length, and the pattern conversion if you entered one. Press Copy result to take the numbers to your pattern notes.

Why Use Our Knitting Gauge Calculator?

Common Use Cases

Knitting Gauge Calculator vs Alternatives

Most gauge tools give you one ratio and leave the rest to hand arithmetic. This page gives you the gauge in both units, a repeat-rounded cast-on, row counts for your length, and pattern conversion — the four numbers a swatch actually has to produce before you cast on.

Frequently Asked Questions

How do I measure knitting gauge?
Knit a swatch at least 4 inches (10 cm) square in the stitch pattern you will use, wash and block it as the garment will be washed, then lay it flat and count the stitches and rows in the center — never the edges, which are distorted. If you count 20 stitches over 4 inches, your gauge is 20 ÷ 4 = 5 stitches per inch; if you count 28 rows over 4 inches, it is 7 rows per inch. Count over the widest span you can: a miscount of one stitch over 2 inches doubles the error of the same miscount over 4 inches.
What happens if my gauge does not match the pattern?
The same stitch count makes a different size. A pattern written at 5 stitches per inch that casts on 100 stitches intends a 20-inch piece (100 ÷ 5 = 20). Knit it at 4.5 stitches per inch and those 100 stitches measure 100 ÷ 4.5 = 22.2 inches — more than 2 inches too wide, which is a whole sweater size. That is why gauge is checked before the first row of the garment, not after the body is finished: the calculator's conversion exists for exactly this mismatch.
How many stitches should I cast on?
Multiply your desired width by your stitch gauge, round to your pattern repeat, then add edge stitches: cast-on = round(width × stitches per inch ÷ repeat) × repeat + edge stitches. On the defaults here — 20 inches at 5 stitches per inch, a 4-stitch repeat, 2 edge stitches — that is round(100 ÷ 4) × 4 + 2 = 102 stitches, which knits back to exactly 20 inches. Enter your own numbers above; the repeat rounding is what keeps the stitch pattern intact.
How do I convert a pattern to my gauge?
Scale the stitch count by the gauge ratio: your cast-on = pattern cast-on × (pattern gauge ÷ your gauge). A pattern at 4.5 stitches per inch casting on 90 stitches, knitted by you at 5 stitches per inch, becomes 90 × 4.5 ÷ 5 = 81 stitches — then round to your repeat (80) and add edge stitches (82 with a 4-stitch repeat and 2 edges). Rows convert the same way with row gauge: pattern rows × (pattern row gauge ÷ your row gauge). The calculator does the cast-on half; the row formula above does the rest.
Should I measure gauge in inches or centimeters?
Either — the math is identical and this calculator accepts both. Many European and Japanese patterns state gauge per 10 cm, so the conversion matters: 22 stitches per 10 cm is 22 ÷ 3.937 = 5.6 stitches per inch (10 cm = 3.937 inches). If a pattern says 22 stitches per 10 cm and your swatch says 5 stitches per inch, you are knitting looser than the pattern (5.6 intended vs 5.0 yours) and the finished piece will run large unless you convert or change needle size.
Why do I need row gauge as well as stitch gauge?
Stitch gauge controls width; row gauge controls length and shaping. A sleeve that needs 24 inches of length at 7 rows per inch takes 168 rows — stitch gauge cannot tell you that. Armhole depth, yoke depth, and stripe placement all live in rows, and row gauge varies more between knitters than stitch gauge does, because row height depends on how each knitter forms stitches. Measure both, or the length will surprise you even when the width is right.
My gauge changed after washing. Which number do I use?
The blocked (washed) gauge, always. Wool relaxes, cotton grows, and superwash stretches — the garment will be washed, so the swatch must be washed first and measured after it dries flat. A swatch that measures 5 stitches per inch unblocked and 4.5 after blocking is a 4.5-stitch-per-inch yarn in real life; knitting to the unblocked number produces a garment a full size too large after its first wash.
What if I cannot match the pattern gauge?
Change needle size first: too many stitches per inch means your stitches are too small, so go up a needle size; too few means they are too large, so go down. Change by half a millimeter at a time and re-swatch — jumping two sizes usually overshoots. If no needle size lands on the pattern gauge without ruining the fabric (too stiff or too loose), stop chasing it: knit at the gauge that makes good fabric and convert the pattern with the ratio in the question above. A good fabric at converted counts beats a bad fabric at exact gauge.