About this site
Who runs this site
Yarn Quantity Calculator is built and maintained by Guido Zockoll.
Questions or corrections: contact@yarnquantity.com.
How the calculation works
Last checked:
Project
Yarn needed = overhead × 5.5 × stitches per cm × fabric area
The value is for one assumed size of the project. Another size needs another amount: use the pattern or swatch mode.
Assumed sizes
- Hat
- 52 cm round × 22 cm
- Scarf
- 20 × 152 cm
- Pair of socks
- 20 cm round, 15 cm leg, 24 cm foot
- Shawl (triangle)
- 140 × 50 cm
- Adult sweater
- chest 104 cm, body 64 cm, sleeves 46 cm
- Baby blanket
- 76 × 91 cm
- Afghan
- 127 × 152 cm
Derivation and sources
Stitches per cm come from the Craft Yarn Council stockinette gauge of the yarn weight: the lower value of the range uses the fewest stitches of the weight, the upper value the most.
The factor 5.5 is the yarn per area of relaxed plain stockinette (Munden, 1959).
The overhead is the median of the yards that at least three free patterns per project type state, divided by the same formula at the midpoint gauge of the pattern's yarn weight; it covers looser hand knitting, stitch patterns and finishing.
Values round to 25 yd. For weights 6 and 7 of scarf, shawl and socks, no pattern exists at that gauge, so the table follows the gauge rule only.
Hat form
The hat value is for a snug beanie. The calculator adds the following to the yarn needed, then adds the margin.
- Folded brim
- +30 %
- Slouchy shape
- +25 %
- Both together
- +55 %
- Pompom
- +10 to 30 yd
Derivation and sources
Folded brim: median of 7 pattern pairs on Ravelry, each written by one designer in one yarn and size, with and without folded brim; range 20 to 52 %.
Slouchy shape: Yarn Country: "about a quarter more"; 5-7.5 cm more height on 22 cm according to yarnandrow.com and completecalculators.com.
Pompom: Mary Maxim.
Pattern
Yarn needed = the total length that your pattern gives for your size
Swatch
Grams needed = swatch weight ÷ (swatch width × swatch height) × area of all pieces
Area of a piece = width × length × quantity
Yarn needed = grams needed ÷ skein weight × length per skein
This is the swatch weight method by Lori Gayle (Interweave Knits, Spring 2003).
Derivation and sources
A piece measured as a rectangle includes some area with no knitting, which adds a small reserve.
Yarn to buy
Yarn to buy = yarn needed × (1 + safety margin ÷ 100)
The default margin is 10%.
Derivation and sources
Lori Gayle recommends 10% to cover small errors in weighing or measuring and changes to the design while you knit.
Skeins
Skeins to buy = yarn to buy ÷ length per skein, rounded up to the next whole skein
For a range, the calculator does this for the lower and the upper value.
Needle sizes
The needle sizes shown for each yarn weight are the Craft Yarn Council ranges for knitting needles. The Craft Yarn Council calls them guidelines only; the label of your yarn has priority.
Yards and meters
1 yard = 0.9144 m exactly
Lengths show as whole yards and meters.
Sources: Craft Yarn Council: Standard Yarn Weight System, D. L. Munden: The Geometry and Dimensional Properties of Plain-Knit Fabrics (1959), Lori Gayle: How Much Yarn Do I Need? A Mathematical Approach.
Calculated yards per project and yarn weight (Craft Yarn Council category 1 to 7)
| Project | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| Hat | 225-250 | 175-200 | 175-200 | 125-150 | 95-125 | 55-90 | 30-50 |
| Scarf | 550-650 | 475-525 | 425-475 | 325-400 | 250-300 | 150-225 | 80-125 |
| Socks (pair) | 325-400 | 275-325 | 250-300 | 200-250 | 150-175 | 85-125 | 50-75 |
| Shawl | 550-650 | 475-525 | 425-475 | 325-400 | 250-300 | 150-225 | 80-125 |
| Adult sweater | 1,825-2,175 | 1,550-1,775 | 1,425-1,625 | 1,075-1,350 | 825-1,025 | 475-750 | 275-400 |
| Baby blanket | 1,300-1,550 | 1,125-1,275 | 1,025-1,175 | 775-975 | 575-725 | 350-525 | 200-300 |
| Afghan (throw) | 3,600-4,275 | 3,075-3,475 | 2,800-3,200 | 2,125-2,675 | 1,600-2,000 | 925-1,475 | 525-800 |