Nutter Tools
Nutter Tools

A free toolbox that runs in your browser. A tool for every job.

Your files never leave your device

Images

  • Convert images
  • Compress images
  • Resize images
  • Crop
  • Watermark

PDF & files

  • Merge PDFs
  • Split a PDF
  • Images to PDF
  • PDF to images
  • Remove photo location

Video & audio

  • Compress video
  • Convert video
  • Video to GIF
  • Convert audio
  • Trim audio

Everyday

  • QR codes
  • Passwords
  • Time zones
  • Unit converter
  • Word count
  • Webcam test

Developer

  • JSON formatter
  • Base64
  • Regex tester
  • Hashes
  • JWT decoder

Site

  • About
  • Contact
  • Settings
  • Privacy
  • Terms
  • Site map
  • llms.txt

Everyday

  • Images
  • Video
  • Audio
  • PDF & files
  • Text
  • QR codes
  • Units & math
  • Time & dates
  • Color
  • Passwords & IDs
  • Device tests
  • Sun & moon

For developers

  • JSON
  • Encoding
  • Regex & cron
  • Web & auth
  • Hashing & encryption
  • Config files
  • Network
  • Browser
  • AI
  • Fake data
© Nutter Toolsnutter.tools
  1. Home
  2. Regex & cron
  3. CSS clamp calculator
Your files stay on your device

CSS clamp calculator

Turn a minimum and maximum size across two viewport widths into a clamp() expression with the slope, a resolved value table, and a WCAG zoom check.

This tool is in beta

Still being tested. If a result looks wrong, tell us.

Report a problem

Enter both values and both viewport widths.

clamp(MIN, INTERCEPT + SLOPE×VW, MAX) holds the bounds outside your two anchors and interpolates a straight line between them. The zoom check walks 320 to 3,840 px windows at up to 500% zoom: browser zoom scales CSS px but shrinks the layout viewport by the same factor, so the vw share does not grow with zoom. The rule of thumb this check reports on is max at or below 2.5× min with rem bounds. It is a heuristic, not a substitute for turning zoom on and looking.

Fit

Unitrem bounds scale with the reader's font size
More settings▾

The root size converts rem to px for the table and the zoom check. The property is only used for the copied declaration.

Numbers stay within ±1,000,000. Both viewport widths are needed; the tool fits the straight line through the two points.

More regex & cron tools

  • Regex tester
  • Glob tester
  • Semver compare
All regex & cron tools

Was this tool useful?