Rather than randomly choosing arbitrary font sizes like 14px, 19px, 23px, and 37px, typography systems use a modular scale—a sequence of font sizes generated by multiplying a base size (usually 16px) by a fixed mathematical ratio.
Common Modular Scales:
Level 3 · Design Tokens & Foundations