Skip to content
🛠️ToolsShed

Golden Ratio Calculator

Calculate golden ratio dimensions — given one value, find the other for perfect φ proportions.

φ

= 1.6180339887

φ = (1 + √5) / 2 ≈ 1.6180339887

Width

100.0000

Height

61.8034

Ratio

1.618034

φ

Fibonacci approximations of φ:

RatioFractionValue
F(8)/F(7)21/131.615385
F(9)/F(8)34/211.619048
F(10)/F(9)55/341.617647
F(11)/F(10)89/551.618182
F(12)/F(11)144/891.617978

About this tool

The golden ratio, often denoted by the Greek letter phi (φ ≈ 1.618), is a mathematical proportion that appears remarkably often in nature, art, and architecture. When a line or object is divided according to this ratio, it creates a visually harmonious and aesthetically pleasing result—found in spiraling shells, human facial proportions, and the layouts of classical buildings. Understanding and applying the golden ratio is essential for designers, architects, and artists seeking to create work with innate visual balance.

To use this calculator, enter any single measurement—width, height, length, or any dimension you're working with—and the tool instantly computes its golden ratio counterpart. You can calculate either the larger segment from a smaller one, or vice versa, depending on your design needs. The tool displays both the calculated value and a visual representation showing how the ratio divides your original measurement, making it easy to apply proportions to logos, layouts, page designs, or product dimensions. Copy results directly into your design software for immediate use.

This tool is invaluable for graphic designers refining composition, web developers building harmonious layouts, architects planning facade proportions, and product designers creating balanced forms. Photographers often use golden ratio dimensions when cropping images or composing shots, while UX designers apply it to interface spacing and typography. Even though it's a simple calculation, having instant access to precise golden ratio dimensions saves hours of manual computation and helps ensure your creative work carries that elusive quality of visual perfection.

Frequently Asked Questions

Code Implementation

# Golden ratio calculations
PHI = (1 + 5 ** 0.5) / 2  # 1.6180339887...

def golden_ratio_split(total):
    """Split a length into golden ratio proportions"""
    major = total * PHI / (1 + PHI)
    minor = total / (1 + PHI)
    return major, minor

def golden_width_to_height(width):
    return width / PHI

def golden_height_to_width(height):
    return height * PHI

# Examples
print(f"phi = {PHI:.10f}")
width = 1920
height = golden_width_to_height(width)
print(f"Golden height for width {width} = {height:.0f}")  # 1186

total = 100
major, minor = golden_ratio_split(total)
print(f"Split {total}: major={major:.3f}, minor={minor:.3f}")  # 61.803, 38.197

# Fibonacci approximation
fibs = [1, 1]
for _ in range(10):
    fibs.append(fibs[-1] + fibs[-2])
for a, b in zip(fibs[-6:], fibs[-5:]):
    print(f"{b}/{a} = {b/a:.6f}")

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.