Calculators
Golden ratio rectangle calculator
Enter one side of a golden rectangle to get the other side. For the long side, keep Known length on Whole (a + b). For the short side, choose Longer part (a). The result gives both sides to 12 significant digits and, in pixels, a rounded size. It calculates in your browser.
Your measurement
Choose what you know and enter a value.
Loading calculator…
The exact relationship
φ = (1 + √5) / 2
(a + b) / a = a / b = φ
φ ≈ 1.61803398875. Finite decimal values are approximations.
Your golden ratio
Select Calculate to find the whole and its two parts.
Decimal estimates · 12 significant digits
- Whole (a + b)
- Longer part (a)
- Shorter part (b)
Diagrams show ideal proportions at screen scale, not actual-size measurements.
Rounded pixel layout
Select result text
How to find the other side of a golden rectangle
A golden rectangle has a long side about 1.618 times its short side. The form treats the long side as a length split into two parts, so its labels name the parts of that length. Pick the option that matches the side you know.
- If you know the long side, leave Known length on Whole (a + b). If you know the short side, choose Longer part (a).
- Type the side in Value, such as 1000 or 8.5. Use a decimal point and no commas.
- Choose a Unit. Pixels (px) adds a rounded size in whole pixels, and the other units only label the numbers.
- Select Calculate. Under the result, the rectangle line reads long side × short side, such as 1000 × 618.03398875 px.
The page opens on a long side of 1000 px, and Reset returns to it. Copy results and Download text keep the whole report.
Which result is which side
The result has three lines. In a golden rectangle they mean the following, shown here for a long side of 10.
| Result line | Side of the golden rectangle | Long side 10 |
|---|---|---|
| Whole (a + b) | The long side | 10 |
| Longer part (a) | The short side | 6.1803398875 |
| Shorter part (b) | Long side minus short side | 3.8196601125 |
The third line has its own meaning. Cut a square with sides a from one end of the rectangle, and a strip b wide and a long is left. That strip is a golden rectangle too, because a / b is also φ.
For a long side of 1000, the square is 618.03398875 on each side and the strip is 381.96601125 by 618.03398875. Enter 618.03398875 as a new Whole to get the next square, 381.96601125. Repeating the cut is how a golden spiral is built, one quarter circle per square. The calculator gives the sizes but does not draw the spiral.
Golden rectangle sizes
The calculator worked out this table with the same formulas as the form, to 12 significant digits. Find the side you know in the first column. The middle column is the short side when that number is the long side. The last column is the long side when that number is the short side.
| Known side | Short side, if the known side is long | Long side, if the known side is short |
|---|---|---|
| 1 | 0.61803398875 | 1.61803398875 |
| 2 | 1.2360679775 | 3.2360679775 |
| 3 | 1.85410196625 | 4.85410196625 |
| 4 | 2.472135955 | 6.472135955 |
| 5 | 3.09016994375 | 8.09016994375 |
| 6 | 3.7082039325 | 9.7082039325 |
| 8 | 4.94427191 | 12.94427191 |
| 10 | 6.1803398875 | 16.1803398875 |
| 12 | 7.416407865 | 19.416407865 |
| 16 | 9.88854382 | 25.88854382 |
| 20 | 12.360679775 | 32.360679775 |
| 24 | 14.83281573 | 38.83281573 |
| 36 | 22.249223595 | 58.249223595 |
| 100 | 61.803398875 | 161.803398875 |
The numbers hold in any unit. A long side of 24 in gives a short side of 14.83281573 in, and a short side of 24 cm gives a long side of 38.83281573 cm.
Area, perimeter and diagonal
The form returns the two sides only. It does not compute the area, the perimeter or the diagonal, but each follows from the two sides it gives.
- Area = long side × short side, which is also short side × short side × φ.
- Perimeter = 2 × (long side + short side).
- Diagonal = √(long side² + short side²).
For a long side of 1000 and its short side of 618.03398875, the area is 618,033.98875, the perimeter is 3,236.0679775 and the diagonal is 1,175.57050459. For a short side of 10, the long side is 16.1803398875, the area 161.803398875, the perimeter 52.360679775 and the diagonal 19.0211303259.
The area of any golden rectangle is the square on its long side divided by φ, or about 61.8% of that square. Area units are the square of the side unit, so sides in cm give an area in square centimeters.
Golden rectangles in pixels
With Pixels (px) as the unit, the result adds a Rounded pixel layout. The long side and the short side each round to the nearest whole pixel, with ties rounding up. These are the sizes for common widths, entered as Whole (a + b):
- 1920 px wide: 1920 × 1187 px.
- 1440 px wide: 1440 × 890 px.
- 1280 px wide: 1280 × 791 px.
- 1080 px wide: 1080 × 667 px.
For a portrait image, the width is the short side. Choose Longer part (a) and type 1080 to get 1747 × 1080 px, which you then use as 1080 wide by 1747 tall.
Whole pixels cannot hold φ exactly, so the tool prints the real ratio of each rounded size. For 1920 × 1187 px, it is about 1.61752316765. A long side of 1 px gets no two-part pixel layout: the rectangle's short side rounds to 1 px, leaving a zero-pixel strip.
Limits
The calculator starts from one side. It cannot start from an area, a perimeter or a diagonal, and it does not return them. Use the formulas above or the area answer under Questions.
Units are labels only. Choosing Inches (in) after typing a value in centimeters does not convert it, so type the side in the unit you want back. The value must be a positive number without commas or unit letters; zero, negative numbers and text show an error.
The diagrams under the result show the proportions at screen scale, not at the real size. The tool does not draw a rectangle or a spiral over a photo, and it does not crop or resize an image; it gives the sizes to use in another tool. Results show 12 significant digits, since φ is irrational and no finite decimal is exact.
Questions
What is the formula for the golden rectangle?
A rectangle is golden when long side / short side = φ, and φ = (1 + √5) / 2, about 1.61803398875. So the short side is the long side / φ, and the long side is the short side × φ. The calculator uses exactly these two formulas, one for Whole (a + b) and one for Longer part (a).
How do I calculate a golden ratio rectangle?
Multiply the side you know by 1.618 for the long side, or divide it by 1.618 for the short side. A short side of 10 in gives a long side of about 16.18 in. On this page, choose Longer part (a), type 10, pick Inches (in) and select Calculate to get 16.1803398875 in.
What are the length and width of a golden rectangle?
Any length works, as long as the width is the length divided by φ. A 10 by 6.18 rectangle and a 1920 by 1187 pixel image are both golden, up to rounding. The size is free and only the proportion is fixed: the width is about 61.8% of the length.
Is a Fibonacci rectangle a golden rectangle?
Not exactly. A rectangle with two neighboring Fibonacci numbers as sides, such as 8 by 5 or 13 by 8, comes close to φ without reaching it: 8 / 5 is 1.6 and 13 / 8 is 1.625. The gap shrinks as the numbers grow, and 144 by 89 misses φ by about 0.0035%.
How do I find the sides from an area, such as square feet?
The form takes a side, not an area. Divide the area by φ and take the square root to get the short side. For 100 square feet, that is 7.86151377757 ft. Then choose Longer part (a), type that value with No specific unit and select Calculate: the long side is 12.7201964951 ft.