ZapKit

Golden Ratio Calculator

Enter one length to get the golden-ratio partner: split a total into two parts, or find the longer or shorter side that matches.

What is the golden ratio?

The golden ratio is a proportion of about 1.618 to 1, where a line is divided so that the whole is to the longer part as the longer part is to the shorter. It has fascinated mathematicians since Euclid and is a common reference in architecture, graphic design, photography and typography.

This calculator does the arithmetic for you. Give it a total width and it splits it into golden parts; give it one side of a rectangle and it returns the other. Web designers use it for content and sidebar widths, photographers for framing, and artists and woodworkers for pleasing proportions.

How to use the Golden Ratio Calculator

  1. 1.Enter a length

    In pixels, centimetres or any unit.

  2. 2.Say what it is

    The whole, the longer part or the shorter part.

  3. 3.Use the other values

    The other two lengths follow the golden ratio φ ≈ 1.618.

Example: a 960-pixel layout

Splitting a 960px page width in the golden ratio:

Main column (A)
593.3126px
Sidebar (B)
366.6874px
A ÷ B
1.618

A = whole ÷ φ, B = A ÷ φ

Rounded, a 593px content column beside a 367px sidebar follows the golden ratio.

The number φ

Two lengths are in the golden ratio when the longer divided by the shorter equals the whole divided by the longer. That number is φ (phi), (1 + √5) ÷ 2 ≈ 1.618034. Ratios of consecutive Fibonacci numbers, like 8 : 5 and 13 : 8, get closer to it the further you go.

Designers use it for layout columns, type scales and logo proportions. Claims that it's everywhere in nature and great art are often exaggerated, but it remains a handy, harmonious proportion to start from.

Frequently asked questions

What is the golden ratio as a number?

About 1.618034, written φ.

How do I make a golden-ratio web layout?

Enter your page width as the whole: the longer part is the main column and the shorter part the sidebar.

What is the golden ratio in percentages?

Roughly 61.8% and 38.2% of the whole.

How is it related to Fibonacci?

Divide any Fibonacci number by the one before it; the result approaches φ.

More Utilities tools