CSS Fluid Size Calculator
Generate a fluid CSS clamp value between two sizes at chosen viewport widths.
Live preview
How to use
Enter minimum and maximum sizes and their corresponding viewport widths.
The preview and code update as you edit.
Copy the code or save it as a file.
FAQ
What rules does this tool use?
Linear interpolation creates a px + vw preferred value, capped by the minimum and maximum.
What are the limits?
Output uses pixels and viewport width. It does not replace accessibility checks for zoom and text sizing.
Are my inputs uploaded?
Tool inputs are processed in your browser. Advertising makes separate requests as described in the privacy policy.