Works on this device
Knitting Calculator
The sums of a knitting project in one place. Convert a needle size, turn a swatch into a gauge, find how many stitches to cast on, spread increases or decreases evenly along a row, and estimate the yarn to buy.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to use this calculator
- Choose what you want to work out.
- Type your own numbers. For a length you can choose inches or centimetres, and in inches you can type a fraction such as 4 1/2.
- For gauge, count the stitches and rows across the middle of a washed swatch.
- Boxes for the weight and the length of a ball start empty. Type the figures from the band of your yarn. Try an example fills them with example values.
- Choose Calculate. You can copy the result, print it, or download it as a CSV file.
The formulas
- Gauge: stitches for a length = stitches counted ÷ width counted over × that length.
- Stitches to cast on = width × (1 + ease ÷ 100) × stitches of the gauge ÷ the length the gauge is measured over.
- Another gauge: new count = count in the pattern × your gauge ÷ gauge of the pattern.
- Even increases or decreases: plain stitches = stitches − changes × the stitches one change uses. They are split into runs that differ by at most one stitch.
- Shaping rows = difference of the stitch counts ÷ stitches changed in one shaping row, spread over the rows.
- Yarn = area of the project × weight of the swatch ÷ area of the swatch × (1 + extra ÷ 100).
- Another yarn: balls = balls of the pattern × length of its ball ÷ length of your ball, rounded up.
Worked example
A 4 mm needle is a US size 6 and an old UK size 8. A 7 mm needle is an old UK size 2 and has no US number.
Your swatch has 22 stitches over 4 inches. That is 5.5 stitches for one inch. For a piece 20 inches wide you cast on 20 × 5.5 = 110 stitches.
You have 80 stitches in a flat row and must increase 10 with M1. The 80 plain stitches make 10 runs of 8, and one run is split between the two edges: K4, M1, then (K8, M1) 9 times, then K4. You end with 90 stitches.
A sleeve grows from 48 to 72 stitches over 110 rows, 2 stitches in each shaping row. That is 12 shaping rows: increase every 9th row 10 times, then every 10th row 2 times.
A swatch of 6 by 6 inches weighs 9 g. A blanket of 50 by 60 inches has 3,000 square inches, so it needs 3,000 ÷ 36 × 9 = 750 g, and 825 g with 10% extra. That is 9 balls of 100 g.
Limits you should know
- The needle chart is the chart of the Craft Yarn Council (USA) with the old UK numbers. Sizes below 2 mm are not in it. A size with no partner is shown as none.
- A gauge is only as good as the swatch. Wash it, let it dry and measure it flat.
- The yarn estimate treats every piece as a rectangle and trusts one swatch. Buy a spare ball.
- No yarn, ball weight, ball length or price is built in. This tool does not write a full pattern for a garment.
- Planned pooling of colours, weaving yarn and knitting time are not worked out here.