Math

Golden Ratio Calculator

Settings
Reset
Share
Save
Embed
Report a bug

Share calculator

Add our free calculator to your website

Please enter a valid URL. Only HTTPS URLs are supported.


Use as default values for the embed calculator what is currently in input fields of the calculator on the page.


Input border focus color, switchbox checked color, select item hover color etc.


Please agree to the Terms of Use.

Preview

Save calculator

Calculator Settings

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Share calculator

What is a golden ratio calculator?

A golden ratio calculator divides a single length into two parts so that they stand in the golden ratio to one another. Enter a total length, and the tool returns the longer segment aa and the shorter segment bb that together make up a golden section of the line.

The golden ratio, written with the Greek letter phi, is one of the most famous constants in mathematics and design. It appears in geometry, art, architecture, and even in the proportions of natural objects such as shells and flower heads. Its value is:

φ=1+521.618\varphi = \frac{1 + \sqrt{5}}{2} \approx 1.618

How does it work?

Two parts of a line are in the golden ratio when the ratio of the whole to the longer part equals the ratio of the longer part to the shorter part. If the total length is LL, the longer segment is aa, and the shorter segment is bb, then:

La=ab=φ\frac{L}{a} = \frac{a}{b} = \varphi

Solving for the two segments in terms of the total length LL gives:

a=Lφ=L×0.6180339887a = \frac{L}{\varphi} = L \times 0.6180339887\dots b=La=L×0.3819660113b = L - a = L \times 0.3819660113\dots

The longer segment is simply the total length divided by phi, and the shorter segment is whatever remains. Because the two parts add back to the original length, you always have a+b=La + b = L.

A useful property is that the same constant relates the segments in both directions: the whole length is φ\varphi times the longer part, and the longer part is φ\varphi times the shorter part.

Worked examples

Example 1: a length of 100

Splitting a length of 100 units in the golden ratio:

a=100×0.618033988761.8034a = 100 \times 0.6180339887 \approx 61.8034 b=10061.803438.1966b = 100 - 61.8034 \approx 38.1966

Checking the ratio confirms the result, since 61.8034÷38.19661.61861.8034 \div 38.1966 \approx 1.618.

Example 2: a length of 10

For a total length of 10 units:

a=10×0.61803398876.1803a = 10 \times 0.6180339887 \approx 6.1803 b=106.18033.8197b = 10 - 6.1803 \approx 3.8197

Again the longer part divided by the shorter part recovers phi, and the two parts sum back to 10.

Practical notes

Designers and photographers use golden sections to place focal points and to size elements in a layout, since proportions based on phi are often perceived as balanced and pleasing. In geometry, the golden ratio appears in the diagonals of a regular pentagon and in the construction of pentagrams, which is why it shows up so often when working with five-fold symmetry.

When you only know the longer segment instead of the total length, multiply it by phi to recover the whole, or divide it by phi to find the shorter part. Whatever value you start from, the calculator keeps the relationship ab=φ\frac{a}{b} = \varphi intact.

Report a bug

This field is required.