Home and energy
Yarn calculator: length, weight and balls
Calculate how many balls of yarn you need from the required length, ball length and weight, with an allowance and whole balls rounded up.
Enter your assumptions, press Calculate, check the tables and download the result if you need it. Editing or resetting clears the current record.
Result
Formula / calculation:
Enter required length 0–1000000000 m and allowance 0–100%. Positive ball length and mass up to 1000000 m and g. Assumes identical balls of the entered yarn and proportional length/mass. Whole balls round upward using exact fractions, including values just above a whole-ball boundary. Reports allowance-adjusted length, mass, purchased length/mass and surplus. Zero requirement produces zero balls. No recommended yardage, garment sizing, knitting gauge, fibre equivalence, stretch, colour matching or purchase price data.
Decimal results are approximate. Inputs stay in this browser tab.
How it works
Enter required length 0–1000000000 m and allowance 0–100%. Positive ball length and mass up to 1000000 m and g. Assumes identical balls of the entered yarn and proportional length/mass. Whole balls round upward using exact fractions, including values just above a whole-ball boundary. Reports allowance-adjusted length, mass, purchased length/mass and surplus. Zero requirement produces zero balls. No recommended yardage, garment sizing, knitting gauge, fibre equivalence, stretch, colour matching or purchase price data.
Worked example
With these example values the calculator gives the result below. You can change any value in the form above.
Inputs
- Required length (m)
- 1000
- Entered allowance (%)
- 10
- Length per ball (m)
- 200
- Mass per ball (g)
- 50
Result
- Exact required length (m)
- 1000
- Exact target length (m)
- 1100
- Whole yarn balls
- 6
- Exact surplus length (m)
- 100
- Equivalent mass (g)
- 275.00
- Exact equivalent mass (g)
- 275
Frequently asked questions
How many balls of yarn do I need?
The yarn calculator divides your required length, including the allowance you enter, by the length of one ball and rounds up to whole balls using exact fractions.
How do I convert yarn length to weight?
The yarn calculator assumes length and mass are proportional for identical balls, so it scales the target length by the ball mass per ball length you enter.
Why does the yarn calculator round up to whole balls?
The yarn calculator rounds the number of balls up to whole balls. In the example, the required length needs 6 balls, and the result also shows the length and mass you buy, the surplus length and the equivalent mass of the required yarn.
What limits apply in the yarn calculator?
Required length can be 0 to 1000000000 m and the allowance 0 to 100%. Ball length and mass must be positive, up to 1000000 m and g.
Does the yarn calculator recommend how much yarn a garment needs?
No. It gives no recommended yardage, garment sizing, knitting gauge, fibre equivalence, stretch, colour matching or price data.