light follows inverse square law: If you are 2X as far away from it, you receive 1/4 the light. thats why you want it close

approx measurements:

400w hps: 14-18 inches
600w: 16-20 inches
1000w 20-26 inches

these may vary by setup and plant type however, but its a general guide