Golden Ratio Calculator

Split a total length into golden proportions, or find a matching dimension from one known side. Choose the longer part, shorter part, or total, then enter your measurement.

Total length · A + B
A · Longer61.8%
B · Shorter38.2%
A / B = φ ≈ 1.618φ = 1.61801/φ = 0.6180φ² = 2.6180

Your golden split

Choose what your known length represents, enter a positive number, then select Calculate. Your other two lengths will appear here, rounded to 4 decimal places.

Start with the length you know

The key is choosing what your number means. A total of 100 gives a different answer from a longer part of 100. Use Known length type to make that choice before you calculate.

Enter 100 in each mode to see the difference. Values are rounded to 4 decimal places.
If 100 is your…ChooseOther lengths
Whole length to splitTotal length (A + B)A = 61.8034; B = 38.1966
Larger of two partsLonger segment (A)B = 61.8034; total = 161.8034
Smaller of two partsShorter segment (B)A = 161.8034; total = 261.8034
  1. Choose the known length type, then enter a whole number or decimal greater than zero.
  2. Optionally select mm, cm, m, in, or ft. For pixels or another unit, choose No unit and read every result in the same unit as your input.
  3. Select Calculate. The results identify your starting value and show the other two lengths. Select Reset to start over.

Units label the numbers; they do not convert them. Entering 24 and selecting in means 24 inches. Changing that label to cm does not convert 24 inches to centimeters.

Find golden rectangle dimensions from one side

A golden rectangle has a longer side about 1.618 times its shorter side. You can use this calculator to find either side: treat the longer side as A and the shorter side as B.

Width does not always mean the longer side. An 800px-wide landscape image and an 800px-wide portrait image need different heights.

Two golden rectangles with the same 800px width. Choose No unit for these pixel values.
Shape you wantChoose and enterUse this result as the height
Landscape: width is the longer sideLonger segment (A) = 800Shorter segment B = 494.4272px
Portrait: width is the shorter sideShorter segment (B) = 800Longer segment A = 1294.4272px

The same approach works from a known height: decide whether it is the longer or shorter side, select that mode, and use the other segment as the width. For a rectangle, A and B are the two side lengths; A + B is their sum, not the perimeter.

Put the dimensions to work

Website layout: leave room for the gutter

For a 1200px container with a 24px gap between the content and sidebar, split the space left after the gap. The width to enter is 1200 − 24 = 1176.

  1. Choose Total length (A + B), enter 1176, and leave the unit as No unit.
  2. Select Calculate: the main column is 726.8080px and the sidebar is 449.1920px.
  3. Round to 727px and 449px if you need whole pixels. With the 24px gap, they add up to 1200px.

Subtract the gutter yourself before calculating. Check that the sidebar is wide enough for its content before committing to those dimensions.

Woodworking: size a tabletop from its width

Suppose a tabletop needs to be 24 inches wide and you want its length in golden proportion. Treat the width as the shorter side.

  1. Choose Shorter segment (B), enter 24, and select in.
  2. Select Calculate and use the longer segment: 38.8328 inches.
  3. For a tape measure marked in sixteenths, the nearest mark is 38 13/16 inches. That rounded length is an approximation.

The tool returns decimal inches; convert them to tape-measure fractions separately. Use the proportion to sketch the overall shape, then account for the base, overhang, materials, and space available.

The golden ratio formula: when to multiply or divide

The golden ratio, also called the golden mean or golden section, is the number phi (φ), approximately 1.6180339887. For a longer part A and a shorter part B, the relationship is A / B = (A + B) / A = φ.

To move from the shorter part to the longer part, multiply by φ. To move from the longer part to the shorter part, divide by φ. Splitting a total is a separate calculation.

Formulas used for each known length. T is the total, A + B.
You knowLonger part AShorter part BTotal T
AYour inputA ÷ φA × φ
BB × φYour inputB × φ²
TT ÷ φT ÷ φ²Your input

Why the split is 61.8% and 38.2%

The longer part is 1 / φ of the total, or about 61.8034%. The shorter part is 1 / φ² of the total, or about 38.1966%. Together they make 100%. The number 1.618 compares the longer part with the shorter part; it is not a percentage of the whole.

The exact expression for φ is (1 + √5) / 2. The calculator uses a longer decimal value internally and rounds displayed lengths to 4 decimal places, so adding rounded results can occasionally differ from the total by 0.0001.

Golden ratio calculator FAQ

How do I split a length in the golden ratio?

Choose Total length (A + B) and enter the full length you want to divide. For a total of 100, the longer part is 61.8034 and the shorter part is 38.1966. Both results use the same unit as your input.

Can I check whether two numbers are in the golden ratio?

To check an existing pair, divide the larger number by the smaller number, using the same unit for both. A result close to 1.6180339887 is close to the golden ratio. This tool accepts one known value and calculates its matching lengths; it does not compare two entered measurements.

Can I enter fractions, commas, or scientific notation?

Enter a positive whole number or decimal with a period as the decimal separator. Use 12.5 for 12 1/2, and enter 1200 without a thousands separator. Fraction notation such as 1/2 and scientific notation such as 1e3 are not accepted.

Can I use the calculator for inches, centimeters, or pixels?

Yes. Select in for inches or cm for centimeters; mm, m, and ft are also available. For pixels, choose No unit and treat the results as pixels. Keep the same unit throughout a calculation. For a conversion between units, use the unit converter.

Can I calculate golden ratio font sizes?

You can calculate one size relationship by entering a base size as Shorter segment (B). For example, 16 gives a larger size of 25.8885. This page does not generate a full type scale, recommend line heights, or export CSS. Preview any sizes in your actual font and layout before using them.

Does this tool draw a golden rectangle or spiral?

The illustration above shows how the golden split works. The calculator returns lengths; it does not draw a rectangle or spiral from your input, overlay a grid on a photo, or crop an image. You can use A and B as rectangle dimensions in your design tool. For other image proportions, try the aspect ratio calculator.

Is the golden ratio the same as the Fibonacci sequence?

No. The golden ratio is a constant; the Fibonacci sequence is a series in which each number is the sum of the previous two. Ratios of consecutive Fibonacci numbers approach φ: 34 / 21 is about 1.6190, while 89 / 55 is about 1.6182. This calculator uses φ directly rather than generating a sequence.

Is the golden ratio always the best proportion?

It is one option for setting proportions. In a website, content and readability may call for a wider sidebar or a smaller jump between font sizes. In furniture, fit and function may set the dimensions. Start with the calculated relationship and adjust it to suit the job.

Have a measurement in mind?

Choose the length you know and calculate the matching golden proportions.

Calculate dimensions

Free to use. No sign-up.