Generators · Tool
CSS Clamp Calculator
Enter minimum and maximum viewport widths and font sizes, plus the root font size.
How to use it
- Enter minimum and maximum viewport widths and font sizes, plus the root font size.
- Run the tool, then copy the result if needed.
How it works
The output grows linearly between the selected widths and uses the minimum and maximum sizes outside that range.
Use it for
- Set a fluid heading size that has defined mobile and desktop bounds.
Questions
Does this run locally?
Yes. This tool processes its inputs in your browser.