Measure the child’s head and then knit a gauge swatch. Measure the number of stitches in a 4 inch span in your swatch. Once you know how many stitches per inch, then you can do the math to figure out how many stitches you need to fit the child’s head. It sounds awful, but it’s very useful to size things correctly.