Golden ratio calculator
The golden ratio, φ ≈ 1.618, divides a length so that the whole relates to the longer part as the longer part relates to the shorter. Enter the total length, the longer part or the shorter part and the calculator gives the other two, the height of a golden rectangle and, for a page width, a two-column layout with an optional gap. For typography it builds a modular type scale from a base font size and suggests a line height from the font size and line length. Designers use it for proportions that look balanced; it is a guide, not a rule.
The value is
- Total
- 1,000.000
- Longer part
- 618.034
- Shorter part
- 381.966
- Golden rectangle height for this width
- 618.034
- Columns (main + side)
- 618.0 + 382.0
Golden type scale
- Golden line height
- 25.89 px
| Step | px | rem |
|---|---|---|
| -2 | 6.11 | 0.382 |
| -1 | 9.89 | 0.618 |
| 0 | 16.00 | 1.000 |
| 1 | 25.89 | 1.618 |
| 2 | 41.89 | 2.618 |
| 3 | 67.78 | 4.236 |
| 4 | 109.67 | 6.854 |
| 5 | 177.44 | 11.090 |
How to use the Golden Ratio Calculator
- 1
Enter a length
Choose whether it is the total, the longer part or the shorter part.
- 2
Read the split
The other parts, golden rectangle height and column widths.
- 3
Build type sizes
Enter a base font size, and optionally the line width, for a scale and line height.
Formulas
φ = (1 + √5) / 2. For a total T: long = T / φ, short = T / φ². A golden rectangle of width W has height W / φ. The type scale is base × φⁿ.
- φ = (1 + √5) / 2 ≈ 1.6180339887
- long = total / φ
- size(n) = base × φⁿ
When to use it
- Size a sidebar against main content.
- Pick heading sizes that relate to the body text.
- Lay out a photo crop, logo or card.
Limits
- The golden ratio is an aesthetic guide; usability and content come first.
- φ grows quickly, so a φ type scale suits display headings more than dense interfaces.
Privacy
Calculated in your browser.
Frequently asked questions
What is the golden ratio?
The number φ ≈ 1.618, where a line split into two parts has whole ÷ long = long ÷ short. It appears in geometry, the Fibonacci sequence and many classic designs.
How is it related to Fibonacci numbers?
The ratio of consecutive Fibonacci numbers (8/5, 13/8, 21/13…) gets closer and closer to φ.
Is the golden ratio really in nature and the Parthenon?
Some claims are exaggerated. It does occur in growth patterns such as leaf arrangements; many famous examples are approximate at best.
Should I use it for a type scale?
A φ scale gives big jumps, good for posters and landing pages. For apps, smaller ratios such as 1.2 or 1.25 are easier to work with.
What is the golden line height?
An informal formula that sets line height from font size and line length: longer lines get a bit more leading.
Related tools
- Blueprint Scale CalculatorDrawing to real size and back for architectural, engineering and metric scales, or find an unknown scale.
- Design System GeneratorTurn brand colours, fonts and a few numbers into a complete set of design tokens.
- Percentage CalculatorPercent of, percent change, increase, decrease and more.
People also use
- Age CalculatorExact age in years, months and days, and days to your next birthday.
- Scientific CalculatorTrig, logs, powers and roots with degrees or radians.
- Unit ConverterLength, weight, temperature, land area, data and more.
- Date CalculatorDays between two dates, or a date plus or minus days, months, years or working days.
Last updated November 24, 2026 · How we build and test our tools