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.
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.
How to Use the Knitting Gauge Calculator
- 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.
- 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.
- 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.
- 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.
- 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.
- 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?
- Gauge in both units — stitches and rows per inch and per centimeter from the same swatch, so a pattern written in either system converts without a second calculator.
- Repeat-rounded cast-on — the cast-on is rounded to your stitch pattern's repeat and then given its edge stitches, which is the step single-ratio tools skip and the step that keeps a lace or cable pattern aligned.
- Row counts, not just stitch counts — the rows for your target length come from your row gauge, so sleeve lengths and armhole depths are planned, not guessed from stitch gauge alone.
- Pattern conversion built in — enter the pattern's gauge and cast-on and get your cast-on at your gauge, repeat-rounded, instead of reworking the pattern's arithmetic by hand.
- Finished-width honesty — the result states the width the adjusted cast-on actually produces, so a repeat rounding that moves the width by half an inch is visible before you cast on, not after you finish the first section.
Common Use Cases
- A sweater body at your gauge: Body width 20 inches, your gauge 5 stitches per inch, 4-stitch repeat, 2 edge stitches: 20 × 5 = 100 stitches, already a multiple of 4, plus 2 edges = 102 to cast on. The calculator's finished-width line confirms 20 inches, so the front and back match the pattern's schematic before a single row is knitted.
- A hat with negative ease: A 22-inch head does not want a 22-inch hat — knit hats are made about 2 inches smaller than the head so they grip. Enter 20 inches at 5 stitches per inch: 100 stitches, 102 with the 4-stitch repeat and 2 edges. Knitting the full 22 inches (110 stitches) would give a hat that slides down over the eyes.
- A pattern written for a different yarn weight: A pattern at 4.5 stitches per inch casts on 90 for the body; your yarn and needles give 5 stitches per inch. Convert: 90 × 4.5 ÷ 5 = 81, rounded to the 4-stitch repeat and given 2 edge stitches = 82. Without the conversion, knitting the pattern's 90 at your gauge gives 18 inches instead of 20 — two inches short on a body that was supposed to fit.
- The swatch check before a big project: Thirty minutes on a blocked swatch, entered here, settles gauge, cast-on, and row counts before the project starts. The alternative is discovering at the first fitting that the body is two inches wide — and frogging (ripping back) hours of work. Every experienced knitter's rule is the same: the swatch is not optional, and the calculator is what turns the swatch into decisions.
Knitting Gauge Calculator vs Alternatives
- Single-ratio gauge tools (the small tools ranking today): They answer one question well — stitches per inch, or a plain cast-on from width times gauge — with a clean page. What they do not do is round the cast-on to the pattern repeat, count rows for a target length, or convert a pattern written at another gauge, so the moment your pattern has a repeat or a different gauge you are back to doing the arithmetic yourself. This page does all four in one place.
- Blog gauge charts and formula articles: Knitting blogs explain the gauge ratio beautifully, and the formulas on this page follow the same math they teach — including the 2018 article still ranking today. An article cannot do your arithmetic, though: for your own swatch counts, width, repeat, and pattern gauge, you still need a calculator, and this page is that calculator next to the explanation.
- Yarn yardage calculator (ToolNest's companion tool): That tool answers the buying question: given stitch counts and a garment, how much yarn do you need. If your question is yardage, use it; if your question is the stitch counts themselves — gauge, cast-on, rows, pattern conversion — this gauge calculator is the step that comes first, and its results feed directly into the yardage math.
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.