Math

Golden Ratio Calculator: a + b = c Where b/a = φ

By David Brown · June 2026 · 3 min read

The golden ratio is a proportion, not a number you memorize and apply. You derive it from a relationship: divide a line segment into two parts — call them a (smaller) and b (larger) — so that the ratio of the total length to the larger part equals the ratio of the larger part to the smaller.

Written as an equation: (a + b) / b = b / a = φ

That single constraint forces φ to equal exactly (1 + √5) / 2 ≈ 1.6180339887…

The Three Values: a, b, and c

If you label the total length c = a + b, the golden ratio gives you three related values from any one of them:

You knowFormulaExample (a = 1)
a (smaller part)b = a × φ  |  c = a + bb = 1.618, c = 2.618
b (larger part)a = b ÷ φ  |  c = a + ba = 0.618, c = 1.618
c (total)b = c ÷ φ  |  a = c − bb = 0.618, a = 0.382

Notice: when c = 1, b ≈ 0.618 and a ≈ 0.382. These are 1/φ and 1/φ² respectively — the golden ratio subdivides itself infinitely.

Why φ² = φ + 1

Start from the definition: b/a = (a+b)/b = φ

Let a = 1, b = φ. Then: φ / 1 = (1 + φ) / φ

Cross-multiply: φ² = φ + 1

This is the algebraic identity that makes φ unique — squaring it just adds 1. No other positive number does this.

Where It Actually Shows Up

Fibonacci sequence. The ratio of consecutive Fibonacci numbers (1, 1, 2, 3, 5, 8, 13, 21…) converges to φ. By F(10)/F(9) = 55/34 ≈ 1.6176 — already within 0.3% of φ.

Design and architecture. A golden rectangle has sides in ratio 1:φ. Remove a square from it and the remaining rectangle is also golden — recursive self-similarity. Credit cards (85.6mm × 53.98mm ≈ 1.586) and many screens approximate this ratio.

Nature. Spiral phyllotaxis — the arrangement of seeds in a sunflower, scales on a pinecone, petals on a rose — follows Fibonacci counts because φ is the "most irrational" number and minimizes overlap when packing in a circle.

Using the Calculator

Pick which value you have — a, b, or the total c — enter it, and the other two are filled in. The "Verify a + b" tab lets you enter your own two measurements and see how close they are to a true golden ratio, expressed as a percentage deviation from φ.

Frequently Asked Questions

How do I use the calculator if I only know one measurement?

Select which value you have from the dropdown — a (smaller part), b (larger part), or c (total length) — then enter that single number. The calculator automatically computes the other two using the golden ratio formulas: b = a × φ, a = b ÷ φ, or b = c ÷ φ depending on what you input.

What does the 'Verify a + b' tab do?

Use this tab to check how close your own two measurements are to a true golden ratio. Enter both values and the calculator shows the percentage deviation from φ, telling you whether your proportions match the golden ratio or how far off they are.

Why does the golden ratio equal 1.618 and not some other number?

The golden ratio is mathematically forced by a single constraint: dividing a line into two parts where (a + b) / b = b / a. This constraint produces the equation φ² = φ + 1, which has the unique solution φ = (1 + √5) / 2 ≈ 1.6180339887. No other positive number has the property that squaring it simply adds 1.

Can I use the golden ratio calculator for credit card proportions or design layouts?

Yes — credit cards approximate the golden ratio at roughly 1.586:1, and golden rectangles (with sides in ratio 1:φ) are commonly used in design and architecture. You can enter your layout dimensions into the calculator to see how close they are to the true golden ratio, or use it to generate ideal golden proportions to design from.

This article is for informational purposes only. See our disclaimer.