Recessed Lighting Layout Calculator

Compare fixture-center grids in a rectangular room. See spacing, wall offsets and keep-out conflicts before choosing a layout to review.

See where your lights fit.

Compare regular fixture-center grids, set your own spacing limits and avoid rectangular keep-outs. This plan describes geometry, not brightness or installation suitability.

Room and grid

Changes preserve all dimensional entries, including retained custom offsets.

Whole count from 1 to 12.

Whole count from 1 to 12.

Balanced cells place centers halfway into equal cells. Custom offsets use the same distance at opposite walls; a one-position axis is always centered.

Your geometry limits

Use limits appropriate to your chosen design. A single row or column has no adjacent pair; its wall offsets are still checked. No ceiling-height rule is assumed.

Rectangular keep-outs

0 of 8 rectangles

No keep-outs entered. Add a rectangle to exclude fixture centers on or inside its boundary.

Illustrative plans

Current grid

2 rows × 3 columns

Fixture count: 6

Meets your entered geometry limits.

Conflicting centers: 0. A center in overlapping keep-outs is counted once.

Room area

24 m²

Largest nearest-center distance

≈1.41421 m

Scaled ceiling plan

Fixture-center plan

View from above: x runs right and y runs up from the lower-left room corner. Circles mark centers, not fixture size. Hatched rectangles are your keep-outs. The native fixture controls below provide every coordinate.

Equal physical scale in both axes with centered letterboxing. Blue circles are unconflicted centers; red crossed circles are inside or on a keep-out. A purple ring marks the selected center. Select a center with the native inspector and read the complete coordinate table below.
Room width x: 0 m to 6 mRoom length y: 0 m to 4 m

Marks represent fixture centers only, with no fixture footprint or inferred clearance.

The room is centered with equal physical scale on both axes; unused viewport space is letterboxing.

x from left wall
1 m
y from lower wall
1 m

This center is outside all entered closed keep-outs.

Spacing and wall offsets

MeasureCurrentCheck
Adjacent x2 mWithin limit
Adjacent y2 mWithin limit
X wall offset1 mWithin limit
Y wall offset1 mWithin limit

Smallest listed grid meeting your entered limits

Up to six passing choices, ordered by center count, largest nearest-center distance, rows, then columns. This is a geometric comparison, not a lighting recommendation.

2 rows × 3 columns

6 centers · rank 1

Largest nearest-center distance: ≈1.41421 m

2 rows × 4 columns

8 centers · rank 2

Largest nearest-center distance: 1.25 m

3 rows × 3 columns

9 centers · rank 3

Largest nearest-center distance: ≈1.20185 m

2 rows × 5 columns

10 centers · rank 4

Largest nearest-center distance: ≈1.16619 m

3 rows × 4 columns

12 centers · rank 5

Largest nearest-center distance: ≈1.00347 m

2 rows × 6 columns

12 centers · rank 6

Largest nearest-center distance: ≈1.11803 m

Current fixture coordinates (6)
Coordinates from the lower-left room corner. Keep-out edges are included. Select a center using the first column.
CenterxyKeep-outs
1 m1 mNone
3 m1 mNone
5 m1 mNone
1 m3 mNone
3 m3 mNone
5 m3 mNone
All 144 candidate grids
Enumeration order is rows then columns. Passing rank uses exact squared distance after count; a single-position axis has no adjacent-spacing failure.
Rows × colsCentersAdjacent xAdjacent yWall xWall yLargest distanceConflictsGeometry checksPassing rankApply
1 × 11Not applicableNot applicable3 m2 m≈3.60555127546 m0X wall offset exceeds your limit; Y wall offset exceeds your limitNot ranked
1 × 223 mNot applicable1.5 m2 m2.5 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limit; Y wall offset exceeds your limitNot ranked
1 × 332 mNot applicable1 m2 m≈2.2360679775 m0Y wall offset exceeds your limitNot ranked
1 × 441.5 mNot applicable0.75 m2 m≈2.13600093633 m0Y wall offset exceeds your limitNot ranked
1 × 551.2 mNot applicable0.6 m2 m≈2.08806130178 m0Y wall offset exceeds your limitNot ranked
1 × 661 mNot applicable0.5 m2 m≈2.06155281281 m0Y wall offset exceeds your limitNot ranked
1 × 77≈0.857142857143 mNot applicable≈0.428571428571 m2 m≈2.04540300904 m0Y wall offset exceeds your limitNot ranked
1 × 880.75 mNot applicable0.375 m2 m≈2.03485257451 m0Y wall offset exceeds your limitNot ranked
1 × 99≈0.666666666667 mNot applicable≈0.333333333333 m2 m≈2.0275875101 m0Y wall offset exceeds your limitNot ranked
1 × 10100.6 mNot applicable0.3 m2 m≈2.02237484162 m0Y wall offset exceeds your limitNot ranked
1 × 1111≈0.545454545455 mNot applicable≈0.272727272727 m2 m≈2.01850939192 m0Y wall offset exceeds your limitNot ranked
1 × 12120.5 mNot applicable0.25 m2 m≈2.01556443707 m0Y wall offset exceeds your limitNot ranked
2 × 12Not applicable2 m3 m1 m≈3.16227766017 m0X wall offset exceeds your limitNot ranked
2 × 243 m2 m1.5 m1 m≈1.80277563773 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
2 × 362 m2 m1 m1 m≈1.41421356237 m0Meets limits1
2 × 481.5 m2 m0.75 m1 m1.25 m0Meets limits2
2 × 5101.2 m2 m0.6 m1 m≈1.16619037897 m0Meets limits4
2 × 6121 m2 m0.5 m1 m≈1.11803398875 m0Meets limits6
2 × 714≈0.857142857143 m2 m≈0.428571428571 m1 m≈1.08796758655 m0Meets limits8
2 × 8160.75 m2 m0.375 m1 m≈1.06800046816 m0Meets limits12
2 × 918≈0.666666666667 m2 m≈0.333333333333 m1 m≈1.05409255339 m0Meets limits14
2 × 10200.6 m2 m0.3 m1 m≈1.04403065089 m0Meets limits18
2 × 1122≈0.545454545455 m2 m≈0.272727272727 m1 m≈1.03652311373 m0Meets limits21
2 × 12240.5 m2 m0.25 m1 m≈1.0307764064 m0Meets limits25
3 × 13Not applicable≈1.33333333333 m3 m≈0.666666666667 m≈3.07318148576 m0X wall offset exceeds your limitNot ranked
3 × 263 m≈1.33333333333 m1.5 m≈0.666666666667 m≈1.6414763003 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
3 × 392 m≈1.33333333333 m1 m≈0.666666666667 m≈1.20185042515 m0Meets limits3
3 × 4121.5 m≈1.33333333333 m0.75 m≈0.666666666667 m≈1.0034662149 m0Meets limits5
3 × 5151.2 m≈1.33333333333 m0.6 m≈0.666666666667 m≈0.896908269805 m0Meets limits9
3 × 6181 m≈1.33333333333 m0.5 m≈0.666666666667 m≈0.833333333333 m0Meets limits13
3 × 721≈0.857142857143 m≈1.33333333333 m≈0.428571428571 m≈0.666666666667 m≈0.792538903671 m0Meets limits19
3 × 8240.75 m≈1.33333333333 m0.375 m≈0.666666666667 m≈0.764898322945 m0Meets limits23
3 × 927≈0.666666666667 m≈1.33333333333 m≈0.333333333333 m≈0.666666666667 m≈0.7453559925 m0Meets limits28
3 × 10300.6 m≈1.33333333333 m0.3 m≈0.666666666667 m≈0.731057073315 m0Meets limits34
3 × 1133≈0.545454545455 m≈1.33333333333 m≈0.272727272727 m≈0.666666666667 m≈0.720294807515 m0Meets limits38
3 × 12360.5 m≈1.33333333333 m0.25 m≈0.666666666667 m≈0.71200031211 m0Meets limits44
4 × 14Not applicable1 m3 m0.5 m≈3.04138126515 m0X wall offset exceeds your limitNot ranked
4 × 283 m1 m1.5 m0.5 m≈1.58113883008 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
4 × 3122 m1 m1 m0.5 m≈1.11803398875 m0Meets limits7
4 × 4161.5 m1 m0.75 m0.5 m≈0.901387818866 m0Meets limits11
4 × 5201.2 m1 m0.6 m0.5 m≈0.781024967591 m0Meets limits16
4 × 6241 m1 m0.5 m0.5 m≈0.707106781187 m0Meets limits22
4 × 728≈0.857142857143 m1 m≈0.428571428571 m0.5 m≈0.658538889807 m0Meets limits30
4 × 8320.75 m1 m0.375 m0.5 m0.625 m0Meets limits36
4 × 936≈0.666666666667 m1 m≈0.333333333333 m0.5 m≈0.600925212577 m0Meets limits42
4 × 10400.6 m1 m0.3 m0.5 m≈0.583095189485 m0Meets limits48
4 × 1144≈0.545454545455 m1 m≈0.272727272727 m0.5 m≈0.569543822097 m0Meets limits53
4 × 12480.5 m1 m0.25 m0.5 m≈0.559016994375 m0Meets limits58
5 × 15Not applicable0.8 m3 m0.4 m≈3.02654919008 m0X wall offset exceeds your limitNot ranked
5 × 2103 m0.8 m1.5 m0.4 m≈1.55241746963 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
5 × 3152 m0.8 m1 m0.4 m≈1.07703296143 m0Meets limits10
5 × 4201.5 m0.8 m0.75 m0.4 m0.85 m0Meets limits17
5 × 5251.2 m0.8 m0.6 m0.4 m≈0.721110255093 m0Meets limits27
5 × 6301 m0.8 m0.5 m0.4 m≈0.640312423743 m0Meets limits32
5 × 735≈0.857142857143 m0.8 m≈0.428571428571 m0.4 m≈0.58623670082 m0Meets limits40
5 × 8400.75 m0.8 m0.375 m0.4 m≈0.548292804987 m0Meets limits47
5 × 945≈0.666666666667 m0.8 m≈0.333333333333 m0.4 m≈0.520683311727 m0Meets limits55
5 × 10500.6 m0.8 m0.3 m0.4 m0.5 m0Meets limits62
5 × 1155≈0.545454545455 m0.8 m≈0.272727272727 m0.4 m≈0.484128252934 m0Meets limits66
5 × 12600.5 m0.8 m0.25 m0.4 m≈0.471699056603 m0Meets limits71
6 × 16Not applicable≈0.666666666667 m3 m≈0.333333333333 m≈3.01846171271 m0X wall offset exceeds your limitNot ranked
6 × 2123 m≈0.666666666667 m1.5 m≈0.333333333333 m≈1.53659074288 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
6 × 3182 m≈0.666666666667 m1 m≈0.333333333333 m≈1.05409255339 m0Meets limits15
6 × 4241.5 m≈0.666666666667 m0.75 m≈0.333333333333 m≈0.82073815015 m0Meets limits24
6 × 5301.2 m≈0.666666666667 m0.6 m≈0.333333333333 m≈0.686375342732 m0Meets limits33
6 × 6361 m≈0.666666666667 m0.5 m≈0.333333333333 m≈0.600925212577 m0Meets limits43
6 × 742≈0.857142857143 m≈0.666666666667 m≈0.428571428571 m≈0.333333333333 m≈0.542940678619 m0Meets limits51
6 × 8480.75 m≈0.666666666667 m0.375 m≈0.333333333333 m≈0.50173310745 m0Meets limits57
6 × 954≈0.666666666667 m≈0.666666666667 m≈0.333333333333 m≈0.333333333333 m≈0.471404520791 m0Meets limits64
6 × 10600.6 m≈0.666666666667 m0.3 m≈0.333333333333 m≈0.448454134902 m0Meets limits70
6 × 1166≈0.545454545455 m≈0.666666666667 m≈0.272727272727 m≈0.333333333333 m≈0.430686981926 m0Meets limits77
6 × 12720.5 m≈0.666666666667 m0.25 m≈0.333333333333 m≈0.416666666667 m0Meets limits81
7 × 17Not applicable≈0.571428571429 m3 m≈0.285714285714 m≈3.01357472996 m0X wall offset exceeds your limitNot ranked
7 × 2143 m≈0.571428571429 m1.5 m≈0.285714285714 m≈1.52696845189 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
7 × 3212 m≈0.571428571429 m1 m≈0.285714285714 m≈1.04001569847 m0Meets limits20
7 × 4281.5 m≈0.571428571429 m0.75 m≈0.285714285714 m≈0.802578751937 m0Meets limits31
7 × 5351.2 m≈0.571428571429 m0.6 m≈0.285714285714 m≈0.664554477121 m0Meets limits41
7 × 6421 m≈0.571428571429 m0.5 m≈0.285714285714 m≈0.57587555345 m0Meets limits52
7 × 749≈0.857142857143 m≈0.571428571429 m≈0.428571428571 m≈0.285714285714 m≈0.515078753638 m0Meets limits61
7 × 8560.75 m≈0.571428571429 m0.375 m≈0.285714285714 m≈0.471442099373 m0Meets limits68
7 × 963≈0.666666666667 m≈0.571428571429 m≈0.333333333333 m≈0.285714285714 m≈0.439025926538 m0Meets limits74
7 × 10700.6 m≈0.571428571429 m0.3 m≈0.285714285714 m≈0.414285714286 m0Meets limits79
7 × 1177≈0.545454545455 m≈0.571428571429 m≈0.272727272727 m≈0.285714285714 m≈0.394984579889 m0Meets limits85
7 × 12840.5 m≈0.571428571429 m0.25 m≈0.285714285714 m≈0.379648064741 m0Meets limits90
8 × 18Not applicable0.5 m3 m0.25 m≈3.0103986447 m0X wall offset exceeds your limitNot ranked
8 × 2163 m0.5 m1.5 m0.25 m≈1.52069063257 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
8 × 3242 m0.5 m1 m0.25 m≈1.0307764064 m0Meets limits26
8 × 4321.5 m0.5 m0.75 m0.25 m≈0.790569415042 m0Meets limits37
8 × 5401.2 m0.5 m0.6 m0.25 m0.65 m0Meets limits49
8 × 6481 m0.5 m0.5 m0.25 m≈0.559016994375 m0Meets limits59
8 × 756≈0.857142857143 m0.5 m≈0.428571428571 m0.25 m≈0.496158713909 m0Meets limits69
8 × 8640.75 m0.5 m0.375 m0.25 m≈0.450693909433 m0Meets limits76
8 × 972≈0.666666666667 m0.5 m≈0.333333333333 m0.25 m≈0.416666666667 m0Meets limits82
8 × 10800.6 m0.5 m0.3 m0.25 m≈0.390512483795 m0Meets limits87
8 × 1188≈0.545454545455 m0.5 m≈0.272727272727 m0.25 m≈0.369973195366 m0Meets limits92
8 × 12960.5 m0.5 m0.25 m0.25 m≈0.353553390593 m0Meets limits96
9 × 19Not applicable≈0.444444444444 m3 m≈0.222222222222 m≈3.00821919348 m0X wall offset exceeds your limitNot ranked
9 × 2183 m≈0.444444444444 m1.5 m≈0.222222222222 m≈1.51637156266 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
9 × 3272 m≈0.444444444444 m1 m≈0.222222222222 m≈1.02439382859 m0Meets limits29
9 × 4361.5 m≈0.444444444444 m0.75 m≈0.222222222222 m≈0.782229324463 m0Meets limits45
9 × 5451.2 m≈0.444444444444 m0.6 m≈0.222222222222 m≈0.639830224395 m0Meets limits56
9 × 6541 m≈0.444444444444 m0.5 m≈0.222222222222 m≈0.547158766766 m0Meets limits65
9 × 763≈0.857142857143 m≈0.444444444444 m≈0.428571428571 m≈0.222222222222 m≈0.482758930976 m0Meets limits75
9 × 8720.75 m≈0.444444444444 m0.375 m≈0.222222222222 m≈0.43589874518 m0Meets limits83
9 × 981≈0.666666666667 m≈0.444444444444 m≈0.333333333333 m≈0.222222222222 m≈0.400616808385 m0Meets limits89
9 × 10900.6 m≈0.444444444444 m0.3 m≈0.222222222222 m≈0.373339947031 m0Meets limits94
9 × 1199≈0.545454545455 m≈0.444444444444 m≈0.272727272727 m≈0.222222222222 m≈0.351799490248 m0Meets limits98
9 × 121080.5 m≈0.444444444444 m0.25 m≈0.222222222222 m≈0.3344887383 m0Meets limits101
10 × 110Not applicable0.4 m3 m0.2 m≈3.00665927567 m0X wall offset exceeds your limitNot ranked
10 × 2203 m0.4 m1.5 m0.2 m≈1.51327459504 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
10 × 3302 m0.4 m1 m0.2 m≈1.01980390272 m0Meets limits35
10 × 4401.5 m0.4 m0.75 m0.2 m≈0.776208734813 m0Meets limits50
10 × 5501.2 m0.4 m0.6 m0.2 m≈0.632455532034 m0Meets limits63
10 × 6601 m0.4 m0.5 m0.2 m≈0.538516480713 m0Meets limits72
10 × 770≈0.857142857143 m0.4 m≈0.428571428571 m0.2 m≈0.472941295921 m0Meets limits80
10 × 8800.75 m0.4 m0.375 m0.2 m0.425 m0Meets limits88
10 × 990≈0.666666666667 m0.4 m≈0.333333333333 m0.2 m≈0.388730126323 m0Meets limits95
10 × 101000.6 m0.4 m0.3 m0.2 m≈0.360555127546 m0Meets limits100
10 × 11110≈0.545454545455 m0.4 m≈0.272727272727 m0.2 m≈0.338201367959 m0Meets limits103
10 × 121200.5 m0.4 m0.25 m0.2 m≈0.320156211872 m0Meets limits105
11 × 111Not applicable≈0.363636363636 m3 m≈0.181818181818 m≈3.00550459178 m0X wall offset exceeds your limitNot ranked
11 × 2223 m≈0.363636363636 m1.5 m≈0.181818181818 m≈1.51097910351 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
11 × 3332 m≈0.363636363636 m1 m≈0.181818181818 m≈1.01639453523 m0Meets limits39
11 × 4441.5 m≈0.363636363636 m0.75 m≈0.181818181818 m≈0.771723947561 m0Meets limits54
11 × 5551.2 m≈0.363636363636 m0.6 m≈0.181818181818 m≈0.626943259984 m0Meets limits67
11 × 6661 m≈0.363636363636 m0.5 m≈0.181818181818 m≈0.532031814124 m0Meets limits78
11 × 777≈0.857142857143 m≈0.363636363636 m≈0.428571428571 m≈0.181818181818 m≈0.46554411244 m0Meets limits86
11 × 8880.75 m≈0.363636363636 m0.375 m≈0.181818181818 m≈0.416752745929 m0Meets limits93
11 × 999≈0.666666666667 m≈0.363636363636 m≈0.333333333333 m≈0.181818181818 m≈0.379695881398 m0Meets limits99
11 × 101100.6 m≈0.363636363636 m0.3 m≈0.181818181818 m≈0.35079602512 m0Meets limits104
11 × 11121≈0.545454545455 m≈0.363636363636 m≈0.272727272727 m≈0.181818181818 m≈0.327777388679 m0Meets limits107
11 × 121320.5 m≈0.363636363636 m0.25 m≈0.181818181818 m≈0.309124329744 m0Meets limits108
12 × 112Not applicable≈0.333333333333 m3 m≈0.166666666667 m≈3.00462606289 m0X wall offset exceeds your limitNot ranked
12 × 2243 m≈0.333333333333 m1.5 m≈0.166666666667 m≈1.50923085636 m0Adjacent x spacing exceeds your limit; X wall offset exceeds your limitNot ranked
12 × 3362 m≈0.333333333333 m1 m≈0.166666666667 m≈1.01379375505 m0Meets limits46
12 × 4481.5 m≈0.333333333333 m0.75 m≈0.166666666667 m≈0.768295371441 m0Meets limits60
12 × 5601.2 m≈0.333333333333 m0.6 m≈0.166666666667 m≈0.622718056409 m0Meets limits73
12 × 6721 m≈0.333333333333 m0.5 m≈0.166666666667 m≈0.527046276695 m0Meets limits84
12 × 784≈0.857142857143 m≈0.333333333333 m≈0.428571428571 m≈0.166666666667 m≈0.45983828371 m0Meets limits91
12 × 8960.75 m≈0.333333333333 m0.375 m≈0.166666666667 m≈0.410369075075 m0Meets limits97
12 × 9108≈0.666666666667 m≈0.333333333333 m≈0.333333333333 m≈0.166666666667 m≈0.37267799625 m0Meets limits102
12 × 101200.6 m≈0.333333333333 m0.3 m≈0.166666666667 m≈0.343187671366 m0Meets limits106
12 × 11132≈0.545454545455 m≈0.333333333333 m≈0.272727272727 m≈0.166666666667 m≈0.319621562269 m0Meets limits109
12 × 121440.5 m≈0.333333333333 m0.25 m≈0.166666666667 m≈0.300462606289 m0Meets limits110

Save or reuse this plan

Saved input includes unfinished drafts and conversion provenance. The complete report includes all candidate summaries, current coordinates and the inspected center.

Saved input · selectable fallback
Complete report · selectable fallback
Preview and apply an input file

Use a saved input file or the declared schema. Loading and previewing are separate from applying. The report CSV is a different format.

Method and limits

All listed grids use exact rational coordinate and boundary comparisons. The largest nearest-center distance is a geometric room-coverage distance, not a brightness measurement. Limits and keep-outs are your entered assumptions.

The room is a rectangle; the origin is its lower-left corner, X points right and Y points up.

Rows run along Y and columns along X. Fixtures are represented by centers with no footprint or clearance radius.

Keep-out rectangles have closed boundaries. A center on any edge or corner counts as a conflict; overlapping memberships are retained.

Passing grids are ranked by fixture count, exact worst distance to a nearest center, row count, then column count within the bounded 1–12 by 1–12 search.

Enter spacing and wall limits from your own project requirements or fixture guidance; geometry alone does not establish brightness, glare, wiring, fire safety or code compliance.

One international foot equals exactly 0.3048 meters; valid conversion anchors preserve quantities across unit changes.

This is a geometric center-placement plan. It does not predict illuminance or certify an installation.

This tool does not calculate illuminance, glare, fixture footprint, wiring, installation clearance or code compliance. Manufacturer-specific spacing criteria and a suitable lighting design remain separate.

How to use this calculator

  1. Enter the room width and length in metres or feet, then choose Rows and Columns. The plan origin is the lower-left corner, with x to the right and y upward. Markers represent fixture centers, not fixture dimensions.
  2. Choose Edge layout: balanced placement or custom opposite-wall offsets. Balanced placement centers each fixture in an equal cell. Custom placement uses the entered X wall offset and Y wall offset on opposite sides; a single row or column remains centered. Custom drafts are retained while balanced placement is active.
  3. Enter your maximum adjacent spacing and maximum wall offsets for each axis. These are your geometric constraints, not universal lighting recommendations. A one-center axis has no adjacent gap, but its actual distance to each wall is still checked.
  4. Add any rectangular keep-out zones using lower-left x and y coordinates, width and length. A center on a zone boundary counts as a conflict. Overlapping zones are allowed; inspect each center's complete matching-zone list without double-counting the center.
  5. Compare the current grid with the smallest listed grid meeting your entered limits. Use this layout changes rows and columns explicitly. Inspect fixtures through the native selector and coordinate ledger; exact values remain available when narrow rooms or small zones are hard to distinguish in the plan.
  6. Use Input file format and Input text to preview to stage a complete CSV or TSV plan before applying it. Reusable input preserves unfinished drafts. A complete report requires a valid plan and includes its constraints, current coordinates, all 144 candidate summaries and the selected inspection; it does not certify a lighting design.

The Formula

The mathematical logic powering this calculation is:

For n centers across dimension D, balanced placement divides the axis into n equal cells and places a center at (2j + 1)D/(2n), for j = 0,…,n − 1. Adjacent spacing is D/n when n > 1; both wall offsets are D/(2n). With custom opposite-wall offset a and n > 1, centers are a + j(D − 2a)/(n − 1), adjacent spacing is (D − 2a)/(n − 1), and both wall offsets are a. A single center is always at D/2 and has no adjacent gap.
For each axis, the farthest distance to its nearest center is the larger of the actual wall offset and half the adjacent gap; with one center it is D/2. The room's farthest distance to a nearest fixture center is √(rx² + ry²). This is geometric distance, not a measure of brightness. Room area is width × length.
A center conflicts with a keep-out rectangle when both coordinates lie within its closed bounds, including every edge and corner. Count each conflicting center once while preserving all matching zone identities. A grid meets the entered limits when all applicable spacing and wall limits pass and no center conflicts.
Enumerate all 144 combinations of 1–12 rows and 1–12 columns. Rank passing grids by fixture count, then exact farthest-distance squared, then rows and columns. Decisions use exact rational geometry; irrational displayed square roots are approximate. One international foot is exactly 0.3048 m.

Worked Example

If you input:

  • Room width (m): 6
  • Room length (m): 4
  • Length unit: m
  • Rows: 2
  • Columns: 3
  • Edge layout: Balanced
  • Maximum adjacent x spacing: 2 m
  • Maximum adjacent y spacing: 2 m
  • Maximum x wall offset: 1 m
  • Maximum y wall offset: 1 m
  • Keep-out zones: None

Result:

The 24 m² room has six centers: x = 1, 3 and 5 m at y = 1 and 3 m. Adjacent gaps are 2 m on both axes and every opposite-wall offset is 1 m. No center conflicts with a keep-out zone. The farthest room point is √2 m, approximately 1.41421356237 m, from its nearest center. Two rows by three columns is the unique smallest listed grid meeting these entered limits. This checks geometry only, not illumination or installation suitability.

Frequently Asked Questions

Does this tell me how many lights will illuminate my room adequately?

It compares regular fixture-center grids against the spacing and wall limits you enter. Actual illumination depends on fixture photometry, output, mounting height, surfaces and tasks. Manufacturer-specific criteria can inform your inputs, but the calculator does not choose those criteria or calculate brightness, beam spread, glare or lighting adequacy. A passing layout is not a certified design or an equipment recommendation.

How do balanced placement and custom offsets differ?

Balanced placement divides each room dimension into equal cells and centers one fixture in each cell. Custom placement uses equal offsets from the two opposite walls, with equally spaced centers between them. Custom offsets must be smaller than half the room dimension, even when the selected axis contains only one center, because the comparison also evaluates larger grids. With one center, its actual position is the midpoint.

Why can a one-row or one-column layout pass a spacing limit?

There is no adjacent pair on an axis containing one center, so that axis's adjacent-gap check is not applicable. Its actual wall offsets are still half the room dimension and must satisfy the entered wall limit. Passing counts therefore need not be monotone: one center may pass, several intermediate counts may fail, and a denser grid may pass again. All 144 listed grids are evaluated explicitly.

What do keep-out zones exclude?

Each zone is a closed rectangle that excludes fixture-center points, including points on an edge or corner. It does not describe a fixture footprint, wiring route, structural member suitability or required installation clearance. Zones may overlap. A center matching several zones contributes once to the conflicting-center count, while the ledger preserves every matching zone and the report also records the total number of center–zone incidences.

Is the smallest listed grid an optimum or a lighting recommendation?

It is the first passing layout among 1–12 rows and 1–12 columns, ranked by fixture count, then exact farthest-distance squared, then rows and columns. Other arrangements outside these regular grids are not searched. A valid current layout can fail your constraints and remain visible and reportable. If none pass, the result explicitly says that no listed grid meets the entered limits rather than relaxing a limit or claiming success.

What does farthest distance to a center mean?

This is the largest planar distance between any point in the rectangular room and its nearest fixture center. It summarizes the geometry of the grid's cells and edges and helps distinguish equally sized candidate grids. It is not a prediction of light reaching that point. The drawing uses equal physical scaling with letterboxing; markers may overlap at small screen scales, so native inspection and the exact coordinate ledger remain available.

How are unit changes, unfinished drafts and exports handled?

Metre/foot switching preserves physical quantities through validated exact anchors and restores original source text when returning to its source unit. A malformed dimensional draft can prevent conversion without erasing it; blank inactive custom offsets are retained. Imported unknown units need an explicit declaration rather than a pretend conversion. Complete input files preserve unfinished drafts, while a complete result report requires valid room, zone and constraint inputs. Computation bounds are not installation recommendations.

Similar Calculators