Recessed Lighting Layout and Lux Calculator

Plan recessed-light spacing and count from lumens, beam angle and mounting height. Compare lux heat maps, average light levels and uniformity with a task target.

#illuminance #inverse-square-law #lighting-layout #lux #numerical-integration #recessed-lighting #uniformity

Use this recessed lighting layout calculator to compare a proposed ceiling grid before choosing downlights or cutting holes. It estimates direct horizontal illuminance from fixture lumens, beam angle and the distance above a working plane. Engineers, students and homeowners can examine spacing and dark areas without depending on one manufacturer's catalogue.

Start with the room length and width, the fixture height and the height of the surface you want to light. A desk and the floor are different calculation planes. Enter the delivered downward lumens of one complete luminaire after its optics, its full beam angle at half intensity, and a maintenance factor. The default factor of 0.8 is an illustrative allowance for output loss through ageing and dirt; replace it with information appropriate to the product and cleaning schedule.

To answer “how many recessed lights do I need”, choose automatic sizing for a balanced rectangular grid, or enter the number of fixtures along each side yourself. Automatic sizing increases the count until a convergence-checked area integral reaches the average target, with a small numerical margin. It is a suggestion rather than a minimum-cost or uniformity optimization. Both methods centre the fixtures in equal ceiling cells, giving a wall offset of half the corresponding spacing. The tool also reports a lumen-budget lower bound: that optimistic count assumes every downward lumen reaches the room and is not an installation recommendation.

The lux heat map shows the summed contribution from every light. Read the average together with the sampled minimum, maximum and minimum-to-average uniformity. Move the probe using fractions of the room dimensions to inspect a particular location. The lengthwise chart compares the centreline with a wall edge. Fixture coordinates are explicitly in metres, measured from the same lower-left room corner. Increase the sampling resolution to check whether a narrow beam is being resolved adequately; a smooth-looking map does not guarantee resolution. The mean and required lumens use separate refined integration; unconverged results are withheld.

Free HSE guidance gives illustrative task levels of 50 lx for a corridor, 300 lx for a process control room and 750 lx for studying an engineering drawing. These presets are starting points for those tasks, not universal room requirements. An average target does not guarantee that every task position receives that illuminance.

This lux calculator room model uses a smooth, rotationally symmetric cosine-power beam, normalized to conserve the entered downward flux. Lumens and beam angle cannot uniquely describe a real fixture. Reflections, furniture shadows, daylight, glare, colour quality and emergency-lighting requirements are excluded. IES LM-63 file import is not provided; use manufacturer photometry in a full lighting-design package for final verification. Check against the standard in force where EN 12464-1 or local rules apply. Installation work belongs to a qualified person.

How it is calculated

Fixtures lie at the centres of equal rectangular cells: xi=(i−1/2)L/nxx_i=(i-1/2)L/n_x and yj=(j−1/2)W/nyy_j=(j-1/2)W/n_y. Wall offsets are half the spacings.

The assumed beam has I(θ)=I0cos⁡nθI(\theta)=I_0\cos^n\theta, where n=ln⁡(0.5)/ln⁡[cos⁡(β/2)]n=\ln(0.5)/\ln[\cos(\beta/2)] and β\beta is the full half-intensity beam angle. This generalized Lambertian angular model is used in Menéndez and Steendam (2022), pp. 2–4, On the Optimisation of Illumination LEDs for VLP Systems. At 180° the calculator explicitly uses the uniform downward-hemisphere limit, n=0n=0, which has no half-maximum boundary.

Integrating over the lower hemisphere gives Φ=2πI0/(n+1)\Phi=2\pi I_0/(n+1). Thus I0=Φ(n+1)/(2π)I_0=\Phi(n+1)/(2\pi), with no artificial beam-edge cutoff. This normalization follows hemisphere integration and agrees with their equation (2); the entered lumens are total downward luminaire flux, including light outside the half-intensity cone.

For mounting distance h=H−zh=H-z and source-to-point distance rr, cos⁡θ=h/r\cos\theta=h/r. Inverse-square and receiving-plane cosine laws give

E(x,y)=MF∑i,jI0h2(hrij)n+3.E(x,y)=MF\sum_{i,j}\frac{I_0}{h^2}\left(\frac{h}{r_{ij}}\right)^{n+3}.

The Australian Government's Basics of Efficient Lighting, second edition (2019), pp. 18–19, explains these laws and addition of source contributions.

The area mean is independent of the display grid. With polar radius ρ\rho about one source, equation (4) of Menéndez and Steendam gives an analytic radial integral:

∫0RE(ρ)ρ dρ=Φ2π[1−(1+(R/h)2)−(n+1)/2].\int_0^R E(\rho)\rho\,d\rho=\frac{\Phi}{2\pi}\left[1-\left(1+(R/h)^2\right)^{-(n+1)/2}\right].

For a rectangular corner with adjacent edge distances a,ba,b, split its azimuth at arctan⁡(b/a)\arctan(b/a); the boundary is R=a/cos⁡αR=a/\cos\alpha in the first part, with a,ba,b exchanged in the other. Sum all four corners and all fixture contributions. The implementation uses the mirror symmetry of the centred grid to reduce this sum.

Composite Simpson integration doubles from 8 to at most 1024 angular intervals. Both of the last two relative changes must be at most 10−710^{-7}. The same convergence test is used for automatic sizing and the displayed area mean. An error condition withholds results if integration does not converge or calculated room flux exceeds emitted downward flux. No flux result is clipped to hide an error.

The horizontal-illuminance half-maximum radius is r1/2=h22/(n+3)−1r_{1/2}=h\sqrt{2^{2/(n+3)}-1}, which differs from the intensity beam footprint. A warning flags display-grid spacing above one third of this radius, or a display-grid mean differing from the converged mean by more than 1%. Minimum, maximum and coverage remain sampled estimates. U0=Emin/EavgU_0=E_{min}/E_{avg} uses the converged mean. Fixed-layout required lumens scale with target/mean.

Automatic sizing works on the long and short room axes, starts from the lumen-budget lower bound and preserves the required count when either axis reaches eight. Each successive candidate has a strictly larger count. It stops at a converged mean at least 3% above target, at an unconverged candidate (results withheld), or at 8 × 8. Exchanging room length and width exchanges the selected fixture axes. This remains a heuristic rather than a minimum-count or uniformity optimization.

Assumptions

Identical fixtures point vertically down, all at one height, in a rectangular room. Each fixture is a point source with a rotationally symmetric cosine-power pattern. All entered flux is emitted downward after the luminaire optics; do not enter bare lamp lumens or apply a second utilization factor. The maintenance factor multiplies every contribution equally.

Only direct artificial light is included. Light outside the room is lost; wall, ceiling and floor reflections are omitted. No daylight, obstructions, interreflection, tilt, asymmetric optics or mixed fixtures are modelled. The calculation plane is horizontal and unobstructed. Numerical extrema and coverage depend on grid resolution; the area mean is integrated separately with a convergence check.

The default dimensions, lumens, aperture and maintenance factor are illustrative design inputs, not a product specification. The beam normalization and layout-sizing heuristic are derived for this tool. HSE target examples are free task guidance checked on 27 October 2026; no paid EN 12464-1 table is reproduced.

Where it applies

For preliminary comparisons of small downward luminaires in rooms up to 20 m per side, with 1–8 fixtures along each side and beam angles from 10° to 180°. Keep the working plane at least 0.1 m below the fixtures. Prefer a mounting distance at least five times the largest luminous aperture dimension (Australian Government manual, p. 19).

The mean, captured flux and required lumens use a separately converged area integral, not the heat-map samples. Results are withheld if the integral fails its convergence test. The display-grid warning refers to the heat map, extrema, uniformity numerator and coverage; increase resolution and compare these sampled values. A smooth-looking heat map is not proof of resolution.

Automatic sizing targets the area mean only. It neither guarantees a minimum illuminance nor optimizes uniformity, and may not reach a demanding target within its 8 × 8 cap. Check the final mean/target ratio. Required lumens assume an unchanged angular pattern when output changes.

IES LM-63 file import, reflections, glare/UGR, emergency-lighting compliance, circuit design, structural clearances and thermal/fire ratings are outside scope. Verify final layouts using manufacturer photometry and measurements. This tool does not establish compliance with EN 12464-1 or local regulations: check against the standard in force. Installation work belongs to a qualified person. Coordinate-table headings and charts explicitly use metres; input and result unit fields support metric/US conversion.

References

  • Commonwealth of Australia, The Basics of Efficient Lighting, 2nd ed., June 2019, pp. 18–19: inverse-square law, receiving-plane cosine and point-source validity. https://www.energyrating.gov.au/sites/default/files/2022-12/Lighting%20Manual%20-%20Main%20Body%20-%20Final%20ex%20Appendices.pdf
  • Menéndez, J. M. and Steendam, H. (2022), On the Optimisation of Illumination LEDs for VLP Systems, Photonics 9, 750, pp. 2–4. DOI: https://doi.org/10.3390/photonics9100750 . Open full text: https://telin.ugent.be/~hs/full/j72.pdf
  • HSE, Lighting, thermal comfort, working space, noise and vibration: free task-level examples (50, 300 and 750 lx), accessed 27 October 2026. https://www.hse.gov.uk/humanfactors/topics/lighting.htm
  • Sharp, Graphing Calculator Handbook Vol. 2, Calculating Illuminance and Luminous Intensity, printed pp. 6–7: exercise with 4000 cd, 10 m and 60°. https://global.sharp/contents/calculator/support/classroom/el-9600/pdf/HB_vol2_EL9650_9400.pdf
  • OpenStax Conceptual Physics, section 15.2, printed p. 467 (attached page 5): 17.7 lx at 3 m for an isotropic 2000 lm bulb. https://www.theexpertta.com/book-files/OpenStaxConceptualPhysics/Sections/Section%2015.2.pdf

Inputs

InputSymbolUnitDefault
Room lengthL_roomm5
Room widthW_roomm4
Fixture height above floorH_ceilingm2.7
Working-plane height above floor
Use 0 for the floor; use the actual desk or task height for working illuminance.
z_planem0.75
Layout methodlayout_modeSet rows and columns
Fixtures along the lengthn_len3
Fixtures along the widthn_wid3
Downward luminaire flux per fixture
Use delivered lumens after the fixture optics, not bare LED-chip lumens. The model assigns all of this flux to the lower hemisphere.
Phi_lamplm1200
Full beam angle at half intensity
Full width, not half angle or cutoff angle. At 180° the model uses a uniform downward hemisphere as a limiting case.
betadeg90
Maintenance factor
Remaining fraction of initial output after ageing and dirt. 0.8 is an illustrative assumption; use the fixture and maintenance plan. Use 1 for initial clean output.
LLF0.8
Largest luminous aperture dimension
Used to flag points closer than five aperture dimensions, where a point-source model becomes unreliable.
D_emitm0.15
Target guidance
Open HSE task examples, checked October 2026. They are guidance, not a reproduction of EN 12464-1 or a compliance determination.
taskEnter a target for your task
Target average illuminanceE_customlux200
Probe position along length (fraction)
0 is the left wall; 1 is the opposite wall. The probe is marked by a cross on the map.
rx_probe0.5
Probe position along width (fraction)ry_probe0.5
Grid points along each side
Includes boundaries. Increase to 51 to check convergence, especially for narrow beams. Minima and maxima are sampled, not continuous extrema.
n_grid31

Results

With the default inputs above, the calc gives:

ResultValue
Fixtures in the layout9
Mean maintained illuminance251.7 lux
Sampled minimum illuminance101.3 lux
Sampled maximum illuminance341.5 lux
Uniformity: minimum / mean0.402
Mean / target1.26
Illuminance at probe341.5 lux
Spacing along length1.67 m
Spacing along width1.33 m
End-wall offset0.83 m
Side-wall offset0.67 m
Lumens each for this layout's mean target954 lm
Lumen-budget lower bound (optimistic)5
Estimated fraction of area meeting target0.792

Checked against sources

Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).

Government manual: 1 cd at 2 m gives ¼ lx

Source: Australian Government, The Basics of Efficient Lighting (2019), printed p. 18 (PDF page 18), inverse-square example: moving the receiving surface from 1 m to 2 m gives ¼ lux. A uniform lower hemisphere with 2π lm has 1 cd in every downward direction. The directional intensity and illuminance match the source's example; the model does not claim the source's lamp emits only downward.

Inputs: Fixtures along the length = 1; Fixtures along the width = 1; Room length = 4 m; Fixture height above floor = 2 m; Working-plane height above floor = 0 m; Downward luminaire flux per fixture = 6.283 lm; Full beam angle at half intensity = 180 deg; Maintenance factor = 1; the others as above.

ResultSourceThis calc
Initial axial luminous intensity1 cd1 cd
Illuminance at probe0.25 lux0.25 lux

Government manual: 1000 cd, 3 m high, 3 m offset

Source: Australian Government, The Basics of Efficient Lighting (2019), printed p. 19 (PDF page 19), worked spotlight example: 1000 cd in the relevant direction, 3 m vertical and 3 m horizontal distance, published result 39 lux. Tolerance allows its integer rounding; unrounded geometry gives 39.2837 lx, without using the rounded 4.24 m distance. The 180° uniform-hemisphere test pattern supplies exactly the quoted directional intensity.

Inputs: Fixtures along the length = 1; Fixtures along the width = 1; Room length = 6 m; Room width = 6 m; Fixture height above floor = 3 m; Working-plane height above floor = 0 m; Downward luminaire flux per fixture = 6,283 lm; Full beam angle at half intensity = 180 deg; Maintenance factor = 1; Probe position along length (fraction) = 1; the others as above.

ResultSourceThis calc
Illuminance at probe39 ± 0.5 lux39.284 lux

Sharp exercise: 4000 cd, 10 m, incidence 60°

Source: Sharp Graphing Calculator Handbook Vol. 2, printed p. 7, exercise (2): distance 10 m, angle 60°, luminous intensity 4000 cd. Its inverse problem in exercise (1) gives illuminance 20 lux for the same geometry. The receiving plane here is 5 m below the source with horizontal separation 5√3 m, reproducing the distance and incidence angle.

Inputs: Fixtures along the length = 1; Fixtures along the width = 1; Room length = 20 m; Room width = 20 m; Fixture height above floor = 5 m; Working-plane height above floor = 0 m; Downward luminaire flux per fixture = 25,133 lm; Full beam angle at half intensity = 180 deg; Maintenance factor = 1; Probe position along length (fraction) = 0.933; the others as above.

ResultSourceThis calc
Illuminance at probe20 lux20 lux

OpenStax: isotropic 2000 lm bulb at 3 m gives 17.7 lx

Source: OpenStax Conceptual Physics, section 15.2, printed p. 467 (attached page 5), Calculating Illuminance: a 2000 lm isotropic bulb gives 17.7 lux at 3 m. A uniform lower hemisphere contains half of that bulb's total flux, so the calculator's downward-flux input is 1000 lm. This preserves its downward candela and on-axis illuminance. Tolerance allows the source's one-decimal rounding.

Inputs: Fixtures along the length = 1; Fixtures along the width = 1; Room length = 4 m; Fixture height above floor = 3 m; Working-plane height above floor = 0 m; Downward luminaire flux per fixture = 1,000 lm; Full beam angle at half intensity = 180 deg; Maintenance factor = 1; the others as above.

ResultSourceThis calc
Illuminance at probe17.7 ± 0.05 lux17.684 lux

Independent review: broad beam close to a large work plane

Source: Independent review of this calculator supplied 21.2593 lx from adaptive 2D integration for this geometry; the old display-grid mean was 39.4486 lx. The integrand is Menéndez and Steendam (2022), equation (4), attached p. 4. This reference preserves the independently integrated value rather than tuning the light model.

Inputs: Room length = 20 m; Room width = 20 m; Fixture height above floor = 1.25 m; Working-plane height above floor = 1 m; Largest luminous aperture dimension = 0.05 m; Full beam angle at half intensity = 170 deg; the others as above.

ResultSourceThis calc
Mean maintained illuminance21.259 lux21.259 lux

Related Resources

Responses

Your email address will not be published. Required fields are marked *

L ading...