It depends on your grow space and ventilation. What is the temperature of your grow room with the lights on? Are you using an air cooled hood or a regular reflector?
If you have good ventilation and air movement you should be able to keep the 400 within 12-14 inches of the top of your plants. With good air movement and an AC, I'm able to run 600's with regular quad reflectors and keep them 14-16 inches from the tops of my plants.
Good idea. The general rule of thumb is that if the back of your hand is uncomfortably hot when held at the tops of your plants..... the light is too close. If your hand is comfy, then your plants will be comfy as well. Best wishes.