Black Friday −30%: every font $4.89 · or all 59 for $39.99 Get the bundle
Free tool · Type & CSS

Fluid Type clamp() Calculator

Calculate the exact CSS clamp() for fluid typography, with a live preview on a resizable screen and a size graph.

Min font size36px
Max font size96px
Min screen375px
Max screen1440px
Root size16px
h1 { font-size: clamp(2.25rem, 0.9296rem + 5.634vw, 6rem); }
Pretend screen width900px
900px screen → 65.6px text
Fits every screen
048096014401920

How to use it

  1. Enter the smallest and largest font size you want.
  2. Enter the screen widths where they should apply.
  3. Drag the pretend screen to check every size in between.
  4. Copy the clamp() value into your CSS.

Questions

How does clamp() work?

clamp(min, preferred, max) keeps a value between a minimum and a maximum; a vw-based preferred value scales with the screen.

Fonts that shine here

Try these in the tool above, or open them to type your own words.

Noctile Ultra-Wide Neo-Grotesk font preview
New−30%
Noctile
Ultra-Wide Neo-Grotesk
$4.89$6.99
Aerovant Wide Sci-Fi font preview
−30%
Aerovant
Wide Sci-Fi
$4.89$6.99
Kyronex Futuristic Display font preview
−30%
Kyronex
Futuristic Display
$4.89$6.99

More free tools