Laying out a page and its headings with the golden ratio
Take a blog layout 960px wide with a main column and a sidebar. Splitting it in the golden ratio means dividing 960 by φ, 1.618, which gives 593.31px for the main column. The sidebar gets the remaining 366.69px. The two parts relate to each other as the whole relates to the main column: 960 divided by 593.31 and 593.31 divided by 366.69 are both 1.618. That self-similarity is the whole idea of the ratio.
In practice there is a gutter between the columns, say 32px. One honest way to keep the proportion is to split the space after the gutter: 928px split gives 573.5px and 354.5px. Another is to split the full 960px and take 16px off each side of the line. The difference is small, a few pixels, and no reader will measure it. What they will notice is that the sidebar is clearly secondary without looking cramped, which is what the ratio is good at.
The same number can set the type. With 16px body text, one step up by φ is 25.89px, a good size for section headings. Two steps up is 41.89px, a large post title. Three steps is 67.78px, which suits a landing page headline and little else. One step down is 9.89px, too small for most reading, so a golden type scale usually has no steps below the body. If you want gentler steps, the Type Scale Generator offers smaller ratios such as 1.25.
φ also turns up in shapes. A golden rectangle has sides in the ratio 1 to 1.618, so a card 300px wide and 185.41px tall is golden, as is one 485.41px wide and 300px tall. Cut a square off a golden rectangle and what is left is another golden rectangle, which is where the familiar spiral comes from. The Times φ and Divided by φ rows give these sides for any length you type.
The calculator has limits. It does arithmetic, and the golden ratio is one proportion among many; a 2:1 or 3:2 split can suit a layout just as well. The values are rounded to two decimals, and browsers place fractional pixels in their own way. The type scale assumes a 16px root when it shows rem. And the page cannot tell you whether a design looks good, only whether it follows the ratio.