Font Size Calculator
Generate CSS clamp() fluid typography values for responsive font sizes.
Sobre esta ferramenta
Calculate perfect fluid typography using CSS clamp(). Enter a minimum and maximum font size along with the viewport width range where the font should scale, and the tool generates the exact clamp() expression ready to paste into your stylesheet. A live preview shows how the text scales across breakpoints from 320px to 1920px. The tool also generates a complete fluid type scale (xs through 4xl) using your chosen modular ratio, so you can establish a consistent typographic system in seconds. Includes a breakdown of the vw-based formula used inside the clamp().
Como usar
- 1 Enter the minimum font size (in px) for small screens.
- 2 Enter the maximum font size (in px) for large screens.
- 3 Set the minimum viewport width where scaling begins.
- 4 Set the maximum viewport width where scaling ends.
- 5 Copy the generated CSS clamp() value.
- 6 Scroll down to see the full fluid type scale based on your modular ratio.
Perguntas frequentes
Verifique as taxas de contraste WCAG 2.1 para pares de cores de primeiro plano/fundo e obtenha resultados de aprovação/reprovação instantaneamente.
Crie valores de box-shadow CSS visualmente com prévia ao vivo — suporta múltiplas camadas.
Crie visualmente gradientes CSS lineares e radiais e copie a propriedade CSS pronta para uso.