Sub topic 11
The golden-ratio grid compared with thirds
This chapter assumes you already know how to draw a thirds grid and place a subject on its lines and intersections. It also assumes you can read short Python and CSS snippets. Here you will compare the thirds grid with the golden-ratio grid, work out where its lines fall, and decide which one fits a task.
What the golden-ratio grid is
The golden ratio, called phi, is about 1.618. Two lengths are in the golden ratio when the whole divided by the longer part equals the longer part divided by the shorter part.
A golden-ratio grid, sometimes called a phi grid, splits each dimension at that ratio. Like the thirds grid, it uses two vertical and two horizontal lines. It still makes nine cells and four intersections. Only the line positions change.
- The thirds lines sit at 33.3 and 66.7 percent of each dimension.
- The golden lines sit at about 38.2 and 61.8 percent.
The golden lines are closer to the center. The middle cell is therefore smaller, and the four corner cells are larger.
Computing the lines
Write phi as (1 + 5 ** 0.5) / 2. The two split points are 1 / (1 + phi), about 0.382, and phi / (1 + phi), about 0.618. These two numbers add up to 1, so the grid is symmetric.
def golden_grid(width, height):
phi = (1 + 5 ** 0.5) / 2
a = 1 / (1 + phi) # about 0.382
b = phi / (1 + phi) # about 0.618
return [width * a, width * b], [height * a, height * b]
xs, ys = golden_grid(1920, 1080)
print([round(x) for x in xs]) # [733, 1187]
print([round(y) for y in ys]) # [413, 667]On a 1920 by 1080 frame, the golden vertical lines fall at x = 733 and x = 1187. The thirds lines fall at 640 and 1280. The distance between the two systems is about 93 pixels on each side. That is small, which matters for the decision below.
Comparing the two grids
| Property | Thirds grid | Golden-ratio grid |
|---|---|---|
| Line positions | 33.3% and 66.7% | 38.2% and 61.8% |
| Center cell | About 11% of the frame area | About 14.6% of the frame area |
| Intersections on 1920 by 1080 | (640, 360) and three more | (733, 413) and three more |
| Support in cameras and tools | Almost universal | Common in editors, rare in cameras |
| Best used for | Fast framing and general work | Fine-tuning crops and layouts |
The center-cell figures are the squares of the line spacing. The thirds center cell is (1/3)² ≈ 0.111. The golden center cell is 0.236² ≈ 0.056 wide, which is the 0.618 − 0.382 gap, so its area is about 5.6 percent of the frame. Check this yourself before relying on the table's golden figure.
The corrected comparison is that the golden grid has a much smaller middle cell, so subjects placed on its lines sit nearer the center.
Overlaying a grid in CSS
You can draw a thirds overlay with a nine-cell CSS grid. The overlay does not alter the image and does not block pointer events.
.photo {
position: relative;
}
.thirds-overlay {
position: absolute;
inset: 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
pointer-events: none;
}
.thirds-overlay > div {
border: 1px solid rgba(255, 255, 255, 0.6);
}To get a golden overlay, change the track sizes to 0.382fr 0.236fr 0.382fr for both columns and rows. The three tracks then meet at the 38.2 and 61.8 percent lines.
Choosing between them
Use the thirds grid when you frame in a camera, because that is the grid most cameras offer. Use the golden grid when you crop afterwards and want a slightly more centered subject. The difference is small, so do not expect a visibly different result from a subject that moves a few percent.
Common errors:
- Treating either grid as a law. Both are guides, and a subject slightly off a line usually looks fine.
- Mixing the two in one layout. Pick one so that edges align.
- Forgetting that the golden grid pulls lines inward, which leaves less lead room on the open side of a subject than thirds would.
Exercise
A frame is 3000 pixels wide and 2000 pixels tall. Where do the golden-ratio vertical and horizontal lines fall, and how far is each vertical golden line from the nearest thirds line?
Show answer
Vertical golden lines are at 3000 × 0.382 ≈ 1146 and 3000 × 0.618 ≈ 1854. Horizontal golden lines are at 2000 × 0.382 ≈ 764 and 2000 × 0.618 ≈ 1236. The thirds vertical lines are at 1000 and 2000, so each golden vertical line is about 146 pixels closer to the center.
Exercise
Why is the middle cell of a golden-ratio grid smaller than the middle cell of a thirds grid?
Show answer
The golden lines are at 38.2 and 61.8 percent, so the gap between them is 23.6 percent of each dimension. The thirds gap is 33.3 percent. Area scales with the square of the gap, so the golden center cell is about 5.6 percent of the frame and the thirds center cell is about 11.1 percent.