Modular Fluid Typography Scale Generator

Compute balanced heading and body sizes using classic typographic ratios and export CSS clamp() custom properties.

text-4xl48.8px (3.050rem)
text-3xl39.1px (2.444rem)
text-2xl31.3px (1.956rem)
text-xl25px (1.563rem)
text-lg20px (1.250rem)
text-base16px (1.000rem)
text-sm12.8px (0.800rem)
text-xs10.2px (0.637rem)

Common questions

Which type ratio works best for compact business sites?

Minor Third (1.2) or Major Third (1.25) keeps desktop H1s punchy without pushing key content off the screen.

What base body font size should I use?

16px (1rem) is the accessibility standard for comfortable reading on both phones and desktops.