Grids and Spacing: Layouts That Feel Planned
Learn how a column grid and an 8-based spacing scale make layouts feel calm, work out a 12-column grid by hand, and find rule-of-thirds points, with real numbers.
In this lesson you will
- Define a grid by margin, gutter and columns
- Work out column widths and spans
- Use a spacing scale
- Find rule-of-thirds points
About 22 minutes
Why does the professional version feel calmer?
Anil makes a poster with a title, a photo, three short paragraphs and a logo. Everything is aligned, nothing overlaps, the colours work. It still feels busier than the poster in the next window, which has the same pieces. When he looks closely, he finds why: on his poster, the gaps between things are all different, 14 pixels here, 41 there, 27 somewhere else. On the calm poster, the gaps come from a short list of sizes that repeat. This lesson explains the two ideas behind that calm: a grid that decides where things go, and a spacing scale that decides how far apart they sit.
What a grid is
A layout grid is an invisible set of columns that content snaps to. Magazines, websites and posters all use them. A grid is defined by three numbers: the margin (the empty border around the page), the gutter (the gap between columns) and the number of columns. Twelve is popular because it divides neatly into halves, thirds, quarters and sixths, which gives you many layouts from one structure.
Canva offers rulers, guides and smart alignment lines, and some design types and templates are built on grids, though the exact tools and their names change. Whatever your version offers, the arithmetic is the same, and you can do it yourself with a calculator or with the short program below.
A grid worked out in numbers
The program builds a 12-column grid for a 1080 by 1350 post with a 90 pixel margin and a 24 pixel gutter. Working through it by hand shows what it does: the usable width is 1080 minus two margins, which leaves 900. Eleven gutters of 24 take 264 of that, so the twelve columns share what remains.
W, H = 1080, 1350
MARGIN, GUTTER, COLS = 90, 24, 12
col_w = (W - 2 * MARGIN - (COLS - 1) * GUTTER) / COLS
def col_x(i): # left edge of column i (0 to 11)
return MARGIN + i * (col_w + GUTTER)
def span_w(n):
return n * col_w + (n - 1) * GUTTER
print(f"column width: {col_w:.1f} px")
for n in (12, 6, 4, 3):
print(f"{n} columns wide: {span_w(n):.1f} px")
print("starts of 4-col blocks:", [round(col_x(i)) for i in (0, 4, 8)])
def snap_x(x): # snap a left edge to the nearest column
return min((col_x(i) for i in range(COLS)), key=lambda c: abs(c - x))
print()
for x in (100, 250, 600):
print(f"x {x} snaps to {snap_x(x):.1f}")
scale = [8, 16, 24, 32, 48, 64, 96] # an 8-point spacing scale
def nearest(v):
return min(scale, key=lambda s: abs(s - v))
for gap in (13, 37, 52, 80):
print(f"gap {gap} -> {nearest(gap)}")
thirds = [(round(W * a / 3), round(H * b / 3)) for a in (1, 2) for b in (1, 2)]
print("rule of thirds points:", thirds)
column width: 53.0 px
12 columns wide: 900.0 px
6 columns wide: 438.0 px
4 columns wide: 284.0 px
3 columns wide: 207.0 px
starts of 4-col blocks: [90, 398, 706]
x 100 snaps to 90.0
x 250 snaps to 244.0
x 600 snaps to 629.0
gap 13 -> 16
gap 37 -> 32
gap 52 -> 48
gap 80 -> 64
rule of thirds points: [(360, 450), (360, 900), (720, 450), (720, 900)]
Each column comes out 53.0 pixels wide. A block spanning 6 columns is 438.0 pixels wide, a 4-column block 284.0 and a 3-column block 207.0. Notice that a span is always columns plus the gutters inside it, never the outer gutters. The three starting positions for three equal blocks, [90, 398, 706], are exactly where three 4-column cards would sit, with gutters between them. If a card is placed anywhere else, it will look slightly off even if nobody can say why. In the editor, you do not need to type these numbers. Use guides, or simply remember the idea: choose a small number of column widths and start every block at a column edge.
The program also has a function that snaps a left edge to the nearest column. An item placed at x = 100 snaps to 90.0, and one at x = 250 to 244.0, so things that are almost aligned become exactly aligned.
A spacing scale
The second half of the program deals with gaps. Instead of choosing any number you like, you choose from a short spacing scale. A common one is based on 8: 8, 16, 24, 32, 48, 64 and 96. Every gap, whether between a heading and its paragraph or between two sections, is one of these. When the program meets a gap it needs to snap, a gap of 13 becomes 16, 37 becomes 32, 52 becomes 48 and 80 becomes 64. The eye experiences a design in which gaps repeat as ordered, even if it cannot count them.
A useful habit is to make gaps smaller between related things and larger between groups. For example, 16 between a heading and its paragraph, and 48 between one section and the next. That reinforces the grouping you learned in lesson 8.
The rule of thirds
The last line prints four points: [(360, 450), (360, 900), (720, 450), (720, 900)]. Imagine lines dividing the page into three equal columns and three equal rows. The four places where they cross are natural focal points, and photographers and designers often place the subject near one rather than in the exact centre. It is a guide, not a law, and centred layouts work beautifully for symmetrical designs such as invitations. But when a photo feels dull, moving the subject towards one of these points is the first thing to try.
Using this in the editor
- Decide your margin and write it down. Keep it the same on every design in a series.
- Choose how many columns you need. For a simple post, three or four equal blocks may be all you use, and that is fine.
- Place guides or a thin test shape at the column edges, and snap your items to them.
- Choose a short spacing scale and use only those gaps.
- Zoom out and look: do the gaps and edges repeat in a way the eye can feel?
Adding a grid and then ignoring it. A grid is useful only when blocks actually start and end at column edges. If you break the grid, do it on purpose, for one hero item, and let the rest obey it.
Grids and scales are tools for speed and calm, not cages. Experienced designers break them deliberately, but only because they know exactly where the lines are.
Practice for this lesson
Check what you learned
Five quick questions. Pick an answer and you will see straight away whether it is right and why.
What are the three numbers that define a grid?
- Colour, font and size
- Width, height and weight
- Margin, gutter and number of columns
- Hue, tint and shade
A grid is set by its margin, its gutter and how many columns it has.
What is the gutter?
- The outer border
- A font style
- A photo crop
- The gap between columns
The gutter is the space between neighbouring columns.
Why use a spacing scale?
- It makes files smaller
- Repeating gap sizes make a layout feel orderly
- It changes fonts
- It removes margins
Gaps picked from a short list repeat, and the eye reads that repetition as order.
In the program, a gap of 37 snapped to which value?
- 48
- 64
- 32
- 8
37 is closest to 32 on the 8-based scale, so it snaps to 32.
What is the rule of thirds?
- Dividing the page in three and using the crossings
- Using three fonts
- Making three pages
- Using three colours
The crossing points of a three-by-three division are natural places for a subject.
Summary
- A grid is set by margin, gutter and number of columns.
- Snap blocks to column edges so they line up exactly.
- Choose gaps from a short scale such as 8, 16, 24, 32, 48, 64 and 96.
- The rule of thirds gives four natural focal points.
Questions
How many columns should I use?
Twelve is flexible because it divides into halves, thirds, quarters and sixths. For a simple post, three or four blocks may be enough.
Does Canva have a grid?
Canva offers rulers, guides and alignment lines, and some layouts use grids. Names and places change, so use what your version shows.
Should I always follow the rule of thirds?
No. It is a starting point. Symmetrical, centred designs are often better for invitations and formal notices.
