Proportional systems are based on ratios and have been used for centuries in architecture and art. The golden ratio was first mentioned as early as about 500 BC by Phidias, Plato, and then Euclid. It is fair to assume that this ratio has been discovered several times throughout history — hence its many names, including golden mean, golden ratio, golden section, divine proportion (coined by Leonardo Da Vinci) and the Greek symbol φ. 

The exact mathematical definition is as follows (according to Wikipedia):

Golden ratio: Two quantities a and b (a>b) are in the golden ratio φ if their ratio is the same as the ratio of their sum to the larger of the two quantities:

Two segments in the golden ratio (a/b = φ)

The golden ratio φ can be shown to have a special property:

and is equal to 1.618033… (an irrational number). (You can check that 1/0.618=1.618.)

A study by Giacomo Rizzolatti and Cinzia Di Dio suggests that human brains are hard-wired to prefer human bodies with proportions in the golden ratio. In the study, participants with no background in art, were shown an original image and distorted versions of a statue. The original statue’s proportions reflected the golden ratio. The original image strongly activated sets of brain cells that the distorted images did not, suggesting beauty is partly an innate quality.

The golden ratio has been used to analyze quantities found in nature, architecture, painting, and music. When used, it is often assumed to create an organic, balanced, and aesthetically pleasing composition, thought to be favored by the human eye.

Examples of buildings and works of art that have proportions in the golden ratio range from the pyramids in Giza, the Parthenon in Athens, and Da Vinci’s Mona Lisa.

Leonardo Da Vinci’s Mona Lisa: The length and width of the head (segments a1 and b1), as well as the length and width of the torso (starting from the eyeline down to the hands — segments a2 and b2) are in golden ratio.

The Golden Rectangle and Spiral 

The golden rectangle is simply a rectangle whose sides are in the proportion of the golden ratio.

The golden rectangle has sides that are in the golden ratio (a/b = φ). 

The golden rectangle has an interesting property: if you divide it into a square with the side equal to the rectangle’s shorter dimension and another rectangle (like in the image below), it turns out that the smaller rectangle is a golden rectangle as well. (This property is immediately derived from the golden-ratio property described in the previous section.)

When you divide a golden rectangle into a square and smaller rectangle like in the image above, the smaller rectangle is also a golden rectangle.

You can repeat the process indefinitely by dividing each golden rectangle into a square and another golden rectangle. The result will be a golden spiral — obtained by connecting the opposite corners of each of the squares.

To obtain a golden spiral, start by dividing a golden rectangle ABCD into a square ABEF and a smaller golden rectangle EFDC. Then repeat the process for the smaller golden rectangle EFDC. The golden spiral is formed by connecting the opposite corners of the resulting squares.

The golden spiral is found within many naturally occurring elements such as plants and in weather patterns like hurricanes.

Examples of the Golden Ratio in UI Design

How is the golden ratio used in interface designs? Let’s consider a couple of common examples:

Text Sizes

Different font sizes can be in a golden ratio. Let’s say the body-font size on your website is 16px. The header-font size could be a golden-ratio multiple of your body size — that is, it could be 16 φ = 16 x 1.618 = 25.88 or roughly 26px. 

Some also use the golden ratio to determine the line height needed for a particular font size to be in a golden ratio. (The line height is the font height plus the white space between lines of text — it basically governs how tightly arranged the lines of text are in a paragraph.) For example, if you had a font size of 16px for your body copy, the line height could be 16 φ = 16 x 1.618 = 25.88 or, again, roughly 26px.  

The line height is the height of the font, plus the space between lines of text.
Top: The header and the body text have sizes that are in the golden ratio. The line height is also in golden ratio with the font size. The increase in line height makes reading easier. Bottom: This text block does not use the golden ratio.

However, it turns out that things are a little more complicated because, as line lengths get longer, line heights must also increase in order to maintain readability. For example, a 2004 study from the University of Reading, concludes that long line lengths need more interlinear spacing so that the eyes can easily locate the next line down. If you really want to design your typography with the golden ratio in mind, you can use a golden-ratio typography calculator, which will give you an ideal line height for a given font size and line width. 

Image Cropping

Composition is important when creating compelling imagery. A quick and easy way to crop images and create a strong composition is to apply the golden spiral over the focal point of the image.

A strong composition is created by placing the spiral on the focal point of the image and then cropping the image accordingly, like in the example on the left. 
How to use the golden spiral to crop an image.

Webpage Layout

A 2-column layout is naturally created when you divide a golden rectangle into a square and a smaller golden rectangle. The resulting layout is perfect for a main content area and sidebar. Loosely following this layout creates structure and balance to an interface. However, on today’s responsive websites, it will be hard to fully support the golden ratio across all viewport sizes. If you focus on creating a basic grid based on the ratio and align components to it, you will be able to get the basic benefits of the ratio at least on some screen sizes. 

A basic web grid structure that uses the golden ratio on the left. 
How to create a loose page grid using the golden ratio ​​​​​​.

Conclusion

Some designers are fascinated with the golden ratio and use it to create and edit all sorts of interface-design elements. Others believe that the golden ratio is no more valid than any other method used to derive sizes and proportions. Regardless, the golden ratio can be a helpful reference to new visual designers or designers wanting to improve their skills with a concrete, mathematical approach.

Learn more at our course on Visual–Design Fundamentals at the UX Conference.

 

References

Di Dio, C., Macaluso, E., and Rizzolatti, G. (2007). The Golden Beauty: Brain Response to Classical and Renaissance Sculptures. PLOS ONE. https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0001201

Dyson, M. C., and Haselgrove, M. (2001). The influence of reading speed and line length on the effectiveness of reading from screen. https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.108.4346&rep=rep1&type=pdf

Pearson, C. (2019). Secret Symphony: Intro to Golden Ratio Typography. Pearsonified. https://pearsonified.com/golden-ratio-typography-intro/