Skip to main content

Golden Ratio Calculator — φ = 1.618 Segments, Sequence & Layout

Split any length by φ = 1.618 — long/short segments, golden sequence, font scale, layout columns, golden rectangle — browser-only

  • Runs locally
  • Category Calculator
  • Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.
Any length or number (px, rem, mm…)
Long segment (value ÷ φ)
618.03
Short segment (value − long)
381.97
Next size up (value × φ)
1618.03
a
b
Golden sequence (× φⁿ / ÷ φⁿ)

What this tool does

A golden ratio calculator built for the moments a designer actually reaches for φ: you have one number — a container width, a base font size, a poster height — and you need its golden partner. Type the value and you instantly get the long segment (value ÷ 1.618) and the short segment (value − long), the two pieces that sum back to your original length. From there it builds a golden sequence in both directions (value × φⁿ and value ÷ φⁿ), so a 16px base font becomes a full type scale of 9.9 / 16 / 25.9 / 41.9 / 67.8px with one glance. Three applied calculators turn φ into real layout numbers: a type scale (base size to golden steps up and down), a two-column layout split (container width to main column + sidebar), and a golden rectangle (width to its φ-derived height). A live SVG draws the golden rectangle with its inner square and the spiral guideline so you can see the split, not just read it. Every result has a one-click copy button, the main inputs sync to a shareable URL, and your precision and mode preferences are remembered locally. 100% client-side — nothing you type leaves the browser tab.

Tool details

Input
Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy + Preview
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
Shareable URL state
Key settings are encoded in the URL so another person can reopen the same setup.
Performance budget
Initial JS <= 9 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Calculator · Designer
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How Golden Ratio Calculator fits into your work

Use it for fast estimates, comparisons, and planning numbers before you make the final call.

Calculation jobs

  • Getting a realistic range before a purchase, plan, workout, or schedule decision.
  • Comparing scenarios by changing one input at a time.
  • Turning rough assumptions into a number you can discuss.

Calculation checks

  • Double-check units, dates, rates, and rounding assumptions.
  • Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
  • Save the inputs that produced an important result so you can reproduce it later.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 Aspect Ratio Calculator Calculate aspect ratio — fix any 1 of [width, height, ratio], get the other two. Open
  2. 2 CSS clamp() Fluid Typography Generator CSS clamp() fluid typography generator — min/max font size, viewport range, full type scale (h1-h6 + body), copy CSS / Tailwind. Open
  3. 3 Percentage Calculator 5 common percentage calculations — "x% of y", "x is what% of y", percentage change, increase/decrease — instant, browser-only Open

Real-world use cases

  • Build a φ-based type scale from a 16px body size

    You want a heading scale that feels proportional rather than hand-picked. Put 16 into the type-scale calculator and read the golden steps: 9.9 / 16 / 25.9 / 41.9 / 67.8px. Round to 10 / 16 / 26 / 42 / 68px, map them to caption / body / h3 / h2 / h1, and you have a five-step scale where every jump is the same φ factor. If 67.8px feels too aggressive for mobile, that's the signal to use a tighter ratio there — fluid sizing is exactly what the css-clamp-fluid-typography-generator handles next.

  • Split a 1200px content container into main + sidebar

    A blog layout needs a comfortable main column and a narrower sidebar. Feed 1200 into the layout calculator: long segment 741.6px, short segment 458.4px. Round to a 742 / 458 split (or 740 / 460 to keep round numbers), set your grid columns, and the proportion reads as deliberate instead of "70/30 because that felt fine". For the responsive breakpoints, pair the split with the aspect-ratio-calculator to keep media blocks consistent.

  • Size a logo lockup and its clear space

    You have a 240px-wide wordmark and need clear space and an icon that don't fight it. Put 240 in: the short segment 91.6px is a natural width for a paired icon, and the long-to-short relationship gives you a margin (≈ 91px) that matches the mark's internal rhythm. Designers reach for φ here because the eye reads the icon, mark, and whitespace as one family rather than three unrelated sizes.

  • Lay out a golden-rectangle poster or card

    Set a card width of 360px in the rectangle calculator and it returns a height of 222.5px (width ÷ φ) for a landscape golden rectangle, or 582.5px (width × φ) for a portrait one. The live SVG shows the inner square and spiral so you can place the focal point on the spiral's eye — a classic composition trick for hero images and print covers.

  • Generate a spacing scale for a design system

    Spacing tokens often start as 8 / 16 / 24 / 32 — linear and a bit flat. Drop your base unit (say 8) into the sequence and use the golden steps 8 / 13 / 21 / 34 / 55 instead (these are Fibonacci, the integer face of φ). The result is a scale that grows the way type and layout do, so margins, gaps, and font sizes all share one proportional language. Lock the colors of those tokens with the color-palette-generator and the system reads as a whole.

Common pitfalls

  • Confusing 'divide by φ' with 'multiply by φ'. To split a length INTO two pieces that sum to the original, the long piece is value ÷ φ. To get a BIGGER sibling size, multiply by φ. Mixing these up gives a layout that's 1.618× too big or too small — check whether your two outputs add back to the input (they should for a split).

  • Using too many decimals in production. φ is irrational, so raw outputs like 741.64px look precise but render to sub-pixel positions the browser rounds anyway. Pick a precision (whole pixels for layout, 0.01rem for type) and round there — chasing the 4th decimal place is false precision.

  • Treating φ as a rule instead of a starting point. A φ split can be too extreme for a 320px mobile column (123/197 feels lopsided on a phone). Use it as a first proposal, then adjust toward a tighter ratio when the content or viewport demands it — the calculator gives you the number, not a mandate.

Privacy

Every calculation — the φ split, the golden sequence, the type scale, the layout split, the rectangle dimensions, and the SVG preview — is plain JavaScript running in your browser tab. No value you type is sent to a server, logged, or used for analytics. The one caveat: the main input and mode sync to a shareable URL (`?v=1200&m=layout`), so if you paste a "share link" into chat, the destination server's access log records that number. Layout dimensions are rarely sensitive, but if the value itself is confidential, copy the result manually instead of sharing the URL. Your precision and mode preferences are stored only in this browser's localStorage and never leave the device.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-06-14