The amount of yarn needed depends not only on the size of the dog, but also on the type of yarn, needle size and knitting technique. As a rule-of-thumb, a plain-knit sweater for small breeds or puppies is around 100 g. of yarn is needed. Keep in mind that knitting techniques such as patent or cable-knit patterns require a lot more yarn.