Skip to content
CalcTide logo
Education & Math

Golden Ratio Calculator

Phi, the golden ratio, equals approximately 1.6180339887. This golden ratio calculator splits any total length into a longer segment and a shorter segment so that the whole divided by the longer segment matches the longer segment divided by the shorter segment. Enter a total length in any unit, or no unit at all, and the tool returns both segment lengths along with the ratio check and the percentage each segment takes up of the total. Designers, artists, photographers, and math students use this split to lay out compositions, crop images, or check whether a rectangle or line follows the same proportion found throughout geometry and nature.

Education & MathBy

Quick answer

Phi (φ) is the irrational constant (1 + sqrt(5)) / 2, which rounds to 1.6180339887.

Longer segment

6.18034

Shorter segment

3.81966

Ratio check (phi)

1.618034

Longer segment share

61.803399%

Shorter segment share

38.196601%

What this tells you

  • Phi (φ) is the irrational constant (1 + sqrt(5)) / 2, which rounds to 1.6180339887.
  • The longer segment always equals the total divided by phi, roughly 61.8 percent of the whole.
  • The shorter segment always equals the total minus the longer segment, roughly 38.2 percent of the whole.
  • Dividing the longer segment by the shorter segment returns phi again, which is the defining property of the golden ratio.
  • The split works for any positive number, so it applies equally to inches, centimeters, pixels, or a plain unitless quantity.
  • This is a pure geometric ratio, not a design rule that guarantees visual appeal on its own.

How to Use

  1. 11. Enter the total length you want to split in the Total length field. Any positive number works, including decimals like 12.5 or 1920 for a pixel width.
  2. 22. Read the longer segment first. This is the larger of the two pieces and always sits closer to the full total than the shorter piece does.
  3. 33. Read the shorter segment next. Adding the longer and shorter segments back together always returns your original total.
  4. 44. Check the ratio value shown in the results. It should match phi, approximately 1.618, confirming the split is a true golden ratio division.
  5. 55. Use the percentage breakdown if you need to communicate the split as a proportion, for example laying out a photo crop at roughly 62/38 instead of raw measurements.

How It Works

Formula

longer = total / φ, shorter = total − longer, where φ = (1 + √5) / 2

Phi is defined as (1 + the square root of 5) divided by 2, which works out to approximately 1.6180339887. A key identity of phi is that phi squared equals phi plus 1. Using that identity, the longer segment formula total × φ / (1 + φ) simplifies to total / φ, so the calculator divides the total directly by phi to get the longer segment. The shorter segment is whatever remains after subtracting the longer segment from the total. As a check, dividing the longer segment by the shorter segment always returns phi again, because that equal-ratio property is what defines the golden ratio in the first place. No rounding assumptions are baked into the math itself, though the displayed results are rounded for readability.

Calculation note: values are processed in the order shown above, using the current input units.

Worked Examples

Split a 10-unit length

Total10
ResultLonger 6.180, shorter 3.820

10 divided by phi (1.6180339887) gives a longer segment of about 6.180. Subtracting that from 10 leaves a shorter segment of about 3.820. Dividing 6.180 by 3.820 returns approximately 1.618, confirming the golden ratio split.

Crop a 1920-pixel wide photo

Total1920
ResultLonger 1186.63px, shorter 733.38px

A 1920-pixel-wide image splits into a longer section of about 1186.63 pixels and a shorter section of about 733.38 pixels. Photographers use this kind of split to place a subject along a golden-ratio line instead of dead center.

Divide a 55-inch board

Total55
ResultLonger 33.99 in, shorter 21.01 in

A 55-inch board splits into a longer piece of about 33.99 inches and a shorter piece of about 21.01 inches. Woodworkers and furniture designers use this kind of proportion when spacing shelves or panel widths.

Check a small decimal total

Total0.5
ResultLonger 0.309, shorter 0.191

Even a small total of 0.5 follows the same rule. The longer segment is about 0.309 and the shorter segment is about 0.191, and the two still add back up to 0.5.

Golden Ratio Split Reference Table

Longer and shorter segment lengths for common total values.

TotalLonger segmentShorter segmentLonger %Shorter %
10.6180.38261.8%38.2%
106.1803.82061.8%38.2%
127.4164.58461.8%38.2%
3622.24913.75161.8%38.2%
10061.80338.19761.8%38.2%
1000618.034381.96661.8%38.2%

The percentage split stays fixed at roughly 61.8 percent and 38.2 percent no matter how large or small the total is, since the golden ratio is a fixed proportion, not a fixed length.

Where the golden ratio shows up

The golden ratio appears in classic geometry problems such as dividing a line so that the whole segment relates to the larger part the same way the larger part relates to the smaller part. That self-referencing property is what makes phi different from an arbitrary ratio like 60/40.

Phi is closely tied to the Fibonacci sequence. As you move further into the Fibonacci numbers (1, 1, 2, 3, 5, 8, 13, 21, 34...), the ratio of each number to the one before it gets closer and closer to phi.

In design work, the golden ratio is often used as a starting point for proportions in layouts, logos, and photo composition, similar to how the rule of thirds is used. It is a guideline some designers reach for, not a mathematical requirement for good design.

Try the square root calculator

Common mistakes

  • Rounding phi too early. Using 1.6 instead of the full 1.6180339887 value introduces a small but avoidable error into both segments.
  • Assuming the split is 60/40 instead of the actual 61.8/38.2 split. The golden ratio is close to 60/40 but not identical to it.
  • Applying the golden ratio to a rectangle's area instead of a single length. This calculator splits one dimension, such as a length or width, not a two-dimensional area.
  • Forgetting that the longer and shorter segments always sum back to the original total. If your two numbers do not add up to the input, the split was not computed correctly.
  • Treating the golden ratio as a guaranteed design rule. It is one proportion option among several, not a rule that automatically makes a layout look better.

Embed this calculator on your site

Drop this single line where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use with attribution.

<script src="https://calctide.com/embed.js" data-tool="golden-ratio-calculator" async></script>

Preview the embed at /embed/golden-ratio-calculator/.

Frequently Asked Questions

The golden ratio is the number phi, approximately 1.6180339887, defined by (1 + the square root of 5) divided by 2. It describes a way to split a length so that the whole relates to the larger part the same way the larger part relates to the smaller part.
Divide the total length by phi (about 1.618) to get the longer segment, then subtract the longer segment from the total to get the shorter segment. This calculator does both steps automatically.
The longer segment is about 61.8 percent of the total, and the shorter segment is about 38.2 percent of the total. These percentages stay the same no matter what total length you start with.
Yes, 1.618 is the common rounded value of phi. The exact value is irrational, (1 + the square root of 5) divided by 2, so it never terminates or repeats, but 1.618 is accurate enough for most practical uses.
Dividing each Fibonacci number by the one before it produces a ratio that gets closer to phi as the sequence continues. For example, 34 divided by 21 is about 1.619, which is already close to the true value of phi.
Yes, the calculator works with any positive number, including pixel widths or heights. Enter the total dimension and use the longer and shorter segment results to place a subject or divider along a golden-ratio line.
It estimates golden ratio calculator outputs using the visible inputs and formula assumptions on this page.

Explore More in Education & Math