Kharabeesh
On-device ع

Golden Ratio Calculator

Split any length by the golden ratio 1.618, scale it up or down, get a golden size sequence and a main/sidebar layout split for your page with ready CSS and a diagram.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Enter any length (page width, image height, font size…).
  2. See it split into a large and small part, and its length scaled up or down by the golden ratio.
  3. Use the sequence for harmonious sizes, and the column split for your page with CSS.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.

Frequently asked questions

What is the golden ratio?

φ = (1 + √5) ÷ 2 ≈ 1.6180339. Split a length so that whole ÷ larger = larger ÷ smaller and you get this ratio: the larger part is about 61.8% and the smaller about 38.2%.

Do I have to design with it?

No. It is a helper that gives balanced divisions, but many claims about “golden beauty” are exaggerated. Use it as a starting point and trust your eye.

How do I use it in CSS?

For two columns: grid-template-columns: 1.618fr 1fr. For type sizes: each size = the previous × 1.618 (or use the type scale generator with a smaller ratio for interfaces).

Formulas & sources

Related tools