KnitFolio app icon KnitFolio

How much yarn does this project need from a weighed swatch?

Grams are the swatch weight times the project area, divided by the swatch area. Both areas are converted to square centimetres first. An inch side uses 2.54 cm. A safety margin is the percent you type: 0 adds nothing, and 10 multiplies the grams by 1.10. Meters are those grams times the meters on one ball, divided by the grams on that ball. Balls to buy round up, and 0 g buys 0 balls.

The worked example is a 10 g swatch, 10 cm by 10 cm, for a 20 cm by 30 cm project, at 125 m per 50 g ball, with a 10% margin you would type: 60 g from the swatch area, 66 g after a 10% margin. That is 165 m (180.4462 yd) at 125 m per 50 g ball: 1.32 balls, so buy 2 balls.

Grams, meters, and balls

60 g from the swatch area, 66 g after a 10% margin. That is 165 m (180.4462 yd) at 125 m per 50 g ball: 1.32 balls, so buy 2 balls.

Swatch area
100 cm2
Project area
600 cm2
Grams before margin
60 g
Grams with margin
66 g
Meters
165 m
Yards
180.4462 yd
Exact balls
1.32
Balls to buy
2

What the margin and the units do

60 g from the swatch area, 60 g after a 0% margin. That is 150 m (164.042 yd) at 125 m per 50 g ball: 1.2 balls, so buy 2 balls.

areaCm2 = widthCm * heightCm, and an inch side is multiplied by 2.54 first. A stated area in square inches is multiplied by 2.54 * 2.54. grams = swatchGrams * projectAreaCm2 / swatchAreaCm2. gramsWithMargin = grams * (1 + safetyMarginPercent / 100). metersPerBall = gramsPerBall * metersPer100g / 100 when the band is per 100 g. meters = gramsWithMargin * metersPerBall / gramsPerBall. yards = meters / 0.9144. ballsToBuy = ceil(gramsWithMargin / gramsPerBall), and 0 g buys 0 balls. A value within 1e-9 of a whole number of balls stays on that whole number.

Four inches is 10.16 cm, not 10 cm. A 20 g swatch that is 4 inches by 4 inches, compared with a 10 cm by 10 cm project and no margin, is not 20 g. 19.375 g from the swatch area, 19.375 g after a 0% margin. That is 38.7501 m (42.3776 yd) at 100 m per 50 g ball: 0.3875 balls, so buy 1 ball.

Weigh the swatch in the state you want the ratio to use. The page multiplies the numbers you type. It does not supply a grams-per-area average.

Sources

The inch and the yard in this formula are the international definitions. NIST: the international inch is exactly 25.4 mm. NIST: the international yard is exactly 0.9144 m.

If the band prints meters per 100 g, choose that mode. The meters on one ball are the grams on that ball times meters per 100 g, divided by 100. Convert meters, yards, and grams for a single put-up, or count skeins once you already know the meters.

iOS App (Coming to the App Store · Pre-Launch): Compare Pro PlansSupport