Golden Ratio Calculator
Split lengths by the golden ratio for balanced layouts.
Split lengths by the golden ratio for balanced layouts. Enter your numbers and get an instant result.
Enter one measurement and choose which part of the golden section it represents — the longer segment, the shorter one, or the whole — and this page returns all three lengths.
The constant used is 1.6180339887. Given the longer segment, the shorter is that divided by the constant; given the shorter, the longer is that multiplied by it; given the whole, the longer is the whole divided by 1 plus the reciprocal of the constant.
All three values are reported to two decimal places, in whatever unit you typed, because the page never sees a unit at all.
Which field to type and what comes back
Typing the longer segment is the common case: you have a width and want the height that divides it in the golden section. Type the shorter segment when you have a small dimension and want the large one.
Typing the whole gives the split of a total length into the two segments, so the longer and shorter values add back to the total. The two other modes do not preserve the number you typed as the total.
A zero or negative value blanks the panel rather than returning a negative length.
- Longer given: shorter = longer / 1.6180339887
- Shorter given: longer = shorter * 1.6180339887
- Total given: longer = total / (1 + 1 / 1.6180339887)
What the ratio is not
The golden ratio is one proportion among many. Nothing about it guarantees a layout will look balanced, and a design that measures 1.618 is not thereby better than one that measures 1.5.
The page rounds to two places, so a chain of derived measurements will drift. Derive each new measurement from an input rather than from a rounded output.
How to use the segment choice
Enter the measurement and choose which part of the golden section it is: the longer segment, the shorter one, or the whole. The constant in use is 1.6180339887.
Read all three lengths in the Proportions panel to two decimals, in whatever unit was typed, because the page never sees a unit. Longer gives shorter by division, shorter gives longer by multiplication, whole splits by the reciprocal rule.
What to Expect
Best for
- Splitting a single length into golden-section segments
- Deriving a height from a width before drawing a layout
- Comparing the three segments of one proportion
Not ideal for
- A design judgement, which no ratio makes for you
- Chained derivations, where two-decimal rounding accumulates
- Unit conversion, since the values carry no unit
What this tool keeps
- Two decimal places on all three segments
- The total equal to the sum of the two segments in total mode
- The value you typed, unchanged in its own field
What may need cleanup
- Rounding drift when a result is fed back in as a new input
- A rounded result that a drawing tool will round again to whole pixels
- The assumption that a golden proportion suits every layout
Common errors
- Typing the total in longer mode and wondering why the sum is larger
- Chaining outputs and accumulating rounding error
- Treating 1.62 as the exact constant rather than a rounded display
Example use cases
- Dividing a 1000-pixel width into a golden section
- Choosing a card height for a given card width
- Illustrating the proportion in a design lesson
Sample input
A longer segment of 100, with the longer-segment mode selected.
Sample output
A shorter segment of 61.80 and a combined total of 161.80.
Who this is for
- Designers proportioning a layout by hand
- Developers converting a spec into pixel values
- Students learning what the golden section actually computes
Frequently asked questions
What does the golden ratio calculator return?
All three lengths of the golden section from one measurement: the longer segment, the shorter one and the whole.
Does it convert units?
No. The values carry no unit, so the figure is in whatever unit you typed.
Why does a result drift when I feed it back in?
Each result is rounded to two decimal places, and chained derivations accumulate that rounding.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.