Tested tool guide
Tested browser tools
Checked August 16, 2026
What Fluid Typography Calculator does, with a checked example
Give it four numbers - the smallest and largest font size you will accept, and the viewport widths at which each applies - and this tool returns a single CSS clamp() expression that scales the type linearly between those two viewport limits and holds it constant beyond them. The middle argument pairs a viewport-based rate with a fixed offset, which is why the output mixes units. The common surprise: this is straight-line interpolation, not easing, and the line is only as good as the four numbers you choose.
Worked example
A concrete input and expected output from the current implementation.
Input
Min font: 16px | Max font: 24px | Min viewport: 375px | Max viewport: 1440px
->
Expected output
clamp(16px, 0.7512vw + 0.8239rem, 24px)
The slope between the two points is (24px - 16px) / (1440px - 375px) = 8px / 1065px = 0.007512 px of font per px of viewport, written 0.7512vw. The offset is chosen so the line equals 16px at 375px: 16 - 0.007512 x 375 = 13.1831px, or 0.8239rem at 1rem = 16px. At 1440px the line reaches 0.007512 x 1440 + 13.1831 = 24.0px, and clamp() holds the min and max beyond those widths.