Free Typography Tools
Responsive Font & CSS Clamp Calculator
Generate a fluid CSS clamp value between chosen type sizes and viewport widths.
What this tool does
Create fluid type that stops at deliberate limits.
The calculator derives a CSS clamp expression between chosen minimum and maximum sizes across two viewport widths.
The result grows linearly inside the range while preventing type from becoming smaller or larger than the specified limits.
Use the tool
Generate a responsive CSS clamp
Set type and viewport boundaries, preview the result, and copy the CSS.
Define a fluid type range
Fluid CSS value
font-size: clamp(18px, 8.000px + 3.125vw, 48px);Fluid type follows the viewport.
How to use it
Three quick steps
- 1Choose minimum and maximum font sizes.
- 2Enter the viewport widths where scaling should begin and end.
- 3Copy the clamp value and test wrapping at real breakpoints.
Worked example
Scale a page heading
Grow from 18px at 320px to 48px at 1280px.
FAQ
Questions about the responsive font calculator
Practical details about using the tool and understanding its result.
Keep working
Related tools
Type Scale Calculator
Generate a modular typography scale in pixels and rems from a base size and ratio.
Open toolLine Height Calculator
Convert a font size and unitless multiplier into pixel and rem line-height values.
Open toolResponsive Breakpoint Preview
Load a public page into adjustable mobile, tablet, laptop, and desktop viewport frames.
Open toolFrom one asset to the whole workflow
Carry responsive type decisions into implementation without losing their rationale.
Draftroom keeps projects, creative files, feedback, revisions, and approvals connected in one workspace.