Golden Section Calculator screenshot

Golden Section Calculator

Divide a length into the golden section, with both parts, their ratio and the defining equation checked numerically.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Identity residual printed

Golden Section Calculator

Divide a length into the golden section, with both parts, their ratio and the defining equation checked numerically.

How this page computes

φ is (1 + √5)/2, computed directly. The longer part is the total divided by φ and the shorter part is the remainder, so the two always sum to the total.

The ratio of the parts and the ratio of the whole to the longer part are both printed, and φ² − φ − 1 is the residual that checks the constant.

The calculation runs entirely in this browser tab; nothing is uploaded.

The golden section cuts a length so the whole is to the longer part as the longer is to the shorter. For a total of 100 the parts are 61.803398875 and 38.196601125, and the ratio is 1.61803398875.

That number is φ, the positive root of x² = x + 1. The page prints the residual of that identity, so the constant is shown to satisfy its own definition rather than merely quoted.

How to use Golden Section Calculator

Enter the total length and press Run. The length must be above zero, since a section of nothing has no parts.

The output gives both parts, their ratio, the ratio of the whole to the longer part, the longer part as a fraction of the total, and the identity check.

Why phi is the root of x² = x + 1

Write the condition as total/long = long/short with short = total − long. Setting the ratio to x turns it into x = 1/(x − 1), which rearranges to x² − x − 1 = 0. The positive root is φ.

The longer part is therefore the total divided by φ, and the shorter part is what remains. The page prints the identity's residual so the printed value can be checked against its definition instead of against a remembered decimal.

What to Expect

Best for

  • Cutting a length into the golden ratio
  • The two parts as numbers rather than only as a ratio
  • Checking that a quoted φ satisfies its own equation

Not ideal for

  • A rectangle's proportions, which the golden rectangle page gives
  • A length in mixed units, which should be converted first
  • A total of zero or below, which is refused

What this tool keeps

  • The total length exactly as typed

What may need cleanup

  • Nothing: the parts are the exact division

Common errors

  • A total at or below zero is refused
  • A non-numeric total is refused by name

Example use cases

  • Split 100 into the golden section
  • Get φ to twelve decimals
  • Check that φ squared is φ plus one

Sample input

total 100

Sample output

61.803398875 and 38.196601125, ratio 1.61803398875

Who this is for

  • Designers laying out a page
  • Students meeting the golden ratio

Frequently asked questions

Which part is the golden section?

The division, not one of the parts: the whole is to the longer part as the longer part is to the shorter. Both parts are printed, and the longer is the total divided by φ.

Is φ rational?

No. It is the positive root of x² − x − 1 = 0, which has no rational root, so it is irrational. The printed decimal is a rounding of an exact algebraic number.

Why print the residual of φ² = φ + 1?

Because it is the definition, so the printed value can be checked against it. A typo in a quoted decimal would show as a non-zero residual.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.