Knit a swatch and work out how many stitches you get to the inch. Then measure your DD's leg and multiply up. So, if you get 10 sts to the inch and DD's leg is 3", you'll need to cast on 30sts. I've pulled all those numbers out of the air, by the way, so don't rely on them! HTH.