Design tools

Golden Ratio Calculator

Golden Ratio Calculator

Split a length in the golden ratio or find the matching part, with a φ sequence.

About this tool

About Golden Ratio Calculator

The golden ratio, about 1.618 and written φ (phi), divides a length so that the whole relates to the longer part exactly as the longer part relates to the shorter one. Designers use it to split layouts into a main column and sidebar, to proportion cards and images, and to step font sizes. This calculator works from whatever you already know. Enter a total and it splits it into the longer part a and the shorter part b; enter the longer part and it finds the shorter part and the total; or enter the shorter part and it works upwards. A bar shows the proportion visually, and you also get the height of a golden rectangle for the width. A golden sequence table multiplies your value by φ up and down three steps, which gives a ready-made set of related sizes for headings or spacing. Values work in any unit, from pixels to millimetres, and you can choose how many decimals to show. Everything is worked out in your browser.

Built and maintained by Abhi JainUpdated

How to Use the Golden Ratio

  1. 1

    Choose what you know

    Select Total (a + b), Longer part (a) or Shorter part (b).

  2. 2

    Enter the value

    Type the length in any unit and choose the number of decimals.

  3. 3

    Use the results

    Copy the parts, the golden rectangle height or values from the golden sequence.

Golden Ratio Calculator: questions and answers

What is the golden ratio?

It's the number φ = (1 + √5) ÷ 2 ≈ 1.6180339887. Two lengths a > b are in the golden ratio when a ÷ b = (a + b) ÷ a.

How do I split a width using the golden ratio?

Divide the total by 1.618 to get the longer part, then subtract it from the total for the shorter part. A 960px layout splits into about 593.31px and 366.69px.

How is the golden ratio used in web design?

Common uses are content-to-sidebar widths, image and card proportions, and type scales where each heading is 1.618 times the size below. It's a guide for pleasing proportion, not a rule.

Is the golden ratio the same as the Fibonacci sequence?

They're related: the ratio between consecutive Fibonacci numbers (8/5, 13/8, 21/13…) gets closer and closer to φ. Fibonacci numbers are a handy whole-number approximation.