phi ratio calculator

Golden Ratio (Phi) Calculator

Use this tool to split a value by the golden ratio (φ ≈ 1.61803398875), or check how close two numbers are to phi.

1) Calculate a Golden Ratio Split


2) Check a Ratio Against Phi

What is the phi ratio?

The phi ratio, also called the golden ratio, is an irrational number approximately equal to 1.61803398875. It is usually written as the Greek letter φ (phi). A pair of numbers is in the golden ratio when:

  • (larger + smaller) / larger = φ
  • larger / smaller = φ

This means the relationship between parts and whole remains consistent. Because of this self-similar property, phi shows up in geometry, design systems, and certain growth patterns.

How to use this phi ratio calculator

Golden ratio split mode

If you know one value and want a golden-ratio set, choose whether your input is the smaller part, larger part, or whole. The calculator returns all three values:

  • Smaller part
  • Larger part
  • Whole (sum)

It also shows each part as a percentage of the whole. In a perfect golden split, the larger part is about 61.8% and the smaller part is about 38.2%.

Ratio checker mode

Enter any two positive numbers to test whether their ratio is close to phi. The checker computes:

  • The ratio of larger to smaller
  • Difference from φ
  • Percent error relative to φ

This is useful when you already have dimensions and want to evaluate how “golden” they are.

Core formulas behind the calculator

Let φ = (1 + √5) / 2.

  • If smaller part is known: larger = smaller × φ
  • If larger part is known: smaller = larger / φ
  • If whole is known: larger = whole / φ, then smaller = whole − larger

These formulas make it easy to resize layouts, drawings, or component spacing while keeping the same proportional structure.

Practical uses of phi ratio

Design and composition

Many designers use phi as a starting proportion for typography, spacing, logo construction, and page composition. It provides a balanced ratio that often feels natural to the eye.

UI and web layout

You can use golden-ratio scaling for card dimensions, hero sections, visual hierarchy, and even type scales. It is not mandatory, but it offers a coherent baseline when you need consistency.

Photography and art

Some photographers place subjects near golden-ratio intersections to create pleasing framing. It works similarly to the rule of thirds, but with slightly different proportion points.

Data, trading, and analysis

In finance, people sometimes use ratios related to phi (such as 61.8% retracement levels). These are analytical tools, not guarantees. Always combine ratio methods with risk management and broader context.

Example calculations

Example 1: starting with a whole

If the whole is 500:

  • Larger part = 500 / φ ≈ 309.017
  • Smaller part = 500 − 309.017 ≈ 190.983

Example 2: starting with a smaller part

If the smaller part is 42:

  • Larger part = 42 × φ ≈ 67.957
  • Whole ≈ 109.957

Example 3: checking a ratio

For values 162 and 100:

  • Ratio = 162 / 100 = 1.62
  • This is very close to φ = 1.6180339...

Frequently asked questions

Is phi always the best ratio?

No. It is a useful proportion, not a universal rule. In practical work, usability, readability, and context matter more than any single ratio.

Can I use negative numbers?

This calculator expects positive values because it is intended for lengths, dimensions, and magnitudes.

How accurate is this calculator?

The internal math uses full JavaScript floating-point precision. Displayed results are rounded for readability.

Final thoughts

A good phi ratio calculator should be quick, clear, and practical. Use it to generate golden splits, test existing ratios, and iterate on proportions faster. Whether you are designing a layout, setting dimensions for a project, or exploring number patterns, phi gives you a strong and elegant starting point.

🔗 Related Calculators