
Newsletter Subscribe
Enter your email address below and subscribe to our newsletter

Enter your email address below and subscribe to our newsletter
Arrange a set of frames on a wall and get printable hanging coordinates.
Arrange a set of frames on a wall and get printable hanging coordinates.
Everything runs in your browser. No data is uploaded.
Gallery walls are a problem of arithmetic as much as taste. A set of frames has a fixed outer size and a chosen gap, while a wall offers a finite rectangle of usable space. This planner converts those quantities into a column count, a row count, group dimensions, the side margin and a coordinate for every frame, so the arrangement can be judged at full size before anything is hung.
Three stages produce the result. The planner first derives the column count from the frame count and two aspect ratios, then rounds the division upward for the row count. It next multiplies frame size and gap into a group width and height, and centres that group inside the entered wall rectangle to obtain a side margin and a top margin. It finally assigns each frame a left and top coordinate for a proportion diagram. A separate hanging-height input reports how high the top edge of the group sits above the floor. Everything runs locally in the browser; no measurements leave the device, and every figure can be reproduced by hand from the formulae below.
Getting the arithmetic wrong shows up once frames are at viewing height. A column count chosen by eye can leave the last row with a single isolated frame or let the group run wider than the sofa beneath it, and a gap that looks even on a diagram reads as uneven at full size.
Planning first keeps the arrangement clear of what is already on the wall: door casings, switches, radiators, a fireplace surround and the back of tall furniture all reduce the usable rectangle. Marking the outline with low-tack tape or paper turns an abstract result into something judged from the doorway and repositioned in a minute.
The default centre height of 57 in above the floor is a commonly used hanging convention, not a building-code requirement, a published standard or a professional prescription. The planner recomputes the top edge from whatever value is entered; the 3 in gap and the aspect-ratio rule carry the same status.
The tables below are working references, not product data or survey statistics; every numeric cell is computed from the formulae in the next section. Sizes are entered in inches, and 1 in = 2.54 cm is an exact unit definition, not a design convention.
| Frame count | Columns | Rows | Group width (in) | Group height (in) | Side margin (in) | Top margin (in) | Top edge (in) |
|---|---|---|---|---|---|---|---|
| 2 | 2 | 1 | 35 | 20 | 30.5 | 20 | 47 |
| 3 | 2 | 2 | 35 | 43 | 30.5 | 8.5 | 35.5 |
| 4 | 3 | 2 | 54 | 43 | 21 | 8.5 | 35.5 |
| 5 | 3 | 2 | 54 | 43 | 21 | 8.5 | 35.5 |
| 6 | 3 | 2 | 54 | 43 | 21 | 8.5 | 35.5 |
| 7 | 4 | 2 | 73 | 43 | 11.5 | 8.5 | 35.5 |
| 8 | 4 | 2 | 73 | 43 | 11.5 | 8.5 | 35.5 |
The first table holds the wall at 96 x 60 in, each frame at 16 x 20 in, the gap at 3 in, grid layout and the centre at 57 in, then varies the frame count. The column count stays at three for counts of four, five and six because the rounded square root changes only when its argument crosses the next halfway point.
| Quantity | Default | How it is used |
|---|---|---|
| Wall width | 96 in | Canvas width and the base for the side margin |
| Wall height | 60 in | Canvas height and the base for the top margin |
| Frame count | 5 | Number of rectangles to place |
| Frame width | 16 in | Horizontal outer size of one frame |
| Frame height | 20 in | Vertical outer size of one frame |
| Gap | 3 in | Clear space between adjacent frames |
| Layout | grid | Selects the column-count rule |
| Group centre height | 57 in | Hanging convention for the top-edge output |
| Columns (derived) | 3 | round(sqrt(10)) |
| Rows (derived) | 2 | ceil(5 / 3) |
| Group (derived) | 54 x 43 in | From the two group expressions |
| Side / top margin | 21 / 8.5 in | From the two centring expressions |
| Top edge (derived) | 35.5 in | Centre minus half the group height |
The second table records the default inputs. These are ordinary planning values, not measurements of a particular room; finished frames often differ a little, so the actual frame in your hand is the better number to enter.
Every rule below is a planning convention, not a formal standard, stated with its rounding so any result can be recomputed. Imperial inches are used throughout; 1 in = 2.54 cm and 1 ft = 12 in are exact conversions.
For grid layout, columns = round(sqrt(n x (wallW / wallH) x (frameH / frameW))), clamped to 1..n. Here n is the frame count, wallW / wallH is the wall aspect ratio and frameH / frameW is the frame aspect ratio, so the group tends toward a proportion similar to the wall. round means the nearest whole number, and the clamp prevents an impossible result for a very small count. Rows follow as ceil(n / columns), rounding upward. With the defaults the argument is 5 x 1.6 x 1.25 = 10; sqrt(10) = 3.1623 rounds to 3 columns, and 5 / 3 = 1.667 gives 2 rows.
Group width = columns x frameW + (columns – 1) x gap and group height = rows x frameH + (rows – 1) x gap, because a row of three frames has two spaces, not three. Centring gives side margin = (wallW – groupW) / 2 and top margin = (wallH – groupH) / 2, symmetric by construction. With the defaults, 3 x 16 + 2 x 3 = 54 in wide and 2 x 20 + 1 x 3 = 43 in high, leaving (96 – 54) / 2 = 21 in on each side and (60 – 43) / 2 = 8.5 in at the top. No rounding is applied to margins.
Top edge above floor = centre – groupH / 2, using the separate centre input: 57 – 21.5 = 35.5 in. This is a hanging-height convention, independent of the wall-height canvas. Per-frame positions use x = sideMargin + col x (frameW + gap) and y = wallH – topMargin – (row + 1) x frameH – row x gap, with col and row counted from zero; these exist only to draw the diagram and do not feed back into the top-edge figure. Linear layout forces columns = n and rows = 1, then applies the same group expressions. Salon keeps the grid but applies alternating vertical offsets of twice the gap; it is an aesthetic variant described qualitatively here. No figure in this section is a regulatory requirement.
The three examples use only the defaults and two variations. Every number comes from the formulae above and can be re-entered in the planner.
Inputs: wall 96 x 60 in, 5 frames of 16 x 20 in, gap 3 in, grid, centre 57 in. The argument is 5 x 1.6 x 1.25 = 10; sqrt(10) = 3.1623 rounds to 3 columns and ceil(5 / 3) = 2 rows. Group width is 3 x 16 + 2 x 3 = 54 in, group height 2 x 20 + 1 x 3 = 43 in. Side margin is (96 – 54) / 2 = 21 in, top margin (60 – 43) / 2 = 8.5 in, top edge 57 – 21.5 = 35.5 in above the floor. These are exactly the first-load values. A 3 x 2 grid offers six positions for five frames, so one cell stays empty rather than forcing a full rectangle.
Keep the same wall, frames, gap and centre but reduce the count to 3. The argument becomes 3 x 1.6 x 1.25 = 6; sqrt(6) = 2.4495 rounds to 2 columns and ceil(3 / 2) = 2 rows. Group width is 2 x 16 + 1 x 3 = 35 in, group height 2 x 20 + 1 x 3 = 43 in. Side margin is (96 – 35) / 2 = 30.5 in, top margin stays 8.5 in, and the top edge is still 35.5 in because the group height is unchanged.
Set the count to 4 and select linear, which forces columns = 4 and rows = 1 and bypasses the square root. Group width is 4 x 16 + 3 x 3 = 73 in, group height 1 x 20 + 0 = 20 in. Side margin is (96 – 73) / 2 = 11.5 in, top margin (60 – 20) / 2 = 20 in, and the top edge rises to 57 – 10 = 47 in. For contrast, the same four frames in grid layout give 3 columns and 2 rows, since sqrt(8) = 2.8284 rounds to 3, producing a 54 x 43 in group, a 21 in side margin and a 35.5 in top edge.
A tape measure, low-tack tape or a few sheets of newspaper, and a phone camera are enough for the whole process.
Avoid scaling from a furnishing photo or an un-dimensioned floor-plan graphic, since neither carries a reliable scale.
The wall is treated as a simple rectangle, every frame shares one outer width and height, gaps are uniform and the group is centred. The two aspect ratios, the 3 in gap and the 57 in centre are conventions chosen for a repeatable result; none is a published standard, a regulatory minimum or a professional prescription. Half-inch margins are reported exactly rather than rounded.
The model does not account for mixed frame sizes, sloping ceilings, columns, fireplaces, built-ins, windows, door swings, switches, wall texture, colour, or furniture below the group. The per-frame coordinates describe a flat diagram only, and the model says nothing about wall construction, fixings, or how any frame is supported. The output is a layout starting point, not a hanging decision: treat it alongside measured frame dimensions, existing wall features and the visual check above. The tool provides no structural, safety, health, legal or financial assessment of any kind. Where a decision depends on the wall itself, consult a suitably qualified professional.
Because sqrt(10) = 3.1623 rounds to 3 columns and ceil(5 / 3) gives 2 rows. The count is derived from the frame count and two aspect ratios, not picked from a fixed list.
No. It is a commonly used hanging convention, not a building-code requirement or published standard. Changing it simply recomputes the top-edge figure.
Wall height defines the diagram canvas and the top margin. Centre height is a separate hanging input used only to report the top edge above the floor. The two outputs do not feed into one another.
The conventions above are widely published DIY practices rather than a single mandatory standard. These public references let layout terminology be checked independently; none endorses this planner or states the constants, defaults or formulae used here.
This tool provides general layout guidance for informational purposes only. It does not constitute professional interior design, safety, health, legal or financial advice. Always measure your space, confirm the finished dimensions of the frames with the retailer, and consult a suitably qualified professional where a specific decision requires one.
[…] Previous Post Gallery Wall Layout Planner Next Post Layered Lighting […]
[…] Gallery Wall Layout Planner […]
[…] Gallery Wall Layout Planner […]
[…] Gallery Wall Layout Planner […]