Crafts, Fabric & Paper
Knitting Gauge, Cast-On & Pattern Repeat Calculator
Translate a measured blocked swatch into stitch/row counts that respect pattern repeats and edge stitches.
How the calculation works
cast_on = ceil(max(0,target_width*swatch_stitches/swatch_width-edge)/stitch_repeat)*stitch_repeat+edge. Cast-on including repeated pattern and edges = cast_on stitches. Realized width at measured gauge = cast_on*swatch_width/swatch_stitches cm. Whole repeated rows to reach height = ceil(target_height*swatch_rows/swatch_height/row_repeat)*row_repeat rows. Realized height at measured row gauge = ceil(target_height*swatch_rows/swatch_height/row_repeat)*row_repeat*swatch_height/swatch_rows cm. Nominal stitches per vertical edge row for pickup = (swatch_stitches/swatch_width)/(swatch_rows/swatch_height) stitches/row.
Worked example
Example inputs — Measured swatch width (cm): 10; Stitches across measured swatch width: 20; Measured swatch height (cm): 10; Rows across measured swatch height: 28; Target finished width (cm): 50; Target finished height (cm): 60; Stitch multiple for main pattern: 6; Additional edge/border stitches in total: 2; Row multiple for the pattern: 4. Expected results — Cast-on including repeated pattern and edges: 104 stitches; Realized width at measured gauge: 52 cm; Whole repeated rows to reach height: 168 rows; Realized height at measured row gauge: 60 cm; Nominal stitches per vertical edge row for pickup: 0.7142857143 stitches/row.
Assumptions and limits
Planning estimate using your measurements. Make a representative sample and check the stated cutting, seam, gauge and rounding conventions before buying or cutting material. Round up complete pattern repeats; edge stitches are part of total finished width. Use a blocked swatch in the intended stitch pattern, yarn and tools. Pickup ratio is a geometric starting estimate, not a universal instruction. Fit, stretch and garment shaping are not inferred.
Reference and further reading
Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.
Related calculators
- Knitting Increase/Decrease Row Schedule Calculator
- Swatch-Based Yarn Quantity & Purchase Calculator
- Corner-to-Corner Crochet Diagonal Progress Calculator
- Quilt Binding Strip & Joined Length Calculator
- Circle Skirt Waist, Hem & Cut Radius Calculator
Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.