{"inline_daily":{"golden-ratio-calculator":{"1_calculation_dimension":"1. Calculation Dimension","2_modular_typography_scale":"2. Modular Typography Scale","base_body_font_size":"Base Body Font Size","css_grid_flexbox_snippet":"CSS Grid & Flexbox Snippet","golden_ratio":"Golden Ratio","golden_ratio_breakdown":"Golden Ratio Breakdown","major_a_61_8":"Major A (61.8%)","major_part_a":"Major Part (A)","major_section_a":"Major Section (A)","minor_b_38_2":"Minor B (38.2%)","minor_part_b":"Minor Part (B)","minor_section_b":"Minor Section (B)","the_ratio_of_the_whole_to":"The ratio of the whole to the larger part equals the ratio of the larger part to the smaller part.","total_a_b":"Total (A+B)","total_dimension":"Total Dimension","total_size_a_b":"Total Size (A+B)","unit":"Unit","part_a_x":"Part A ({{value}}%)","part_b_x":"Part B ({{value}}%)","level_display":"Display heading (H1)","level_h1":"Heading H1","level_h2":"Heading H2","level_h3":"Heading H3","level_lead":"Subhead / lead","level_body":"Body text (p)","level_caption":"Small text / caption"}},"docs_daily":{"tools":{"golden_ratio":{"content":{"title":"Golden ratio φ: 61.8 / 38.2% sections and a typographic scale","intro":"The golden ratio is φ = (1 + √5) ÷ 2 ≈ 1.618. To split a length, the major section is total ÷ φ (61.8%) and the minor one the remainder (38.2%): 1,000 px give 618.03 px and 381.97 px. The tool also derives a font-size scale from a 16 px base.","details":"

Formulas

Typographic scale

Each level multiplies the base size by a power of φ, rounded to the pixel: φ2.5 for the display heading, φ2 for H1, φ1.5 for H2, φ for H3, φ0.5 for the lead, 1 for body text and 1 ÷ φ for captions. The rem equivalent is the size divided by the base.

Worked example

A 1,000 px width: main content of 618.03 px and a sidebar of 381.97 px. With a 16 px base, the scale gives 53, 42, 33, 26, 20, 16 and 10 px. Fibonacci numbers (…, 34, 55, 89, 144…) converge on φ: 144 ÷ 89 = 1.6180.

Limits

"}},"golden-ratio-calculator":{"faqs":[{"question":"How do I split a width using the golden ratio?","answer":"Divide the width by 1.618 to get the larger part, then subtract it from the total for the smaller one. For 1,200 px: 741.6 px and 458.4 px, i.e. 61.8% and 38.2%."},{"question":"What is the exact value of the golden ratio?","answer":"φ = (1 + √5) ÷ 2 = 1.6180339887… It is the only positive number whose reciprocal equals itself minus 1: 1 ÷ φ = 0.618."},{"question":"How is the Fibonacci sequence related to the golden ratio?","answer":"The ratio between two consecutive terms of the sequence (1, 1, 2, 3, 5, 8, 13…) tends towards φ. By 89 and 144 it is 1.6180, correct to the fourth decimal place."},{"question":"What heading size does a φ-based scale give?","answer":"With 16 px body text, an H3 is 16 × 1.618 ≈ 26 px and an H1 16 × 1.618² ≈ 42 px. With 18 px body text, the H1 reaches 47 px."}]}}}}