Assuming "1" light is being used and photoperiod plants...
If you aren't covering the 'full' area of what your garden will be, closer and less power are options. This takes trial and error if you want to save some watts.
Otherwsie hanging height should be about area of coverage -- making it as even as possible end-to-end of where the canopy is and not sacrificing average intensity over the entirety. If growing photperiods, don't exceed 67% power over 18h, because you'll need 150% of that (i.e. 100% light power) over 12 hours to provide the same DLI, which is what matters.
Read up on DLI. Get the gist. You don't need to memorize the very simple math, but knowing the factors and the gest helps.
Having lights appropriately sized for area of need helps avoid a lot of trial and error with excessively low power and large lights trying to save watts covering seedlings. Also allows greater overlapping of grow cycles, if yearly productivity is important to you.
take notes... because you only use those lights in unusual ways once every 3-4 months and it's easy to forget something you do for only a short period of time.
A lux meter can help resolve proportional intensity differences... i.e. the center value is 100% and everything is relative to that. Reduce proportionaln difference from center to corners/edges as best you can without sacrificing overall DLI. That's the best way to choose height. Special circumstances may require deviation from that, but the end goal in the same.