◈Free
Fluid font clamp calculator
Interpolate font size between two viewport widths.
Interpolate font size between two viewport widths. Choose minimum and maximum font sizes and viewport widths to calculate a bounded linear rule. Output combines a fixed pixel term with vw inside a clamp expression.
How to use
- Enter your text, values, or image.
- Adjust the options and run the tool.
- Copy or download your result.
Worked example
Example input
Minimum font px: 16 Maximum font px: 24 Minimum viewport px: 320 Maximum viewport px: 1280
Example result
font-size: clamp(16px, 13.3333px + 0.8333vw, 24px);
Limitations and details
This generates pixel-based bounds, not an accessibility review; test zoom, user font settings and real text wrapping before deployment.
Inputs and options
- Minimum font px
- Number · Minimum: 1 · Maximum: 500
- Maximum font px
- Number · Minimum: 1 · Maximum: 500
- Minimum viewport px
- Number · Minimum: 1 · Maximum: 10000
- Maximum viewport px
- Number · Minimum: 1 · Maximum: 10000
Frequently asked questions
Is this tool free and private?
Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.