Enter your email address below and subscribe to our newsletter

Gallery Wall Layout Planner

Arrange a set of frames on a wall and get printable hanging coordinates.

Calm Home · Tools

Gallery Wall Layout Planner

Arrange a set of frames on a wall and get printable hanging coordinates.

in
in
in
in
in
in

Everything runs in your browser. No data is uploaded.

Your layout will appear here Enter the wall, frame and spacing details, then build the layout to see a diagram and a coordinate table.

How this layout planner works

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.

Key principle: the group is centred as one rectangle, not frame by frame; centring each frame individually would scatter the set.

Why a layout plan matters on a real wall

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.

Reference figures and default values

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 countColumnsRowsGroup width (in)Group height (in)Side margin (in)Top margin (in)Top edge (in)
221352030.52047
322354330.58.535.5
4325443218.535.5
5325443218.535.5
6325443218.535.5
742734311.58.535.5
842734311.58.535.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.

QuantityDefaultHow it is used
Wall width96 inCanvas width and the base for the side margin
Wall height60 inCanvas height and the base for the top margin
Frame count5Number of rectangles to place
Frame width16 inHorizontal outer size of one frame
Frame height20 inVertical outer size of one frame
Gap3 inClear space between adjacent frames
LayoutgridSelects the column-count rule
Group centre height57 inHanging convention for the top-edge output
Columns (derived)3round(sqrt(10))
Rows (derived)2ceil(5 / 3)
Group (derived)54 x 43 inFrom the two group expressions
Side / top margin21 / 8.5 inFrom the two centring expressions
Top edge (derived)35.5 inCentre 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.

The layout formulae behind the diagram

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.

Choosing the column count

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 dimensions and the two margins

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.

Hanging height, coordinates and the other layouts

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.

Three worked examples

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.

Example A — the default grid

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.

Example B — fewer frames in grid layout

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.

Example C — linear layout with four frames

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.

Each example can be reproduced by entering the same numbers. If a result looks surprising, read the column count first: that one figure explains almost every difference in the margins and the top edge.

How to measure the wall before you plan

A tape measure, low-tack tape or a few sheets of newspaper, and a phone camera are enough for the whole process.

  1. Measure the usable wall, not the room. Record the clear rectangle from casing to casing and from the cornice down to the top of any furniture, subtracting a door swing, window reveal or radiator. Take each dimension at two heights and keep the smaller figure.
  2. Measure the actual outer frame. Use the external width and height as it will hang, moulding included, not the print size on a label. A mixed set cannot be modelled in one run.
  3. Set the gap and centre deliberately. Note the clear space between frames and a centre height for the whole group. Both are planning preferences, not prescriptions.
  4. Mark the candidate outline. Tape the computed group rectangle, or the individual frames with their gaps, and step back to the doorway. A balanced diagram can feel high or crowded at full size.
  5. Photograph and record. Photograph the taped layout with furniture in place, note every measurement with its unit, and only then enter the values. Keeping the numbers lets you compare layouts without measuring again.

Avoid scaling from a furnishing photo or an un-dimensioned floor-plan graphic, since neither carries a reliable scale.

Common mistakes and how to avoid them

  • Centring each frame instead of the group. Individual centring breaks the even gap; the planner centres the outer bounding box.
  • Using a label size as the frame size. Enter the measured outside dimensions, not the print or mount size.
  • Treating the gap as an allowance on every frame. The 3 in is clear space between edges, so the group counts one fewer gap than frames.
  • Confusing wall height with centre height. One defines the diagram canvas and top margin; the other is a separate hanging convention for the top-edge figure.
  • Overlooking wall features. Switches, radiators and a fireplace all reduce the usable rectangle; subtract them first.
  • Trusting the diagram without a taped rehearsal. A drawing is a starting point, not a full-size judgement.

Limits and assumptions

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.

Frequently asked questions

Why does the default open at three columns and two rows?

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.

Is 57 in above the floor mandatory?

No. It is a commonly used hanging convention, not a building-code requirement or published standard. Changing it simply recomputes the top-edge figure.

What is the difference between wall height and centre height?

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.

Sources and further reading

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.

  • IKEA — general home-furnishing and wall-display material, for checking commonly stocked frame and display terminology.
  • This Old House — DIY articles on measuring and marking out walls, for independent verification of common practice.
  • Family Handyman — step-by-step DIY guidance on wall layout and marking, offered as general background.
  • BobVila.com — home-improvement reference articles on room planning and wall projects.
  • RoomSketcher: Rug Placement 101 — illustrated material on proportion and grouping within a room, as general background on layout conventions.

Content last reviewed: November 2026. Layout conventions, nominal frame sizes and stocked dimensions can change; check the current product specification and re-measure the wall before planning.

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.

Maya Lin
Maya Lin

Editorial stylist and texture obsessive. Maya specializes in 'lived-in' luxury, helping you layer fabrics, scents, and ceramics to create a home that feels as good as it looks.

Articles: 7

4 Comments

Leave a Reply

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

Stay informed and not overwhelmed, subscribe now!