Typographic Modular Scale
Computes typographic modular scale using Fibonacci or golden ratio from body text.
—
Modular scale typography
Think of a modular scale as a series of font sizes where each step is the previous one times some fixed ratio: sizeₙ = base × ratioⁿ. Start at 16px with a ratio of 1.25 and the sequence runs 16, 20, 25, 31.25, 39.0625… The sizes relate to one another the way musical intervals do, and that is a big part of why they feel harmonious. Robert Bringhurst argued for the approach in The Elements of Typographic Style, and Tim Brown's Type Network tools later brought it to the web.
Most of the ratios you'll run into take their names from music. There's Minor Third 1.2, Major Third 1.25, Perfect Fourth 1.333, Augmented Fourth 1.414 and Perfect Fifth 1.5, along with the Golden Ratio φ = 1.618. Type Scale (type-scale.com), Modularscale.com and Utopia ship with these presets, so you can try a scale out before committing to it.
Applications
In a dense interface that stacks a lot of heading levels, keep the ratio tight, somewhere around 1.2–1.25. Marketing pages flip the logic, since the headline needs to own the hero, so a wider 1.414–1.618 earns its keep. The scale doesn't have to stop at type either. Run it through spacing, line-height and component sizes and the same rhythm carries across the whole design system.
FAQ
Which ratio should I pick? SaaS dashboards tend to work well at 1.2–1.25, which keeps the hierarchy compact. Editorial work and landing pages do better at 1.333–1.5, where the headlines get room to breathe. Whatever you pick, test it in context first.
How many steps do I need? Six to eight is usually enough for h1…h6, body and small. If you need sizes for captions and legal copy, generate another two or three below the base.
Why is φ popular? The golden ratio (1.618) opens up dramatic jumps between sizes. Great for editorial design, but in a UI it can come off as overdone, which is why a lot of designers settle on Perfect Fourth (1.333) instead.
Related Tools
Blow-Up Ratio (Blown Film)
Calculate the blow-up ratio (BUR) in blown-film tubular extrusion, BUR = D_bubble ÷ D_die, from the film bubble diameter D_bubble and the annular die diameter D_die. Blown-film extrusion makes most of the world's plastic films (bags, packaging, sacks, sheeting): the melt is extruded through an annular die forming a tube, which is then INFLATED with compressed air like an elongated balloon and pulled upward at once, stretching the film in two directions to its final thickness (a few micrometres). The blow-up ratio is how much the tube is inflated relative to the die diameter — typically 1.5:1 to 4:1. It controls molecular orientation in the TRANSVERSE (circumferential) direction: a higher BUR stretches the film more in width, balancing its properties in both directions (transverse by blowing and longitudinal by pulling). The balance between blow-up and draw (pulling) sets the biaxial orientation, which determines the film's strength, stiffness, clarity and tear behavior. Adjusting BUR is a main control variable in making blown films with the desired properties. Enter the bubble diameter and the die diameter.
VSWR (Standing Wave Ratio)
Calculate the voltage standing wave ratio (VSWR), VSWR = (1 + |Γ|) ÷ (1 − |Γ|), from the magnitude of the reflection coefficient |Γ|. The result (dimensionless, expressed as X:1) measures how well an antenna or load is matched to the transmission line: VSWR = 1:1 is a perfect match (all power delivered); higher values mean part of the wave is reflected back, forming standing waves that reduce efficiency and may damage the transmitter. Typically VSWR up to 1.5:1 or 2:1 is acceptable. Enter the magnitude of the reflection coefficient.
Modular Exponentiation Calculator
Calculate modular exponentiation (b to the power e, modulo m) fast with the square-and-multiply method. Essential in RSA cryptography and number theory.
Film ISO Light Speed Relation
Calculates equivalent shutter speed when changing film ISO.
Pilling-Bedworth Ratio (PBR)
Calculate the Pilling-Bedworth ratio, PBR = (M_oxide × ρ_metal) ÷ (n × M_metal × ρ_oxide), comparing the volume of oxide formed with the volume of metal consumed in oxidation. The dimensionless result predicts whether the oxide layer protects the metal: PBR < 1 gives a porous, non-protective oxide (continuous oxidation, as in alkali metals); 1 < PBR < 2 forms an adherent, protective layer (aluminium and chromium, the basis of passivation); PBR > 2 produces an oxide under compression that tends to crack and spall. Enter the molar masses, densities and the number of metal atoms per oxide molecule.
Carb/Insulin Ratio (ICR) and Insulin Sensitivity Factor (ISF)
Computes ICR (rule of 500/450) and ISF (rule of 1800/1500) from your Total Daily Dose (TDD). Estimates meal bolus and correction from carbs, current BG and target.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.