{
  "title": "Knitting gauge calculator",
  "human_url": "https://happytails.ai/en/calculators/knitting-gauge-calculator/",
  "agent_url": "https://happytails.ai/agents/en/calculators/knitting-gauge-calculator/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/calculators/knitting-gauge-calculator.md",
  "content": "Knitting gauge calculator\nTurn your measured swatch into stitch and row counts. See how rounding changes the finished width and height.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use Knitting gauge calculator\nEnter the measured inputs and select their units.\nReview the calculated dimensions, counts and rounding.\nDownload the result and verify it against a sample before making the full project.\nUseful next steps\nKnitting increase calculator\nCrochet stitch calculator\nMeasure the stitch pattern you will use\nEnter the stitches and rows counted within a measured swatch area. Use a prepared, relaxed swatch made in the stitch pattern for your project. Width gauge and row gauge are calculated independently.\nChoose usable whole counts\nTwenty stitches and 28 rows across a 10 × 10 cm swatch give 100 stitches and 168 rows for 50 × 60 cm. When the proportions do not give whole counts, choose nearest, round up or round down and compare the achieved dimensions.\nSave the calculation\nDownload a CSV of the results or instructions, a readable text report and a JSON report with values, formulas and assumptions. Calculations run locally on your device. Unit changes keep the numbers already entered, so check the selected units before using the result.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Knitting increase calculator",
      "url": "https://happytails.ai/en/calculators/knitting-increase-calculator/"
    },
    {
      "name": "Crochet stitch calculator",
      "url": "https://happytails.ai/en/calculators/crochet-stitch-calculator/"
    }
  ],
  "tool": {
    "id": "knitting-gauge-calculator",
    "category": "calculators",
    "built": true,
    "requirements": "Output from 1 to 1,000,000 stitches or rows. Counts do not automatically include garment ease, shaping or pattern repeat rules.",
    "implementation": {
      "fields": [
        {
          "key": "swatchStitches",
          "label": "Stitches counted in swatch",
          "value": 20,
          "type": "number",
          "min": 1,
          "max": 1000000,
          "step": 1
        },
        {
          "key": "swatchRows",
          "label": "Rows counted in swatch",
          "value": 28,
          "type": "number",
          "min": 1,
          "max": 1000000,
          "step": 1
        },
        {
          "key": "swatchWidth",
          "label": "Measured swatch width",
          "value": 10,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "swatchHeight",
          "label": "Measured swatch height",
          "value": 10,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "swatchUnit",
          "label": "Swatch measurement unit",
          "value": "cm",
          "type": "select",
          "values": [
            "mm",
            "cm",
            "m",
            "in",
            "ft",
            "yd"
          ]
        },
        {
          "key": "targetWidth",
          "label": "Target width",
          "value": 50,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "targetHeight",
          "label": "Target height",
          "value": 60,
          "type": "number",
          "min": 0,
          "max": 1000000000,
          "step": "any"
        },
        {
          "key": "targetUnit",
          "label": "Target and output unit",
          "value": "cm",
          "type": "select",
          "values": [
            "mm",
            "cm",
            "m",
            "in",
            "ft",
            "yd"
          ]
        },
        {
          "key": "rounding",
          "label": "Rounding",
          "value": "Nearest",
          "type": "select",
          "values": [
            "Nearest",
            "Round up",
            "Round down"
          ]
        }
      ],
      "input": false,
      "live": true,
      "presentation": "metrics",
      "note": "Turn a measured swatch into stitch and row counts, then see the size those rounded counts will produce. Use the same stitch pattern and preparation as the final project. Changing units keeps the entered numbers. All calculations stay on your device. Download the report for formulas, assumptions and calculated values.",
      "experience": {
        "automatic": true,
        "single": false,
        "inputMaxLength": 1000000,
        "inputMode": "text",
        "label": "Your text",
        "placeholder": "Type or paste your input…",
        "help": "Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.",
        "action": null
      },
      "mode": "automatic",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# Knitting gauge calculator\n\n- Human page: https://happytails.ai/en/calculators/knitting-gauge-calculator/\n- Markdown: https://happytails.ai/en/calculators/knitting-gauge-calculator.md\n- Structured JSON: https://happytails.ai/agents/en/calculators/knitting-gauge-calculator/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `knitting-gauge-calculator` |\n| Category | calculators |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Automatic updates after valid input or file selection. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nTurn a measured swatch into stitch and row counts, then see the size those rounded counts will produce. Use the same stitch pattern and preparation as the final project. Changing units keeps the entered numbers. All calculations stay on your device. Download the report for formulas, assumptions and calculated values.\n\n### Inputs and settings\n\nNo free-text input is required. Use the file inputs and/or settings below.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `swatchStitches` | Stitches counted in swatch | number | 20 | min=1 max=1000000 step=1 |\n| `swatchRows` | Rows counted in swatch | number | 28 | min=1 max=1000000 step=1 |\n| `swatchWidth` | Measured swatch width | number | 10 | min=0 max=1000000000 step=any |\n| `swatchHeight` | Measured swatch height | number | 10 | min=0 max=1000000000 step=any |\n| `swatchUnit` | Swatch measurement unit | select | \"cm\" | Allowed: mm, cm, m, in, ft, yd |\n| `targetWidth` | Target width | number | 50 | min=0 max=1000000000 step=any |\n| `targetHeight` | Target height | number | 60 | min=0 max=1000000000 step=any |\n| `targetUnit` | Target and output unit | select | \"cm\" | Allowed: mm, cm, m, in, ft, yd |\n| `rounding` | Rounding | select | \"Nearest\" | Allowed: Nearest, Round up, Round down |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nOutput from 1 to 1,000,000 stitches or rows. Counts do not automatically include garment ease, shaping or pattern repeat rules.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"knitting-gauge-calculator\",\n  \"category\": \"calculators\",\n  \"built\": true,\n  \"requirements\": \"Output from 1 to 1,000,000 stitches or rows. Counts do not automatically include garment ease, shaping or pattern repeat rules.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"swatchStitches\",\n        \"label\": \"Stitches counted in swatch\",\n        \"value\": 20,\n        \"type\": \"number\",\n        \"min\": 1,\n        \"max\": 1000000,\n        \"step\": 1\n      },\n      {\n        \"key\": \"swatchRows\",\n        \"label\": \"Rows counted in swatch\",\n        \"value\": 28,\n        \"type\": \"number\",\n        \"min\": 1,\n        \"max\": 1000000,\n        \"step\": 1\n      },\n      {\n        \"key\": \"swatchWidth\",\n        \"label\": \"Measured swatch width\",\n        \"value\": 10,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"swatchHeight\",\n        \"label\": \"Measured swatch height\",\n        \"value\": 10,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"swatchUnit\",\n        \"label\": \"Swatch measurement unit\",\n        \"value\": \"cm\",\n        \"type\": \"select\",\n        \"values\": [\n          \"mm\",\n          \"cm\",\n          \"m\",\n          \"in\",\n          \"ft\",\n          \"yd\"\n        ]\n      },\n      {\n        \"key\": \"targetWidth\",\n        \"label\": \"Target width\",\n        \"value\": 50,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"targetHeight\",\n        \"label\": \"Target height\",\n        \"value\": 60,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 1000000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"targetUnit\",\n        \"label\": \"Target and output unit\",\n        \"value\": \"cm\",\n        \"type\": \"select\",\n        \"values\": [\n          \"mm\",\n          \"cm\",\n          \"m\",\n          \"in\",\n          \"ft\",\n          \"yd\"\n        ]\n      },\n      {\n        \"key\": \"rounding\",\n        \"label\": \"Rounding\",\n        \"value\": \"Nearest\",\n        \"type\": \"select\",\n        \"values\": [\n          \"Nearest\",\n          \"Round up\",\n          \"Round down\"\n        ]\n      }\n    ],\n    \"input\": false,\n    \"live\": true,\n    \"presentation\": \"metrics\",\n    \"note\": \"Turn a measured swatch into stitch and row counts, then see the size those rounded counts will produce. Use the same stitch pattern and preparation as the final project. Changing units keeps the entered numbers. All calculations stay on your device. Download the report for formulas, assumptions and calculated values.\",\n    \"experience\": {\n      \"automatic\": true,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.\",\n      \"action\": null\n    },\n    \"mode\": \"automatic\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nTurn your measured swatch into stitch and row counts. See how rounding changes the finished width and height.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use Knitting gauge calculator\n\n1. Enter the measured inputs and select their units.\n2. Review the calculated dimensions, counts and rounding.\n3. Download the result and verify it against a sample before making the full project.\n\n## Useful next steps\n\n- [Knitting increase calculator](https://happytails.ai/en/calculators/knitting-increase-calculator/) ([Markdown](https://happytails.ai/en/calculators/knitting-increase-calculator.md))\n\n- [Crochet stitch calculator](https://happytails.ai/en/calculators/crochet-stitch-calculator/) ([Markdown](https://happytails.ai/en/calculators/crochet-stitch-calculator.md))\n\n## Measure the stitch pattern you will use\n\nEnter the stitches and rows counted within a measured swatch area. Use a prepared, relaxed swatch made in the stitch pattern for your project. Width gauge and row gauge are calculated independently.\n\n### Choose usable whole counts\n\nTwenty stitches and 28 rows across a 10 × 10 cm swatch give 100 stitches and 168 rows for 50 × 60 cm. When the proportions do not give whole counts, choose nearest, round up or round down and compare the achieved dimensions.\n\n### Save the calculation\n\nDownload a CSV of the results or instructions, a readable text report and a JSON report with values, formulas and assumptions. Calculations run locally on your device. Unit changes keep the numbers already entered, so check the selected units before using the result.\n"
}