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
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.
| Ratio | Value | Against φ = 1.6180339887 |
|---|---|---|
| 8 / 5 | 1.6 | 1.115% below |
| 13 / 8 | 1.625 | 0.431% above |
| 21 / 13 | 1.61538 | 0.164% below |
| 34 / 21 | 1.61905 | 0.063% above |
| 55 / 34 | 1.61765 | 0.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.