φ

Golden Ratio Calculator

Find segments a, b, and a+b using φ ≈ 1.6180339887 — includes golden spiral, Fibonacci convergence & rectangle

Quick Examples

Tip: Enter any one value — the other two auto-calculate instantly using φ ≈ 1.618.

φ (phi)
1.6180339887
The golden ratio
a / b
Should equal φ
(a+b) / a
Verification
a : b ratio
Approx ratio
Rectangle
W × H

Proportional Division

a = 61.803
b = 38.197
0 61.8% 100

Golden Rectangle

Width = a+b  |  Height = a  |  Ratio = φ

Step-by-Step Verification

Enter a value above to see the verification steps.

What Is the Golden Ratio?

The golden ratio, represented by the Greek letter φ (phi), is the irrational number (1 + √5) / 2 ≈ 1.6180339887498948482… It defines a proportion so fundamental to mathematics and aesthetics that it has been called the divine proportion, the golden section, and the golden mean across thousands of years of human history.

Two quantities a (longer) and b (shorter) are in the golden ratio when:

(a + b) / a = a / b = φ ≈ 1.6180339887

This single equation encodes the self-referential beauty of φ: the whole is to the larger part as the larger part is to the smaller. No other ratio has this property.

Mathematical Properties of φ

φ satisfies the algebraic equation x² = x + 1, which means φ² = φ + 1 ≈ 2.618. This leads to a cascade of elegant identities:

IdentityValueNote
φ = (1 + √5) / 21.6180339887…Definition
1/φ = φ − 10.6180339887…Reciprocal = integer less
φ² = φ + 12.6180339887…Square = integer more
φ3 = 2φ + 14.2360679…Powers follow Fibonacci
φ = 1 + 1/(1 + 1/(1 + …))Continued fractionSimplest infinite continued fraction

The continued-fraction representation [1; 1, 1, 1, …] makes φ the "most irrational" number — the one hardest to approximate by rationals — which is precisely why plants use it for leaf spacing to avoid overcrowding.

How to Divide a Line in the Golden Ratio

Given a total length L, the golden division produces segments:

  • Longer part: a = L / φ ≈ L × 0.6180339887
  • Shorter part: b = L − a ≈ L × 0.3819660113

Geometric construction (compass and straightedge): draw a square of side s, find the midpoint of one side, draw an arc of radius = distance from midpoint to opposite corner, and extend the base. The extension equals s/φ, giving the golden rectangle.

The Golden Rectangle

A golden rectangle has width-to-height ratio equal to φ. Its defining property is self-similarity: removing the largest possible square from a golden rectangle leaves a smaller golden rectangle — identical in shape to the original, rotated 90°. Repeating this process infinitely produces the nested-square structure used to draw the golden spiral.

Practical use: a 1920 × 1187 screen, a 210 × 130 mm card, and classic postcard proportions all approximate the golden rectangle.

The Fibonacci Sequence and φ

The Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, …) is defined by F(n) = F(n−1) + F(n−2). Remarkably, the ratio of successive terms converges to φ:

  • 8/5 = 1.6
  • 13/8 = 1.625
  • 144/89 ≈ 1.61798…
  • 6765/4181 ≈ 1.6180339887… (agrees to 10 decimal places)

The exact formula for the nth Fibonacci number is Binet’s formula: F(n) = (φn − ψn) / √5 where ψ = (1 − √5)/2 ≈ −0.618.

Golden Ratio in Nature

Phyllotaxis and Plants

The most widespread appearance of φ in nature is phyllotaxis — the spiral arrangement of leaves, seeds, and petals. Because φ is irrational in a maximal way, placing each new growth at the golden angle (360°/φ² ≈ 137.508°) ensures no two leaves ever perfectly overlap, maximising exposure to sunlight and rain.

  • Sunflowers: seed heads display 55 and 89 clockwise/counter-clockwise spirals
  • Pinecones: 8 and 13 spirals; pineapples: 8 and 13
  • Daisy petals: typically 21, 34, or 55 — all Fibonacci numbers

The Nautilus Shell

The nautilus shell grows as an equiangular (logarithmic) spiral. While the growth factor is close to φ² ≈ 2.618, the exact ratio varies by species. The golden spiral — constructed from the geometric series of golden rectangles — is a specific logarithmic spiral where the radius increases by φ for every 90° of rotation.

Golden Ratio in Art and Architecture

The claim that the ancients consciously used φ in the Parthenon or the Great Pyramid is debated among historians, but well-documented modern uses include:

  • Leonardo da Vinci: Used golden proportions in the Vitruvian Man and various paintings, advised by Fra Luca Pacioli who called it the "divine proportion"
  • Le Corbusier’s Modulor: An architectural measurement system explicitly built from the golden ratio and Fibonacci numbers, applied to buildings such as the Unité d’Habitation in Marseille
  • Salvador Dalí: The Sacrament of the Last Supper was painted on a canvas with golden-ratio dimensions, with a dodecahedron visible in the background
  • Georges Seurat: Pointillist paintings with compositions structured around golden-ratio divisions

Golden Ratio in Design and Typography

Modern designers apply φ systematically:

  • Typographic scale: multiply base font size by φ at each step (e.g., 10px → 16px → 26px → 42px)
  • Grid layouts: a content/sidebar split of 61.8% / 38.2% is a golden-ratio grid
  • Logo design: Apple, Twitter, and many iconic logos use golden-ratio circles in their construction
  • Photography: the rule of thirds approximates the golden section
  • UI whitespace: padding ratios of 1 : 1.618 create visually balanced spacing

φ in Mathematics: Pentagon and Pentagram

The regular pentagon is saturated with φ: the diagonal/side ratio equals φ. The five-pointed star (pentagram) contains a smaller pentagon, and each line segment is divided by intersections in the golden ratio. The icosahedron’s 12 vertices sit at the corners of three mutually perpendicular golden rectangles. Continued fractions: φ = 1 + 1/(1 + 1/(1 + 1/…)) is the simplest possible infinite continued fraction, composed entirely of 1s.

Frequently Asked Questions

What is the golden ratio?
The golden ratio φ = (1 + √5) / 2 ≈ 1.6180339887 is an irrational number describing a proportion where the ratio of two quantities equals the ratio of their sum to the larger. It is called the "divine proportion" and appears across mathematics, art, architecture, and nature.
How do you calculate the golden ratio from a line segment?
For a total line length L: a = L / φ ≈ 0.618 × L, b = L − a ≈ 0.382 × L. If you know a: b = a / φ, total = a × φ. If you know b: a = b × φ, total = b × φ². All three are computed instantly by this calculator.
What is a golden rectangle?
A golden rectangle has its width-to-height ratio equal to φ ≈ 1.618. Its key property is self-similarity: removing a square from it leaves a smaller golden rectangle. This allows infinite recursive subdivision and is the basis of the golden spiral construction.
How is the golden ratio related to the Fibonacci sequence?
The ratio of consecutive Fibonacci numbers converges to φ. F(20)/F(19) = 6765/4181 ≈ 1.6180339887… matching φ to 10 decimal places. Binet’s formula gives the exact connection: F(n) = (φn − ψn) / √5.
Where does the golden ratio appear in nature?
In sunflower seed heads (55/89 spirals), pinecone spirals (8/13), pineapple rows (8/13), leaf-angle phyllotaxis (golden angle 137.5°), nautilus shell growth, and the arrangement of spiral arms in galaxies. The mathematical reason: φ is the irrational number least well approximated by rationals, making it optimal for spacing that avoids periodic bunching.
What is 1/φ equal to?
1/φ = φ − 1 ≈ 0.6180339887. This is the unique property that φ’s reciprocal equals itself minus one. It also means the shorter segment b is always 61.8% of the longer segment a (same leading digits as φ, shifted by one decimal place).
How is the golden ratio used in design and art?
Designers apply φ in typography scales (multiply font size by 1.618 per step), layout grids (61.8%/38.2% column splits), logo construction (golden-ratio circles), UI spacing ratios, and photography composition (rule of thirds approximates the golden section). Leonardo da Vinci, Le Corbusier, and Salvador Dalí all documented its use in their work.