Adjust the settings and inspect the live result and working.
Copy the result or save a local report.
What the inputs mean
Minimum viewport (px)
Enter minimum viewport (px). Minimum: 1.
Maximum viewport (px)
Enter maximum viewport (px). Minimum: 1.
Minimum font size (px)
Enter minimum font size (px). Minimum: 0.01.
Maximum font size (px)
Enter maximum font size (px). Minimum: 0.01.
Root font size for rem (px)
Enter root font size for rem (px). Minimum: 0.01.
A WORKED STARTING POINT
See the working.
Inputs used in this example
These are example values, not a current price, tariff or personal recommendation. Reset example restores them in the workspace.
Input
Example value
Minimum viewport (px)
320
Maximum viewport (px)
1440
Minimum font size (px)
16
Maximum font size (px)
32
Root font size for rem (px)
16
CSS fluid size
clamp(1rem, 0.714286rem + 1.428571vw, 2rem)
font = minimum font + (maxFont−minFont) × (viewport−minViewport)/(maxViewport−minViewport)
rem values assume a 16px root size. Test user font overrides and zoom before applying. The viewport term only interpolates between the selected bounds.
Your inputs stay here
Your input is processed on this device. PixelDesk does not upload it to a calculation or file-processing server. Copying and downloading are deliberate actions. Closing the page clears the in-memory inputs; the app remembers only its theme and public reference-rate cache.
Generate a CSS clamp interpolation between viewport and pixel font-size endpoints.
What does the fluid css type scale example show?
With Minimum viewport (px): 320; Maximum viewport (px): 1440; Minimum font size (px): 16, the example returns clamp(1rem, 0.714286rem + 1.428571vw, 2rem). The workspace shows the substituted formula and its assumptions; Reset example restores these inputs.
What should I check before using the result?
rem values assume a 16px root size. Test user font overrides and zoom before applying. The viewport term only interpolates between the selected bounds.