Golden Ratio Calculator

Calculate Golden Ratio (phi = 1.618033...) dimensions from any single value. Includes an interactive Golden Rectangle with spiral canvas, design typography scales, and Fibonacci sequence convergence proofs.

Quick Presets:
Full combined span
Larger segment (~61.8%)
Smaller segment (~38.2%)
Constant \(\phi \approx 1.6180339887\)
Calculated Golden Ratio Dimensions
A = 618.03 | B = 381.97
(A + B) / A = 1.6180 | A / B = 1.6180

Interactive Golden Rectangle & Spiral Preview

Proportional 1 : 1.618
Square A (Major) B (Minor)
Width: 1000.00 Major A: 618.03 (61.8%) Minor B: 381.97 (38.2%)

Golden Typography Hierarchy Generator

Harmonious font sizing based on base size and golden ratio factors (\(\phi\) and \(\sqrt{\phi}\)):

Body (Base) 16 px
Subhead (\(\sqrt{\phi}\)) 20.4 px
Heading (\(\phi\)) 25.9 px
Display (\(\phi^2\)) 41.9 px

Mathematical Proof & Formulas

How to Use the Golden Ratio Calculator

The Golden Ratio (\(\phi \approx 1.618033...\)) defines the divine proportion found throughout classical architecture, Renaissance art, shell spirals, and modern UI design:

1

Enter Any Single Dimension

Input the Total Length (A + B), the Major Segment (A), or the Minor Segment (B). The other two dimensions calculate automatically.

2

Review Geometry & Spiral

Inspect the proportional SVG Golden Rectangle canvas to visualize the primary square partition and sweeping logarithmic spiral arc.

3

Apply to Layouts & Typography

Use the derived dimensions to structure web column grids, crop photography focal points, or establish typographic scale systems.

Problems Solved by Golden Ratio Analysis

Web Grid Column Balancing

Determining the exact natural width of a main content article column (61.8%) and complementary sidebar (38.2%) without arbitrary guesswork.

Typography Scale Inconsistencies

Designers struggling to choose coherent heading font sizes across H1, H2, and H3 elements can anchor typography to exact powers of phi.

Photographic Composition Cropping

Applying the Phi Grid (1 : 0.618 : 1) as an organic alternative to the rigid Rule of Thirds to guide viewers naturally to focal centers.

Industrial Product Enclosure Proportions

Designing consumer hardware, book covers, packaging boxes, and business cards adhering to classic aesthetic rectangular formats.

Key Features & Capabilities

Interactive SVG Spiral

Renders the iconic Golden Spiral inside the Golden Rectangle to preview geometric partitions in real time.

Three-Way Bidirectional Solving

Input any variable: total span, major segment, or minor segment, and the calculator instantly derives the other two terms.

Typography Hierarchy Engine

Generates a complete 4-tier font scale (Body, H3, H2, H1) based on the entered base font size and \(\phi\) scaling.

High-Precision Phi Constant

Calculates with floating-point precision up to 10 decimal digits using the exact algebraic root \(\frac{1 + \sqrt{5}}{2}\).

Mathematical Formula for the Golden Ratio

Two quantities \(A\) and \(B\) (with \(A > B\)) are in the golden ratio if the ratio of their sum to the larger quantity equals the ratio of the larger quantity to the smaller quantity:

The Divine Proportion
$$\frac{A + B}{A} = \frac{A}{B} = \phi = \frac{1 + \sqrt{5}}{2} \approx 1.6180339887...$$

Solving for segments from a total length \(L\): \(A = \frac{L}{\phi} \approx 0.618034 \times L\), and \(B = L - A \approx 0.381966 \times L\).

Worked Step-by-Step Golden Ratio Examples

Example 1: Splitting a 1000px Web Layout Banner

Divide total width by φ (1.618034) to find the main content container and sidebar:

Major Segment A = 1000 ÷ 1.618034 = 618.03 px | Minor Segment B = 1000 - 618.03 = 381.97 px
Example 2: Deriving Modular Typography from 16px Base Font

Scale upward using square root of φ (1.272) or φ (1.618) to establish harmonic heading hierarchy:

H3 = 16 × 1.272 = 20.35 px | H2 = 16 × 1.618 = 25.89 px | H1 = 25.89 × 1.272 = 32.93 px

Common Golden Ratio Dimensions Matrix

Total Dimension Major Segment (A ≈ 61.8%) Minor Segment (B ≈ 38.2%) Typical Design Usage
100 61.80 38.20 Percentage container layout grid
500 px 309.02 px 190.98 px Card content vs image split
1200 px 741.64 px 458.36 px Desktop container (Article + Sidebar)
1600 px 988.85 px 611.15 px Widescreen hero showcase banner
1920 px 1186.62 px 733.38 px Full HD cinema framing canvas

Key Insights & Best Practices

For Students & Artists

The golden ratio connects intimately to the Fibonacci sequence (1, 1, 2, 3, 5, 8, 13, 21, 34...). Dividing any consecutive Fibonacci pair (such as 34/21 = 1.6190) rapidly converges to the golden ratio constant φ.

For UI/UX Designers

Applying the 61.8% to 38.2% proportion to content width versus sidebar layout prevents visual crowding and provides natural reading cadence. When establishing type scales, multiplying base font by 1.272 (sqrt of phi) generates organic typographic scale.

Frequently Asked Questions

What is the Golden Ratio and why is it approximately 1.618?

The Golden Ratio (represented by the Greek letter phi, or phi) is a mathematical proportion where the ratio of the sum of two quantities to the larger quantity equals the ratio of the larger quantity to the smaller quantity: (A + B) / A = A / B = phi. Solving this quadratic equation yields the irrational constant (1 + sqrt(5)) / 2, which approximately equals 1.6180339887.

How do you calculate the major and minor segments from a total length?

To split a total length L into golden ratio segments, divide L by 1.6180339887 to obtain the major segment A (A = L / 1.6180339887). Then subtract A from L to obtain the minor segment B (B = L - A). For example, a total width of 1000 pixels yields a major column of approximately 618 pixels and a minor sidebar of 382 pixels.

What is the relationship between the Fibonacci sequence and the Golden Ratio?

The Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ...) has a deep mathematical connection to the Golden Ratio. As you progress along the sequence, the ratio of any consecutive Fibonacci pair (F(n) / F(n-1)) converges asymptotically toward the Golden Ratio phi (for example, 55/34 = 1.6176, 89/55 = 1.61818).

How is the Golden Ratio applied in web design and typography?

Web designers use the Golden Ratio to establish visual balance across layout grids (such as a 61.8% content area paired with a 38.2% sidebar) and harmonious typographic hierarchies. Multiplying or dividing body font size (e.g., 16px) by phi or its square root produces balanced heading sizes (such as 26px for h2 and 42px for h1).

What is the difference between the Golden Ratio and the Rule of Thirds?

The Rule of Thirds divides a composition into equal thirds (33.3% / 33.3% / 33.3%), placing visual focal points at grid line intersections. The Golden Ratio (specifically the phi grid) divides a composition along proportions of 1 : 0.618 : 1 (approximately 38.2% / 23.6% / 38.2%). The Golden Ratio positions focal lines slightly closer to the center, creating a more organic, natural aesthetic.