Back to Free Tools

FREE TOOLS

Knitting Gauge and Repeat Calculator

Convert a measured swatch into whole repeat-aligned stitch and row counts for a target rectangle.

Stitches across measured swatch, Rows across measured swatch, Measured swatch width (cm), Measured swatch height (cm), Target width (cm), Target height (cm), Stitches per pattern repeat, Total extra edge stitches

JSON

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter the labelled values using the displayed units and explicit assumptions.
  • Choose Calculate result and review the complete report and any undefined or no-solution states.
  • Choose Download result to save the complete JSON. Reset clears the result and restores example controls.

Examples

Stitches across measured swatch: 22
Rows across measured swatch: 30
Measured swatch width (cm): 10
Measured swatch height (cm): 10
Target width (cm): 50
Target height (cm): 60
Stitches per pattern repeat: 6
Total extra edge stitches: 2

Limitations

  • Positive whole swatch stitches/rows<=1e6,positive swatch/target width/height cm;whole repeat1–10000 and total edge stitches0–10000. Choose closest count=edge+repeat*k withk>=0,ties upward;round target rows nearest,ties upward. Report achieved size and differences. No garment fit,ease,shaping,yarn amount or tension prediction.
  • Scalar controls accept explicit finite decimal syntax;positive values normally1e-12–1e12,nonnegative0–1e12 unless a narrower range is stated. JSON numeric rows use finite IEEE754 values within their stated bounds. Derived counts above1billion and nonfinite results refuse. Combined input<=400000UTF8 bytes;complete JSON<=4MiB. All processing stays in your browser.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool