Math calculators

Golden Ratio Calculator

Updated May 23, 2026 By Jehan Wadia
100.000:61.803=61.803:38.197
φ (PHI) = 1.6180339887…
Segment Inputs
Enter one value to compute others, or two values to validate.
The longer portion of the golden division.
Enter a valid positive number
The shorter portion of the golden division.
Enter a valid positive number
The full length of both segments combined.
Enter a valid positive number

Visual Proportion
a
b
a = 61.803 a + b = 100.000 b = 38.197
Detailed Results
Longer Segment (a)
61.803
Shorter Segment (b)
38.197
Whole Length (a + b)
100.000
φ (PHI)
1.618
a / b 1.618
(a + b) / a 1.618
a / (a + b) 0.618
b / a 0.618
b / (a + b) 0.382
Proportion Summary 100.000 : 61.803 = 61.803 : 38.197
Golden Rectangle & Spiral
Golden Ratio Segment Cascade
Repeatedly applying the golden ratio from your starting value, showing how segments scale.

Introduction

The golden ratio is a special number found in math, art, and nature. It equals about 1.618 and is shown by the Greek letter φ (phi). When you split a line into two parts so that the whole length divided by the longer part equals the longer part divided by the shorter part, you get the golden ratio. This calculator lets you find those two parts fast. Enter one value, and it computes the rest. Enter two values, and it checks if they form a true golden ratio. You also get a visual bar, a golden spiral drawing, and a chart that shows how the segments shrink step by step.

How to Use Our Golden Ratio Calculator

Enter one or two segment lengths and this calculator will find the missing values that form a perfect golden ratio (φ = 1.618). You will get the longer segment, shorter segment, whole length, ratio checks, a visual bar, and a golden spiral drawing.

Calculation Mode: Pick how you want to calculate. Choose "Auto-detect" to let the tool figure it out, or pick a specific mode like "Calculate from a" or "Validate a & b pair" to check if two numbers form a golden ratio.

Decimal Precision: Choose how many decimal places you want in your results, from 0 to 12. If you need help understanding significant figures in your results, our Sig Fig Calculator can assist.

Unit: Pick a unit of measurement like px, cm, mm, inches, or feet. Leave it blank if you do not need a unit.

Longer Segment (a): Enter the length of the longer part of your golden ratio split. The tool will calculate the shorter segment and whole length for you.

Shorter Segment (b): Enter the length of the shorter part. The tool will find the matching longer segment and whole length.

Whole Length (a + b): Enter the total length of both segments combined. The tool will split it into the two golden ratio parts.

Calculate Button: Click this to run the calculation with your current inputs.

Reset Button: Click this to clear all your entries and return the calculator to its default values.

What Is the Golden Ratio?

The golden ratio is a special number in math, written as the Greek letter φ (phi), which equals approximately 1.618. You get this number when you divide a line into two parts so that the longer part divided by the shorter part equals the whole line divided by the longer part. This relationship appears everywhere — in nature, art, architecture, and design. You can use our Ratio Calculator to explore other types of proportional relationships beyond the golden ratio.

How the Golden Ratio Works

Imagine you have a line. You split it into a long piece (a) and a short piece (b). If a ÷ b = 1.618, and (a + b) ÷ a also equals 1.618, then your line is divided at the golden ratio. The two ratios always match. That is what makes this proportion unique. If you want to explore the exact mathematical value of φ, note that it equals (1 + √5) / 2 — you can verify this with our Square Root Calculator.

Where You See the Golden Ratio

  • Nature: Flower petals, sunflower seed spirals, pinecones, and seashells follow golden ratio patterns.
  • Art and Design: Painters like Leonardo da Vinci used it to create balanced, pleasing compositions. When working with digital design, the Aspect Ratio Calculator can help you set up golden ratio proportions for screens and images.
  • Architecture: The Parthenon in Greece and many modern buildings use golden ratio proportions. Builders working with golden ratio dimensions in construction projects may also find the Square Footage Calculator helpful for area measurements.
  • Photography: The golden spiral helps photographers place subjects in a frame for the best visual impact.

The Golden Ratio and Fibonacci Numbers

The Fibonacci sequence is a list of numbers where each number is the sum of the two before it: 1, 1, 2, 3, 5, 8, 13, 21, and so on. When you divide any Fibonacci number by the one before it, the answer gets closer and closer to 1.618. This is why the golden ratio and Fibonacci numbers are closely linked. You can generate and explore Fibonacci numbers in detail with our Fibonacci Calculator. The golden ratio also connects to many geometric shapes — for instance, it appears in the diagonals of a regular pentagon, and you can explore related polygon math with our Hexagon Calculator or Octagon Calculator.

How to Use This Calculator

This golden ratio calculator lets you enter any one value — the longer segment, the shorter segment, or the whole length — and it instantly finds the other two. You can also enter two values to check if they form a true golden ratio. The tool shows a visual bar, a golden rectangle with a spiral, and a chart of how segments shrink when you keep dividing by phi. If you need to calculate the percentage each segment represents of the whole, or find the percent difference between your ratio and the ideal φ, those tools can help as well. For related geometric calculations, try our Area of a Rectangle Calculator to work with golden rectangles, or the Distance Calculator and Midpoint Calculator for finding golden ratio division points along a line segment.


Frequently asked questions

What value do I need to enter to use the golden ratio calculator?

You only need to enter one value. Type in the longer segment (a), the shorter segment (b), or the whole length (a + b). The calculator will find the other two values for you using the golden ratio (φ = 1.618).

How do I check if two numbers form a golden ratio?

Enter both numbers into the a and b fields. Set the mode to Validate a & b pair or leave it on Auto-detect. The calculator will divide a by b and compare the result to 1.618. It will tell you how close your numbers are to a true golden ratio and show the percent deviation.

What does the visual proportion bar show?

The bar shows how your two segments compare in size. The purple section is the longer segment (a) and the green section is the shorter segment (b). When the ratio is golden, the purple part takes up about 61.8% of the bar and the green part takes up about 38.2%.

What is the golden spiral drawing on the calculator?

It is a golden rectangle divided into smaller squares. Inside those squares, quarter-circle arcs are drawn to form a spiral. This spiral matches the shape you see in seashells and sunflowers. It shows how the golden ratio creates a smooth, natural curve.

What does the segment cascade chart mean?

The chart starts with your longer segment and divides it by φ (1.618) ten times. Each bar shows the next smaller segment. This is how golden ratio segments shrink step by step, similar to how Fibonacci numbers grow in reverse.

Can I change how many decimal places the results show?

Yes. Use the Decimal Precision dropdown to pick anywhere from 0 to 12 decimal places. The default is 3. All results, labels, and the visual bar will update to match your choice.

What units can I use with this calculator?

You can pick from px, cm, mm, inches, feet, points, em, rem, or meters. The unit is just a label added to your results. It does not change the math. You can also leave it blank if you do not need a unit.

What does Auto-detect mode do?

Auto-detect looks at which fields you filled in. If you entered one value, it calculates the other two. If you entered two values, it checks whether they form a golden ratio. You do not need to tell the calculator which field to use.

Why does the calculator show a/b and (a+b)/a as the same number?

That is the key property of the golden ratio. When a line is split at the golden ratio, a ÷ b and (a + b) ÷ a both equal φ (1.618). If those two ratios do not match, the split is not a true golden ratio.

What do the ratio values like a/b, b/a, and b/(a+b) mean?

a/b is the longer part divided by the shorter part (should be 1.618). b/a is the shorter divided by the longer (should be 0.618). b/(a+b) shows what fraction of the whole line the shorter part is (should be 0.382). These are all different ways to express the same golden proportion.

How do I copy a result from the calculator?

Click the small copy icon next to any result value. The number will be copied to your clipboard. The icon will briefly turn into a checkmark to confirm it worked.

What does the deviation percentage mean in validation mode?

It tells you how far your a/b ratio is from the true golden ratio (1.618). A deviation under 0.01% means a perfect match. Under 1% is very close. Over 5% means your numbers do not form a golden ratio, and the calculator will suggest corrected values.

Does the calculator update results as I type?

Yes. The calculator runs in real time. As soon as you change a number in any input field, all results, the proportion bar, the spiral drawing, and the cascade chart update instantly.

What happens if I enter a negative number or zero?

The calculator needs positive numbers greater than zero. If you enter zero, a negative number, or leave a required field empty, you will see a red error message below that field asking for a valid positive number.

How is this calculator useful for designers and artists?

Designers use the golden ratio to create layouts, logos, and compositions that look balanced and pleasing. Enter a width or height and the calculator gives you the matching golden ratio dimension. The visual bar and spiral drawing help you see the proportion before you apply it to your work.