Golden Ratio Calculator
Split any length by the golden ratio. Enter the whole, the longer part, or the shorter part, and get the other two plus the ratio.
The value you have is the
Any positive number, with or without decimals. The unit is up to you: pixels, points, ems, or plain numbers.
Golden-ratio split
Everything is calculated in your browser. Nothing is uploaded.
How to calculate the golden ratio
Choose which part
Pick whether the value you have is the whole, the longer part, or the shorter part.
Enter your value
Type a single positive number in the field, using decimals if you need them.
Read the split
The whole, longer part, shorter part, and the phi ratio update as you type.
Copy the result
Use the copy button to put the full breakdown on your clipboard.
Why use this tool
Solve from any part
Enter the whole, the longer part, or the shorter part, and the other two values are worked out from phi.
Fixed golden proportion
The longer part is always about 61.8 percent of the whole and the shorter part about 38.2 percent, the defining split of the golden ratio.
Built for type and layout
Start from a base font size or a container width to size a modular scale or place a golden division in a design.
Any unit, whole or decimal
Values can be pixels, points, ems, or plain numbers, with or without decimals. The tool works with the number and leaves the unit to you.
Instant, no run button
Every change recalculates immediately, so the parts and the ratio update the moment you type.
Runs entirely in your browser
Every calculation happens on your device. Nothing you type is uploaded.
About this tool
The golden ratio, written with the Greek letter phi, is about 1.618. It describes a split where the whole relates to the longer part exactly as the longer part relates to the shorter one. This calculator takes a single length and works out that split for you. Enter the whole, the longer part, or the shorter part, and it fills in the other two along with the ratio itself.
Designers reach for it when sizing type, spacing columns, or proportioning a layout. Start from a container width to find where a golden division falls, or start from a base font size to derive the next step in a modular scale. Values can be whole numbers or decimals, in whatever unit you like: pixels, points, ems, or centimetres. The tool only needs the number, and it updates the moment you type. For reducing or solving any ratio, use the ratio calculator, and for screen and image proportions the aspect ratio calculator solves a missing width or height.
Because the ratio is fixed at phi, the longer part is always about 61.8 percent of the whole and the shorter part about 38.2 percent, whichever value you start from. Empty fields, zero, negatives, and text that is not a number are caught with a short message rather than a broken result, and everything is calculated on your device with nothing uploaded.
Frequently asked questions
- What is the golden ratio?
- The golden ratio, phi, is about 1.618. A length is split so the whole is to the longer part as the longer part is to the shorter part. That single proportion is what this tool applies.
- How do I use one value to get the others?
- Choose whether your number is the whole, the longer part, or the shorter part, then type it. The calculator multiplies or divides by phi to fill in the remaining two values and the ratio.
- Can I enter decimals or any unit?
- Yes. Any positive number works, with or without decimals, in whatever unit you have in mind such as pixels, points, or ems. The tool works with the number and leaves the unit to you.
- Why are the parts always about 61.8 and 38.2 percent?
- Because the ratio is fixed at phi, the longer part is always about 61.8 percent of the whole and the shorter part about 38.2 percent, no matter which value you start from.
- What happens with empty or invalid input?
- Empty fields, zero, negative numbers, and text that is not a number show a short message instead of a result, so you never see a broken or misleading answer.
- Is my data uploaded anywhere?
- No. Everything runs in your browser; nothing is sent to a server.
Related tools
Ratio Calculator
Reduce a ratio to lowest terms, or solve a proportion for the one value you are missing.
Aspect Ratio Calculator
Solve the missing width or height for any aspect ratio, from 16:9 to a custom shape.
CSS Clamp Calculator
Generate a responsive CSS clamp() for fluid type and spacing that scales smoothly between a min and a max size.
401(k) Calculator
Project your 401(k) balance at retirement from your contributions, employer match, and expected return, year by year.
Amortization Schedule Calculator
Build a full payment-by-payment schedule for any fixed-rate loan, with the payoff date and the interest you save by paying extra.
APY Calculator
Turn a nominal rate and compounding frequency into the true annual percentage yield, project a balance, or reverse solve the rate.