Golden Ratio Calculator

Enter the longer part, the shorter part, or the whole length and we solve the golden ratio for the rest, step by step. Or enter two numbers and get an honest verdict on how close they come to phi = 1.6180339887.

Put this calculator on your website for free

Copy one snippet and give your visitors a working Golden Ratio Calculator.

How this golden ratio calculator works

Cut a line into two unequal pieces so that the whole is to the longer piece exactly what the longer piece is to the shorter one. Only one proportion pulls that off, and it is the golden ratio: φ = 1.6180339887, an irrational number whose decimals never end. Tell us which piece of the puzzle you have (the longer part, the shorter part, or the whole length) and we solve for the other two, showing the substitution at every step with your actual numbers.

The fourth mode is the honest one: give us any two numbers and we will tell you how close they really come to golden, as a percentage, with a plain verdict. A lot of golden ratio claims wilt under that test, which is exactly why the test matters.

The formula

φ = (1 + √5) / 2 = 1.6180339887
b = a / φ     a = b × φ     whole = a + b

Here a is the longer part and b is the shorter part. The number is not arbitrary; it falls straight out of the definition. Set x = a / b in the proportion a / b = (a + b) / a and the right side becomes 1 + 1/x, so x = 1 + 1/x, which rearranges to x² = x + 1. Solve x² − x − 1 = 0 with the quadratic formula and the positive root is (1 + √5) / 2. Our quadratic formula calculator will walk you through that exact solve if you feed it 1, -1, and -1.

Two party tricks fall out of the same equation: φ² = φ + 1 (squaring it just adds one: 2.61803) and 1 / φ = φ − 1 (its reciprocal just subtracts one: 0.618034). The golden ratio is the only positive number that does either, which is why dividing a length by 1.618 and multiplying it by 0.618 land in the same place.

Worked example

A longer part of 10:

Shorter part: b = a / φ = 10 / 1.6180339887 = 6.18034.

Whole: a + b = 10 + 6.18034 = 16.1803.

Check the proportion: (a + b) / a = 16.1803 / 10 = 1.61803, the same ratio as a / b. The proportion closes on itself, which is the whole point.

And in reverse: a whole length of 100 splits at the golden section into 61.8034 and 38.1966. The longer piece is always 61.8034% of the whole, for every length you will ever enter.

The Fibonacci connection

The Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, each term the sum of the previous two) hides the golden ratio in plain sight: divide any term by the one before it and the answers close in on φ from alternating sides. Every value below was computed by this page's own code.

RatioValueAgainst φ = 1.6180339887
8 / 51.61.115% below
13 / 81.6250.431% above
21 / 131.615380.164% below
34 / 211.619050.063% above
55 / 341.617650.024% below

Notice the pattern: undershoot, overshoot, undershoot, each miss smaller than the last. The ratios never land exactly, because φ is irrational and no fraction of whole numbers can equal it. Fibonacci neighbors are simply the best whole-number impressions of the golden ratio that exist at their size, which is why 13 and 8 already pass this page's half-percent check.

Where the golden ratio actually shows up (and where it does not)

Honesty time. The claim that the Parthenon was designed around the golden ratio has no support in any ancient source. The famous golden rectangles are drawn over photographs after the fact, and they only fit when the rectangle is allowed to hang past the steps or clip the pediment. The Mona Lisa claims are the same trick: given enough freedom about where to place the rectangle, you can find 1.618 in almost anything, which is exactly why finding it there proves nothing. Da Vinci illustrated a friend's book about the ratio; that is the entire documented connection.

Where the golden ratio genuinely lives is better than the myths. In a regular pentagon, the diagonal is exactly φ times the side, no retrofitting required, and that is the property that fascinated the ancient Greeks in the first place. In plants, new leaves and seeds tend to emerge at the golden angle of about 137.508 degrees (a full turn split in golden ratio), because rotating by the most irrational possible fraction of a circle packs growth with the least overlap. Count the spirals on a sunflower head or a pinecone and you will usually get consecutive Fibonacci numbers, 21 and 34, or 34 and 55. That one is real, and you can check it in a garden.

So when a design guide announces that the golden rectangle is provably the most beautiful shape, be skeptical: controlled preference studies have been failing to confirm that since the 1960s. When a pinecone announces it, believe the pinecone. And if you just need to compare two quantities without any mysticism attached, our ratio calculator handles the ordinary kind.

Frequently asked questions

What is the golden ratio?

The golden ratio is (1 + √5) / 2, approximately 1.6180339887, usually written as the Greek letter phi. It is the one proportion where the whole relates to the longer part exactly as the longer part relates to the shorter. Because it is irrational, the decimals never end and no fraction hits it exactly.

How do I calculate the golden ratio of a length?

Divide the length by 1.618 to get the longer section, then subtract that from the whole to get the shorter one. A 100 cm shelf splits at 61.8 cm. Dividing by 1.618 gives the same split as multiplying by 0.618, which trips people up: both numbers are the golden ratio wearing different hats, since 1/phi = phi - 1.

Is 1.618 the exact golden ratio?

No. The exact value is (1 + √5) / 2, and because √5 is irrational the decimal form 1.6180339887 is only ever an approximation. For anything physical, though, 1.618 is already more precision than a saw, a screen, or a picture frame can use.

What is a golden rectangle?

A rectangle whose sides are in the golden ratio, about 1.618 to 1. Its party trick: cut a square off one end and the strip left over is another golden rectangle, and you can keep cutting squares off forever. That self-similarity is what the famous spiral overlays illustrate.

How is the golden ratio related to the Fibonacci sequence?

Divide any Fibonacci number by the one before it and you get closer and closer to phi: 21/13 = 1.61538, 34/21 = 1.61905, 55/34 = 1.61765. The ratios alternate above and below phi and never land exactly, because phi is irrational and no whole-number fraction can equal it.

Is the Parthenon based on the golden ratio?

There is no evidence for it. No ancient source connects the ratio to the building, and the golden rectangles in those popular diagrams only fit when drawn selectively over a photograph. The same applies to the Mona Lisa. The claim is popular, endlessly repeated, and unsupported.

Where does the golden ratio genuinely appear?

In pentagon geometry, where a regular pentagon's diagonal is exactly phi times its side, and in phyllotaxis, the way plants place leaves and seeds. Many plants add new growth at the golden angle of about 137.5 degrees, which is why sunflower and pinecone spirals come in consecutive Fibonacci counts like 34 and 55.

Related calculators