Fluid clamp() calculator

Linearly scale a CSS value between two viewport widths, then clamp it with min and max. Handy for responsive font-size (fluid typography).

Preview

The quick brown fox jumps over the lazy dog.

Try it with this example

Set min/max font size in px and two viewport widths; copy the generated font-size: clamp(...) rule.

What is this tool?

How do I use CSS clamp() for font size? Build a fluid font-size rule that scales between a minimum and maximum pixel size across two viewport widths. Copy-ready clamp() with calc(). All client-side.