Gear and belt sprockets are usually machined using hobs. These hobs cut a limited range of diameters (or tooth counts) You will want to use a cutter that is designed for your tooth count, In the the case of your 400 tooth sprocket this will be a rack form as your sprocket pd will be approaching...