Gallery Wall Art Size & Frame Spacing Calculator

Enter a clear rectangular wall area, the outer dimensions of your frames, and the order you want to see them. Compare every way of dividing that order into the selected number of rows. A scaled drawing shows where the frames and entered hanging offsets land.

Scaled wall geometry

Find rows that fit your measured wall

The centered layout fits the usable wall area.
Layout bounds
34 × 36 in
12 in total horizontal room · 0 in total vertical room
Fitting row splits
1 of 3
Frame order and orientation stay as entered.
Scaled frame layout

Dashed outline is the 46 × 36 in usable wall area. A dot marks an entered hanging point.

Oak · Row 1 · Left 6 in · Top 0 in
Hanging mark: 15 in from left, 2 in from top.

Usable wall, gaps and frames

One row per frame. Enter code, width and height in inches. Optionally add both hanging mark offsets from that frame’s left and top. Separate columns with commas or tabs.

Review coordinates and CSV
Frames and hanging marks relative to the upper-left wall origin
FrameRowWidth × heightLeft (in)Top (in)Mark left (in)Mark top (in)
Oak118 × 1660152
Fern114 × 14261332.5
Lake220 × 166191621
Ink212 × 1828183420.25

How to use this calculator

  1. Measure the clear rectangle where the gallery can sit. Use outer frame edges for dimensions.
  2. Enter each frame code, width and height in reading order. Add both hanging point offsets when measured, otherwise omit them.
  3. Set the number of rows and the horizontal and vertical gaps. Check the measured wall boundaries in the drawing.
  4. Select a frame to see its corner and mark coordinates. Export the layout or use paper templates to review it on the wall.

The Formula

The mathematical logic powering this calculation is:

Use the clear rectangle's upper left as the coordinate origin. The model tests every way to split the entered frame order into the requested number of contiguous nonempty rows. A row's width is the sum of outer frame widths plus one horizontal gap between each pair. Its height is the tallest frame. The layout width is the widest row, and the layout height is the sum of row heights plus one vertical gap between row boxes.

A split fits if both dimensions are at most the respective clear dimensions. The preferred fit minimizes the widest row, then layout height, then the difference between the widest and narrowest rows. If those are equal, the first split by ascending row break positions is selected. In the absence of a fit, rank by the smaller maximum dimensional overrun, then the smaller sum of overruns, then the same fit ordering. The result labels that layout as exceeding the space.

Center the whole layout vertically in the space. Center each row horizontally in the usable width and each frame vertically inside its row box. A provided hanging mark equals the placed top-left coordinate plus the offsets measured from that frame's own left and top. The requested vertical gap is between row boxes, so individual shorter frames can have a larger visual gap between them.

Enter a usable rectangle of 1–360 inches per side, 1–10 frames of 0.5–120 inches per side, 0–24 inch gaps, and 1–4 rows with at least one frame in each row. Frame codes use 1–8 letters, digits or hyphens, starting with a letter. Optional offset pairs must lie within the frame. Measurements accept up to 0.001 inch; centered positions can land on half a thousandth of an inch. The CSV retains these positions. Frames keep their entered orientation, and the worksheet accounts for the usable rectangle and spacing only. The template describes geometry; wall type, frame weight and hardware determine mounting suitability.

Worked Example

If you input:

  • Clear rectangle: 46 × 36 in
  • Four outer frames: 18 × 16, 14 × 14, 20 × 16 and 12 × 18 in
  • Grouping: Two rows, 2 in in each direction

Result:

One of three row splits fits. The selected layout is 34 × 36 in. An extra 0.001 in in the vertical gap leaves no fitting split.

Frequently Asked Questions

Does the calculator rotate or rearrange the frames?

Frames keep their entered orientation and order. The calculator decides where each row ends, using exact dimensions.

Where do the hanging mark coordinates start?

All coordinates measure rightward and downward from the upper-left corner of the clear wall rectangle. Mark offsets come from the individual frame and can be omitted.

Why are some gaps visibly larger than the vertical value?

The vertical gap applies to the outside edges of row boxes. Shorter frames are centered inside their row and can have more clearance to adjoining frames.

What does a negative coordinate mean?

The selected overrun preview places part of the row or frame outside the usable area on the left or top. Change the space, gap or grouping before using a layout as a template.

Similar Calculators