The way I do it - Put the back of your hand under the lamp so it gets uncomfortably hot, slowly move your hand away until it's only warm, that's minimum distance.
You might want to get a cheap Lux meter. (from Royal Queen Seeds)
• Clone and seedling stage: 5,000–7,000 lux
• Vegetative stage...