Golden Ratio Calculator
Split any length into golden sections with phi = 1.6180339887, build a golden rectangle and spiral, and generate a golden typographic scale for design work.
Golden sections of your length
- Total length = 100
- Longer part a = L/φ = 61.803399
- Shorter part b = L - a = 38.196601
- a / b = 1.6180339888 (this is φ)
- Extended: L × φ = 161.803399
- Reduced: L / φ = 61.803399
- Golden rectangle from this length: 100 × 61.803399
Golden rectangle and spiral
Cutting the largest possible square off a golden rectangle always leaves a smaller golden rectangle. Joining opposite corners of each square with a quarter circle traces the golden spiral.
Golden typographic scale
| Step | Size (px) | Preview |
|---|---|---|
| -1 | 9.89 | Aa |
| base | 16 | Aa |
| +1 | 25.89 | Aa |
| +2 | 41.89 | Aa |
| +3 | 67.78 | Aa |
| +4 | 109.67 | Aa |
| +5 | 177.44 | Aa |
Each step multiplies the previous size by φ. The preview column is capped at 48 px so the table stays readable.
Fibonacci ratios converging on φ
| n | Fₙ | Fₙ / Fₙ₋₁ |
|---|---|---|
| 1 | 1 | — |
| 2 | 1 | 1 |
| 3 | 2 | 2 |
| 4 | 3 | 1.5 |
| 5 | 5 | 1.666666667 |
| 6 | 8 | 1.6 |
| 7 | 13 | 1.625 |
| 8 | 21 | 1.615384615 |
| 9 | 34 | 1.619047619 |
| 10 | 55 | 1.617647059 |
| 11 | 89 | 1.618181818 |
| 12 | 144 | 1.617977528 |
| 13 | 233 | 1.618055556 |
| 14 | 377 | 1.618025751 |
| 15 | 610 | 1.618037135 |
| 16 | 987 | 1.618032787 |
The ratio of consecutive Fibonacci numbers alternates above and below φ and converges on it — 987/610 already matches to six decimal places.
What is the Golden Ratio Calculator?
The ByteTools Golden Ratio Calculator divides a length into its golden sections, a = L/φ and b = L - a, so that the whole is to the larger part as the larger is to the smaller.
- Splits any length into golden sections and extends it by phi
- Golden rectangle dimensions from the length you entered
- Nested-square golden rectangle drawing with the quarter-arc spiral traced through it
- Golden typographic scale with a live size preview per step
- Fibonacci ratio table showing convergence on phi
- Runs entirely in your browser — private and offline-capable
How to use the Golden Ratio Calculator
- 1
Enter the length you want to divide into golden sections.
- 2
Set a base font size and how many steps of type scale you want.
- 3
Read phi, its reciprocal and both golden sections in the summary tiles.
- 4
Check the golden rectangle dimensions and the spiral drawing.
- 5
Use the type scale table for your design system, and copy the results.
About the Golden Ratio Calculator
The ByteTools Golden Ratio Calculator divides a length into its golden sections, a = L/φ and b = L - a, so that the whole is to the larger part as the larger is to the smaller. It also extends a length by multiplying by φ = (1 + √5)/2 = 1.6180339887, and gives the matching golden rectangle dimensions.
For designers there is a golden typographic scale: pick a base font size and a number of steps, and each step multiplies the previous size by φ, with a live preview beside every value. A drawing shows a golden rectangle subdivided into nested squares with the golden spiral traced through them by quarter arcs.
A Fibonacci table shows consecutive ratios closing in on φ from alternating sides — 987/610 already matches to six decimal places. Everything is computed in your browser, so nothing is uploaded and the tool works offline.
Frequently asked questions
What is the golden ratio?
It is the number φ = (1 + √5)/2 ≈ 1.6180339887, the unique proportion where the whole divided by the larger part equals the larger part divided by the smaller. It satisfies φ² = φ + 1, which is why so many of its relationships are self-similar.
How do you divide a length by the golden ratio?
Divide the total by φ to get the longer section, then subtract that from the total for the shorter one. A 100-unit length splits into 61.803 and 38.197, and 61.803 ÷ 38.197 is φ again — the ratio repeats at every scale.
What are the dimensions of a golden rectangle?
Its long side divided by its short side equals φ, so a rectangle 100 units wide is 61.803 units tall. Cutting the largest possible square off one end always leaves another golden rectangle, which is exactly what the nested-square drawing shows.
How is the golden ratio used in typography?
Multiply a base font size by φ for each step up to build a modular scale. A 16 px base gives roughly 25.9 px, 41.9 px and 67.8 px, which produces a clear visual hierarchy. Many designers prefer gentler ratios such as 1.25 for body-heavy layouts.
How is the golden ratio related to Fibonacci numbers?
Divide any Fibonacci number by the one before it and the answer gets closer to φ each time, alternating above and below. 8/5 is 1.6, 13/8 is 1.625, and by 987/610 you are at 1.618033, accurate to six decimal places.
Related tools
Fibonacci Calculator
Find the nth Fibonacci number and list the sequence up to n. Uses BigInt for exact results, so even very large Fibonacci numbers stay precise in your browser.
Ratio Calculator
Simplify a ratio to its lowest terms or solve a proportion A:B = C:? to find the missing value. Free online ratio calculator with clear working.
Aspect Ratio Calculator
Calculate an image's aspect ratio from width and height, and scale to new dimensions without distortion. Includes 16:9, 4:3 and social presets.
Proportion Calculator
Solve proportions online: enter three values of a/b = c/d and the calculator finds the missing one by cross-multiplication, or checks if two ratios are proportional.
Percentage Calculator
Calculate what X% of a number is, what percent one number is of another, and percentage increase or decrease between two values — instantly and free.