{"uid":"cap_DMrCg_NKvvMahud1G-ILq","slug":"craft-maker-calc-stitch-count-for-area-19ce0ac7","name":"Craft & Maker Calc – Stitch Count for Area","description":"Stitches and rows needed to cover a width and height at your stitch and row gauge, with total stitches.","url":"https://craft-calc.x402tookit.com/stitch-count-area?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["widthInches","heightInches","stitchesPerInch","rowsPerInch"],"properties":{"rowsPerInch":{"type":"number","description":"Your row gauge (rows per inch)"},"widthInches":{"type":"number","description":"Finished width in inches"},"heightInches":{"type":"number","description":"Finished height in inches"},"repeatMultiple":{"type":"integer","description":"Round the stitch count to a multiple of this, for stitch patterns (default 1)"},"stitchesPerInch":{"type":"number","description":"Your stitch gauge (stitches per inch)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"rows":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"stitches":{"type":["null","number"]},"rowsExact":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"stitchesExact":{"type":["null","number"]},"totalStitches":{"type":["null","number"]},"actualWidthInches":{"type":["null","number"]},"actualHeightInches":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nS5MxVdOEwcfy0AIZFDt9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the number of stitches and rows needed to cover a given width and height based on your stitch and row gauge, plus total stitch count.","exampleAgentPrompt":"I'm knitting a scarf that should be 6 inches wide and 60 inches long — my gauge is 5 stitches per inch and 7 rows per inch. How many stitches do I need to cast on and how many rows will I knit?","exampleUseCases":[{"title":"Baby blanket cast-on calculation","prompt":"I want to knit a baby blanket that's 24 inches wide and 30 inches long. My gauge swatch shows 4.5 stitches per inch and 6 rows per inch. How many stitches should I cast on and how many rows do I need to knit?"},{"title":"Crochet dishcloth sized to gauge","prompt":"I'm crocheting a square dishcloth, 8 inches by 8 inches, at a gauge of 3.5 stitches per inch and 4 rows per inch — what's my stitch count and row count, and can you round the stitches to the nearest multiple of 4 for my pattern?"},{"title":"Sweater back panel stitch planning","prompt":"Help me plan the back panel of a sweater — it needs to be 18 inches wide and 22 inches tall. My knitting gauge is 6 stitches per inch and 8 rows per inch. How many stitches and rows is that, and what's the total stitch count?"}],"resultDescription":"Returns stitches (rounded), rows (rounded), exact stitch count, exact row count, total stitches, actual width and height in inches after rounding, and optional rounding metadata. If a repeat multiple is provided, stitches are rounded up to the nearest multiple.","failureModes":["Missing required query parameters (widthInches, heightInches, stitchesPerInch, rowsPerInch) returns an error","Non-numeric or zero/negative values for gauge or dimensions may return an error or nonsensical result","Payment failure (x402 flow) if USDC balance is insufficient or wallet not configured","Extremely large dimensions or very small gauge values may produce very large stitch counts but should still compute correctly"],"whenToPreferThis":"Use this endpoint when you need to determine how many stitches to cast on and how many rows to work for a knitting or crochet project given a target finished size and your personal gauge. Ideal for pattern-agnostic stitch planning where you know your gauge and your desired dimensions. Prefer over manual calculation or generic calculators when you also need the repeat-multiple rounding feature for stitch patterns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:13:40.467Z","isFirstParty":false,"canonicalSlug":"craft-maker-calc-stitch-count-for-area-19ce0ac7"}