Knitting Gauge Calculator
Enter your gauge (stitches and rows per 4 inches) and the width and length you want to knit to find the stitches and rows needed.
To size a knitting project, scale your gauge to your target measurement. Cast-on stitches = desired width ร (stitch gauge รท 4 inches). At a gauge of 20 stitches per 4 inches, a 40-inch-wide piece needs 40 ร (20 รท 4) = 200 stitches. Rows work the same way using your row gauge.
How to Use This Calculator
First knit and measure a gauge swatch: count how many stitches span 4 inches (10 cm) and how many rows span 4 inches. Enter those as your stitch gauge and row gauge, then enter the width โ and optionally the length โ you want the finished piece to be. The calculator returns how many stitches to cast on and how many rows to work.
Gauge is the single most important number in knitting: get it right and your project comes out the intended size; ignore it and a sweater can end up inches too big or too small. Always swatch in the same yarn, needles and stitch pattern you will use for the project.
How the Calculation Works
Gauge tells you how many stitches fit in 4 inches, so dividing by 4 gives stitches per inch. Multiply stitches per inch by your desired width to get the total cast-on count. Rows work identically: row gauge รท 4 gives rows per inch, times the desired length gives the total rows. In short, stitches = width ร (stitch gauge รท 4) and rows = length ร (row gauge รท 4). The results are rounded to whole stitches and rows.
Worked Example
Say your swatch measures 20 stitches and 28 rows over 4 inches, and you want a panel 40 inches wide and 24 inches long. Stitches per inch = 20 รท 4 = 5, so cast-on = 40 ร 5 = 200 stitches. Rows per inch = 28 รท 4 = 7, so rows = 24 ร 7 = 168 rows. If your gauge were finer at 24 stitches per 4 inches, the same 40-inch width would need 40 ร 6 = 240 stitches.
What the Result Means
The stitch count is what to cast on for your target width; the row count is how many rows reach your target length. Because gauge scales linearly, even a small gauge difference multiplies across a wide piece โ half a stitch per inch over 40 inches is 20 stitches, easily a couple of inches of width. That sensitivity is why matching the pattern's gauge (or recalculating for your own) is essential, and why you should round to a stitch count that fits your stitch pattern's repeat if it has one.
Assumptions and Limitations
This assumes a flat piece knit at a consistent gauge in a stitch pattern that stays even across the fabric. It does not account for shaping (increases and decreases), pattern-stitch repeats that require a specific multiple of stitches, edge or selvage stitches, or the way ribbing and cables pull the fabric in. Gauge can also change with blocking, so measure your swatch after blocking it the way you will finish the project. Use the result as a starting count and adjust for your pattern.
When to Use a Knitting Gauge Calculator
Knitters use this to turn a stitch gauge into the number of stitches to cast on for any width, plus the rows for a length. Run it after swatching and before starting a project so the finished piece comes out the intended size. Enter your gauge and target measurements to get the counts.
Related Calculators
Circle Skirt Calculator
Waist radius and fabric size for a full, half or quarter circle skirt.
Open calculator โFabric Calculator
Yards of fabric needed for a number of cut pieces.
Open calculator โThread Calculator
Estimate the thread length needed to sew a seam.
Open calculator โCooking Measurement Converter
Convert between cups, tablespoons, teaspoons, fluid ounces and mL.
Open calculator โFrequently Asked Questions
How do I calculate how many stitches to cast on?
Divide your stitch gauge by 4 to get stitches per inch, then multiply by the desired width. At 20 stitches per 4 inches, a 40-inch width needs 40 ร 5 = 200 stitches.
What is knitting gauge?
Gauge is how many stitches and rows fit in a set measurement, usually 4 inches (10 cm). It depends on your yarn, needle size and tension, and it determines the finished size of your project.
Why is gauge so important?
Because size scales with gauge. A small difference in stitches per inch multiplies across the whole piece, so being off gauge can make a garment inches too large or too small.
How do I measure my gauge?
Knit a swatch at least 6 inches square in your project's yarn and stitch pattern, block it, then count the stitches and rows within a 4-inch section in the middle.
Does this account for pattern repeats or shaping?
No. It gives a straight stitch and row count for a flat piece. If your stitch pattern needs a multiple of stitches, round to the nearest repeat, and add stitches for shaping or edges as your pattern requires.
Can I use centimeters instead of inches?
Gauge is often given per 10 cm, which is 4 inches, so the per-4-inch figure works directly. Just keep your desired width in the same unit basis โ convert cm to inches first, or treat the gauge as per 10 cm and width in cm consistently.
Looking for a different calculator?
CalculatorPlus has free tools across finance, construction, math, health and more โ each one showing the formula and a worked example.