Tested tool guide
Tested browser tools
Checked August 16, 2026
What Knitting Gauge Calculator does, with a checked example
A knitting gauge states how many stitches and rows fit in a 4-inch (10 cm) square, and every number in a pattern derives from that ratio. This calculator takes the pattern's gauge and the gauge you actually produce, then rescales the pattern's stitch and row counts so the finished piece keeps the designer's width and length in your hands. The same calculation handles cast-on counts, panel widths, and target lengths. The surprise for most knitters is direction: a tighter gauge needs more stitches, a looser one needs fewer, and rows follow the same rule vertically.
Worked example
A concrete input and expected output from the current implementation.
Input
Pattern gauge: 20 sts, 24 rows per 4 in. Your gauge: 22 sts, 26 rows per 4 in. Pattern cast-on: 100 sts. Pattern rows to length: 40.
->
Expected output
Cast on 110 stitches (100 x 22/20 = 110). Work 43 rows (40 x 26/24 = 43.3, rounded to 43).
Each pattern count is scaled by your gauge divided by the pattern gauge. Your stitch gauge is denser (22 vs 20 per 4 in), so the same width needs 10% more stitches; your row gauge is denser too (26 vs 24), so the same height needs about 8% more rows.