Golden Ratio Calculator

Divide a length in the golden ratio, or find the two parts from either segment, with the Fibonacci relationship and a typographic scale.

How to use this calculator

  1. 1Choose whether you know the whole length or one of the segments.
  2. 2Enter the value; the other two follow.
  3. 3Use the scale table for type sizes or spacing steps in a design system.

How the calculation works

φ = (1 + √5) ÷ 2 ≈ 1.6180339887 whole ÷ longer = longer ÷ shorter = φ φ² = φ + 1 1/φ = φ − 1
φ
Phi, the golden ratio — the positive root of x² − x − 1 = 0
longer
The larger segment, 61.803% of the whole
shorter
The smaller segment, 38.197% of the whole

φ is defined by a self-similar property: dividing a length so that the whole is to the longer part as the longer is to the shorter. Only one ratio satisfies that, and it is φ.

Two identities follow immediately and are unique to φ: squaring it adds exactly one, and taking its reciprocal subtracts exactly one. No other number does either.

Consecutive Fibonacci numbers converge on φ. The convergence is fast — by the tenth term the ratio is accurate to five decimal places.

Its continued fraction is [1; 1, 1, 1, …], entirely ones, which makes it the number least well approximated by any fraction. That is the mathematically precise sense in which φ is the "most irrational" number.

Worked example

Splitting 1000 pixels

  1. 1.The longer segment is the whole divided by φ: 1000 ÷ 1.6180339887 = 618.034.
  2. 2.The shorter is what remains: 1000 − 618.034 = 381.966.
  3. 3.Check the defining property: 1000 ÷ 618.034 = 1.618034.
  4. 4.And 618.034 ÷ 381.966 = 1.618034 — identical, which is what makes it the golden section.
  5. 5.The longer part is always 61.803% of the whole, whatever the length.

Result: 618.034 : 381.966

Building up from the shorter segment

  1. 1.The longer segment is the shorter multiplied by φ: 400 × 1.618034 = 647.214.
  2. 2.The whole is the two added: 400 + 647.214 = 1047.214.
  3. 3.Check: 1047.214 ÷ 647.214 = 1.618034 ✓.
  4. 4.Note that the whole is also the shorter segment multiplied by φ², since φ² = φ + 1.
  5. 5.400 × 2.618034 = 1047.214 — the same answer by a different route.

Result: 1047.214 whole, 647.214 longer

What φ actually is, mathematically

The golden ratio is the solution to a simple problem: divide a line so that the whole is to the longer part exactly as the longer part is to the shorter. Write that as a ratio and it becomes x² = x + 1, whose positive root is (1 + √5)/2.

From that definition two properties fall out that no other number shares. Squaring φ adds precisely one — 1.618² = 2.618. Taking its reciprocal subtracts precisely one — 1/1.618 = 0.618. These are not approximations; they are exact consequences of the defining equation.

φ is also the "most irrational" number, which sounds like rhetoric and is a technical statement. Its continued fraction expansion is nothing but ones, and that makes it the real number least well approximated by any rational fraction. Every other irrational number can be pinned down more efficiently by fractions than φ can.

Where it genuinely appears, and where it does not

The botanical cases are real and well explained. Seeds in a sunflower head, leaves around a stem, and scales on a pine cone are commonly arranged at the golden angle of about 137.5°, which is 360° divided by φ². This is precisely because φ resists rational approximation: any angle that is a simple fraction of a turn causes successive elements to line up in rays and waste space, while the golden angle never repeats and packs efficiently. Natural selection found the optimum.

The claims about art and architecture mostly do not survive scrutiny. There is no evidence the Parthenon was designed around φ, the Great Pyramid ratios are coincidental and depend on which measurements you select, and the frequently repeated claim about Leonardo's proportions comes from a 20th-century book rather than any Renaissance source. Fitting rectangles to famous artworks after the fact will find φ wherever you look for it, because a rectangle within a few percent of 1.618 is very common.

Studies testing whether people actually prefer golden rectangles have produced weak and inconsistent results. That does not make φ useless in design — a consistent geometric ratio produces coherent scales, and φ works as well as any — but the reason is consistency, not a special aesthetic property.

What this assumes, and where it stops

Assumptions

  • φ is computed as (1 + √5) / 2 in double precision, accurate to about 15 significant figures.
  • The longer segment is always taken as the larger of the two parts.

Limitations

  • Geometry only. The claim that golden proportions are inherently more attractive is not well supported by evidence, and this calculator makes no such claim.
  • Irrational by nature, so every displayed value is a rounded approximation.
  • The typographic scale is a suggestion. Design systems often prefer simpler ratios such as 1.25 or 1.5, which produce more usable round numbers.

Common questions

What is the golden ratio?

The number φ = (1 + √5) / 2 ≈ 1.6180339887, defined by dividing a length so that the whole is to the longer part as the longer part is to the shorter. It is the only positive number whose square equals itself plus one, and whose reciprocal equals itself minus one.

How is the golden ratio related to Fibonacci numbers?

The ratio of consecutive Fibonacci numbers converges on φ, and rapidly. 8/5 is 1.6, 13/8 is 1.625, and 610/377 is accurate to six decimal places. This is why φ appears wherever Fibonacci patterns do, including the spiral arrangements of seeds and leaves.

Is the golden ratio really used in art and architecture?

Far less than commonly claimed. There is no evidence the Parthenon was designed around it, the pyramid claims depend on selective measurement, and the Leonardo attribution originates in a 20th-century book. Fitting rectangles to finished artworks will find ratios near 1.618 because many rectangles are near 1.618.

Why do plants use the golden angle?

Because φ is the hardest number to approximate with fractions. Any angle that is a simple fraction of a turn makes successive leaves or seeds line up in rays, wasting space and light. The golden angle of 137.5° never repeats, so each new element lands in the largest remaining gap — the most efficient packing available.

Sources

Formula and content last reviewed on .

Results are estimates for information only, not professional advice.

Report an error

Tools people commonly use alongside the golden ratio calculator.

See all math calculators →