Responsive Font Calculator
Fluid font-size scaling across viewports using CSS clamp() with a live viewport preview slider.
clamp(1.125rem, 0.7826rem + 1.5217vw, 2rem)At 360px: 18px·At 1280px: 32px
The quick brown fox jumps over the lazy dog
Runs in this browser. Nothing is uploaded.
How to use Responsive Font Calculator
Specify minimum mobile size, maximum desktop size, viewport breakpoints, and root font size.
Scrub the Preview viewport slider to read live body copy at mobile, tablet, and desktop widths.
Copy the complete font-size: clamp(...) declaration.
Frequently asked questions
Why combine rem and vw inside clamp()?
Adding rem alongside vw preserves browser user zoom accessibility while allowing smooth fluid scaling.