Fluid Font Size clamp() Generator
Create a font-size clamp() that scales smoothly between phones and large screens.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Use this when building a landing page or sales blog where headings should grow and shrink with the screen, without writing separate media queries for phones, tablets and desktops.
The output uses rem plus vw, calculated from the root font size you enter (16px by default). Drag the screen-width slider to see the actual size at each width before pasting it into your CSS.
How to use
- Enter a number or choose an option.
- Read the result and the preview.
- Click copy.
Frequently asked questions
Is the data I enter sent anywhere?
No. All calculations and processing run in JavaScript right in your browser. Takikit has no server that receives data, and you can turn off your internet after opening the page and the tool will still work.
Related tools
More Design tools
Spacing Scale GeneratorCreate an even set of spacing values for a design system and export CSS variables.Vietnamese Font PreviewerPreview Vietnamese text with diacritics using fonts on your computer or your own font file.Golden Ratio CalculatorSplit sizes by the golden ratio 1.618 for layouts, logos and content columns.Font Pairing ToolTry heading and body font pairs, see them on a sample article, and get the CSS code.8px Grid RounderRound spacing and sizes to multiples of 8 (or 4) for an even interface.Noise Texture PNG GeneratorCreate a colored grain image or a transparent overlay for backgrounds and textures.
See all design tools