🏆 US-Registered Digital Marketing Agency
Advertisement
Advertisement
MATHEMATICS

Golden Ratio Calculator — phi segments and golden rectangles

Divide any length in the golden ratio, or find the missing side of a golden rectangle, from one measurement.

Pick the measurement you actually have. Everything else is derived from it.
Any unit you like — millimetres, pixels, inches. The ratio is unitless.
The unit label is cosmetic only — it is printed beside each result.
Longer segment
0
 
0
Shorter segment
0
Whole length
0
Long ÷ short
0
Golden rectangle partner side
Long
61.8%
Short
38.2%
Tip: the golden split of a whole length always lands near 61.8% and 38.2%. If your two parts are not close to those percentages, they are not in the golden ratio.
Advertisement

The golden ratio calculator above takes one measurement and returns every other number in a golden proportion: the longer segment, the shorter segment, the whole length they add up to, and the partner side of the golden rectangle built on the value you typed. The ratio itself is the irrational constant phi, approximately 1.6180339887, and it has one defining property that no other number shares — the whole is to the larger part exactly as the larger part is to the smaller.

Arb Digital built this tool for the moment you have one fixed dimension and need the rest of a layout, a diagram or a geometry exercise to follow from it. This is deliberately narrower than our general ratio calculator, which scales any two-part or three-part ratio you supply; this page works only with the fixed phi relationship and adds the focus points that come with it, such as the rectangle partner side and the reciprocal identity.

What This Golden Ratio Calculator Does

Choose which measurement you hold — the whole length, the longer piece, or the shorter piece — enter it, and the calculator solves for the other two. If you enter a whole length of 100, it splits it into 61.803 and 38.197. If you enter 61.803 as the longer piece, it reconstructs the same 100 whole and the same 38.197 remainder. Every route through the tool describes the same triple, so you can start from whichever number your problem actually fixes.

The fourth result cell is the golden rectangle partner side. A golden rectangle is one whose sides are in the ratio 1 to phi, so if the value you entered is a rectangle side, the partner is that value multiplied by phi. That single number is what turns an abstract ratio into something you can draw. The two bars beneath the results show the split as percentages of the whole, which is the fastest way to sanity-check a proportion you were given rather than one you derived.

How to Use It

  1. Select what you know. The default assumes you have the whole length and want it divided. Switch to "longer segment" or "shorter segment" if your fixed measurement is one of the two parts instead.
  2. Enter the measurement. Use any unit. Because the golden ratio is a pure number, the units simply carry through to every result unchanged.
  3. Set a unit label. Optional and cosmetic. It prints beside each result so a printed or copied answer still says what it measures.
  4. Choose decimal places. Phi never terminates, so every answer is rounded. Three places is enough for drawing; use six if you are checking an algebraic identity.
  5. Read the bars. They should always show roughly 61.8% and 38.2%. If they do not, the input is negative or zero and the tool will say so.

The Formula and How It Is Calculated

Phi is defined by the requirement that (a + b) ÷ a = a ÷ b where a is the longer segment and b the shorter. Setting b to 1 and solving the resulting quadratic a² − a − 1 = 0 gives the positive root phi = (1 + √5) ÷ 2 ≈ 1.6180339887. The tool computes that root directly from the square root of five rather than storing a rounded decimal, which keeps the derived values accurate well past the eight decimal places the display ever shows.

From there the arithmetic is short. If you supply the whole length L, the longer segment is L ÷ phi and the shorter is L − (L ÷ phi), which also equals L ÷ phi². If you supply the longer segment a, the shorter is a ÷ phi and the whole is a + (a ÷ phi), which equals a × phi. If you supply the shorter segment b, the longer is b × phi and the whole is b × phi². Every division is guarded, so a blank or zero input returns a plain message rather than a nonsense number. If you want to see where the square root of five comes from independently, our square root calculator will evaluate it to as many places as you need.

Advertisement

The Identity That Makes Phi Unusual

Phi is the only positive number whose reciprocal is itself minus one. That is, 1 ÷ 1.618034 = 0.618034. It is also the only positive number whose square is itself plus one: 1.618034² = 2.618034. Both facts fall straight out of the defining equation a² = a + 1, and both are worth knowing because they let you check a golden ratio answer in your head. If the calculator says the longer segment of a 100-unit line is 61.803, then 61.803 × 1.618 should return you to 100, and 61.803 ÷ 1.618 should give the 38.197 shorter segment. Two multiplications and the whole result is verified. The MacTutor History of Mathematics archive at St Andrews traces how the ratio was actually described by Euclid and by Kepler, and Wolfram MathWorld’s entry on the golden ratio lists the algebraic identities it satisfies.

This self-similarity is also why the golden rectangle has its famous property. Cut a square off the end of a golden rectangle and the rectangle left behind is itself golden, with sides in the same 1-to-phi proportion. Repeat the cut and you get a smaller golden rectangle again, indefinitely. No other rectangle proportion survives that operation, which is the actual mathematical reason the shape recurs in design curricula rather than any claim about beauty.

Where Phi Genuinely Appears, and Where It Does Not

The connection to the Fibonacci sequence is real and provable: the ratio of consecutive Fibonacci numbers converges on phi. 8 ÷ 5 is 1.6, 21 ÷ 13 is about 1.615, and 144 ÷ 89 is about 1.6180. Generate a few terms with our Fibonacci calculator and divide adjacent pairs to watch the convergence happen. The same limit appears in the growth of any sequence defined by adding the previous two terms, regardless of the two numbers you start from.

Many of the other claims made about the golden ratio are much weaker than they sound. Assertions that the Parthenon, the Great Pyramid or classical portrait proportions were designed around phi generally rely on choosing convenient measurement points after the fact, and a proportion between 1.5 and 1.7 will match phi to within a few percent by coincidence alone. The honest position is that phi is mathematically remarkable and is deliberately used by some designers, while historical attributions are frequently retrofitted. Treat this calculator as a source of an exact proportion, not as evidence that a given object was built to one.

Reading a Proportion You Were Given

The common real task is the reverse of what the tool defaults to: you have two measurements and want to know whether they are golden. Divide the larger by the smaller. If the answer sits between about 1.60 and 1.64, the pair is golden to within visual tolerance; anything outside 1.55 to 1.68 is a different proportion wearing the name. Our percent error calculator will quantify the gap between your measured ratio and 1.618034 precisely, which is more useful than an eyeball judgement when you are marking work or writing up a result.

Watch the direction of the division. Dividing the smaller by the larger gives 0.618, not 1.618, and both numbers are routinely called "the golden ratio" in different sources. They are reciprocals of each other and describe the same split, but substituting one for the other in a formula will produce an answer that is wrong by a factor of phi squared. When a textbook writes phi as 0.618 it means the shorter-to-longer form; this calculator always reports long ÷ short.

Golden Rectangles in Practical Layout Work

If you are sizing a rectangle rather than splitting a line, the number you want is the partner side. A 900-pixel-wide element in a golden rectangle is 900 ÷ 1.618 = 556 pixels tall, or 900 × 1.618 = 1,456 tall if the 900 is the short side. The calculator returns the multiplied form; divide instead when your entered value is the longer side. Once you have both sides, our rectangle area calculator and perimeter calculator will finish the geometry.

One practical caution: rounding to whole pixels breaks the ratio slightly, and repeated golden subdivisions compound that rounding quickly. Four nested golden splits of a 1,000-pixel container, each rounded to integers, can drift several pixels from the exact values. Where the proportion has to hold across nested elements, compute every level from the original measurement rather than from the previous rounded result.

Need another calculator we have not built yet?

Arb Digital publishes hundreds of free maths, statistics and geometry tools, all of them running entirely in your browser with no sign-up and no data sent anywhere. Tell us what is missing and we will look at adding it.

Browse All Free Tools Suggest a Tool

Common Mistakes to Avoid

  • Using 1.6 instead of 1.618034 — the shortcut is off by more than one percent, which is visible once a length is a few hundred units long.
  • Mixing up 1.618 and 0.618 — both are called phi in different texts, and substituting one for the other multiplies the error by phi squared.
  • Adding the two segments and expecting the input back after heavy rounding — round only the final displayed values, never the intermediate ones.
  • Treating any ratio near 1.6 as golden — 3:2 is 1.5 and 5:3 is 1.667, and neither has the self-similar property that defines phi.
  • Assuming a historical object was designed on phi because a measured ratio lands close to it — near misses are extremely common by chance.

Related Free Tools From Arb Digital

Scale a general proportion with the ratio calculator, watch phi emerge from the Fibonacci calculator, evaluate the root of five in the square root calculator, and finish a rectangle with the rectangle area calculator or the perimeter calculator. To measure how far a real proportion sits from the ideal, use the percent error calculator, or browse the full free online tools hub.

Frequently Asked Questions

What is the golden ratio in numbers?

The golden ratio is the irrational constant phi, equal to (1 plus the square root of 5) divided by 2, which is approximately 1.6180339887. Its reciprocal, 0.6180339887, describes the same split measured the other way round.

How do I split a line in the golden ratio?

Divide the whole length by 1.6180339887 to get the longer segment, then subtract that from the whole to get the shorter one. A 100-unit line splits into 61.803 and 38.197.

What is a golden rectangle?

A rectangle whose long side divided by its short side equals phi. Cutting a square off one end leaves a smaller rectangle with the same proportion, which is a property no other rectangle shape has.

Is the golden ratio the same as the Fibonacci sequence?

They are connected but not identical. The ratio between consecutive Fibonacci numbers converges towards phi as the terms grow, but no pair of Fibonacci numbers is ever exactly in the golden ratio.

Why is 0.618 also called the golden ratio?

Because it is the reciprocal of 1.618 and describes the same division of a line, just expressed as shorter over longer instead of longer over shorter. Check which convention a formula expects before substituting.

Do I need the exact value or is 1.6 close enough?

For rough sketching 1.6 is usually fine, but it carries an error of about 1.1 percent, which becomes visible on long measurements and compounds across nested subdivisions. This calculator uses the exact square root expression.

Can the golden ratio apply to three parts?

Not directly. Phi is defined by a two-part split. Three-part proportions built from repeated golden divisions exist, but you construct them by applying the split twice rather than by using a single three-term ratio.

Results here are provided for study and for checking your own working — they are not a substitute for showing the algebra your course requires.

Advertisement
Advertisement

Take it further