Golden Ratio Calculator: φ, Golden Rectangles and Fibonacci
By FindMySum · Last reviewed
A golden ratio calculator finds the lengths that stand in the proportion φ ≈ 1.618 to a length you already have. Give it the longer part, the shorter part or the whole, and it returns the other two, draws the golden rectangle they make and shows how ratios of Fibonacci numbers home in on φ. This article explains where the number comes from, how each calculation works with the calculator's defaults, and which famous claims about it hold up.
The definition
Split a line into a longer part a and a shorter part b. The split is golden when the whole is to the longer part as the longer part is to the shorter:
(a + b) ÷ a = a ÷ b = φ
Setting b = 1 turns this into φ² = φ + 1, a quadratic equation whose positive solution is
φ = (1 + √5) ÷ 2 = 1.6180339887498948…
The digits, catalogued in OEIS sequence A001622, go on forever without repeating, because √5 is irrational. Wolfram MathWorld lists dozens of other identities, but the one above is the basis for everything the calculator does.
The three calculations
From the longer part a. The shorter part is b = a ÷ φ and the whole is a + b = a × φ. With the default a = 10, b = 6.18034 and the whole is 16.18034.
From the shorter part b. The longer part is a = b × φ and the whole is b × φ² (φ² = φ + 1 ≈ 2.618). With b = 10, a = 16.18034 and the whole is 26.18034.
From the whole. The longer part is (a + b) ÷ φ, about 61.8% of the whole, and the shorter part is (a + b) ÷ φ², about 38.2%. A 100 cm board splits into 61.80 cm and 38.20 cm.
The calculator shows a check line, a ÷ b and (a + b) ÷ a, which should both read φ. It works in any unit: centimetres, inches, pixels or points.
The golden rectangle and spiral
A rectangle with sides a and b in the golden ratio has a unique property: cut off a b × b square and the strip left over, b by a − b, is again a golden rectangle, smaller by a factor of φ. Repeating the cut forever produces a whirl of squares, and quarter circles drawn through them make the golden spiral the calculator draws. It is a close approximation of a logarithmic spiral that widens by a factor of φ every quarter turn.
Fibonacci numbers
The Fibonacci sequence starts 1, 1 and adds the previous two terms: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233…. The ratio of each term to the one before alternates above and below φ and closes in on it fast:
- 3 ÷ 2 = 1.5
- 8 ÷ 5 = 1.6
- 21 ÷ 13 = 1.615
- 233 ÷ 144 = 1.61806
Each new ratio is roughly φ² ≈ 2.6 times closer than the last. The calculator's table lists the first twenty ratios with their distance from φ. The link runs both ways: Binet's formula writes the nth Fibonacci number as (φⁿ − (−1/φ)ⁿ) ÷ √5.
Where the golden ratio really appears
The golden ratio is genuinely everywhere in geometry: in the regular pentagon and pentagram, the icosahedron and dodecahedron, and Penrose tilings. In nature the strongest evidence is phyllotaxis, the arrangement of leaves and seeds, where the golden angle of about 137.5° and Fibonacci spiral counts are well documented in sunflowers, pine cones and pineapples.
Many popular claims are weaker. Measurements that find φ in the Parthenon, the Great Pyramid or the Mona Lisa depend heavily on which points are chosen, and the chambered nautilus grows in a logarithmic spiral with a different ratio. Studies of whether people prefer golden rectangles to other rectangles have given mixed results. Treat φ as an elegant proportion to use in design if you like it, not as a law of beauty.
Using it in design
Designers use φ for layout splits (a 61.8% main column and 38.2% sidebar), type scales (each heading φ times the size below it), and crop guides. To apply it, put the total width or the size you already have into the calculator and read off the partner lengths. Round to whole pixels or millimetres at the end; the eye cannot tell a 61.8% split from a 62% one.
More questions
How do designers use the golden ratio for typography?
As a scale: multiply a base font size by φ to get the next heading size. A 16 px body text gives headings of about 26 px and 42 px. Some designers also set line height or column widths with it. It is one modular scale among many (1.25 and 1.333 are common too), chosen for taste rather than any proven effect on readability.
What is the continued fraction of the golden ratio?
The simplest one possible: φ = 1 + 1/(1 + 1/(1 + 1/(1 + …))), with every term equal to 1. Truncating it gives the Fibonacci ratios 1, 2, 3/2, 5/3, 8/5…. Because the terms are as small as they can be, these approximations improve as slowly as possible, which is why φ is called the most irrational number.
How is the golden ratio related to the regular pentagon?
In a regular pentagon, the ratio of a diagonal to a side is exactly φ, and the diagonals cut each other in the golden ratio. The five-pointed star drawn inside a pentagon is full of golden ratios, which is how the ancient Greeks first met the number. It also means cos 36° = φ ÷ 2.
Can the golden ratio be written as a fraction?
No. φ involves √5, which is irrational, so no fraction of whole numbers equals it exactly. Fibonacci fractions such as 89/55 or 144/89 come very close, and for practical work 1.618 is accurate to 0.002%.
What is the golden angle?
The angle that divides a full circle in the golden ratio: 360° ÷ φ² ≈ 137.5°. Many plants place each new leaf or seed about 137.5° around from the last, which packs seeds evenly without lining them up, and produces the interlocking Fibonacci spirals seen in sunflower heads.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.