Quick calculator
A minimum and maximum value in px or rem plus two viewport limits instantly give you the finished line, with or without a comment. rem base 16 or 10 px. Values that shrink are calculated correctly too.
The workbench for fluid typography and fluid spacing: calculate values, paste existing CSS and keep working on it, build whole scales and export them ready to use.
Coming soon to the App StoreNative app for iPhone, iPad and Mac.
From a single line to a website's design system.
A minimum and maximum value in px or rem plus two viewport limits instantly give you the finished line, with or without a comment. rem base 16 or 10 px. Values that shrink are calculated correctly too.
Paste one line or a whole block. HBClamp finds the clamp() expressions and turns them back into pixel sizes and viewports. Anything that cannot be calculated is named and can be filled in.
Keep viewports and values together for each website. Build a type scale from base sizes and ratios and a spacing scale from factors. Override single steps whenever you need to.
CSS custom properties, SCSS variables, a Tailwind 4 theme or a snippet for the WordPress theme.json file. Copy it, save it as a file or share it.
Move the viewport slider and watch type and spacing grow with it.
For font sizes, HBClamp calculates the window widths at which browser zoom cannot enlarge text to 200 % (WCAG 1.4.4). It is a calculation, not an audit of your website.
A font size should grow evenly between a narrow and a wide window.
font-size: clamp(0.875rem, 0.6731rem + 0.7692vw, 1.375rem);
Up to a window width of 420 px the text stays at 14 px (first value), from 1460 px at 22 px (last value). In between, the middle expression provides an even transition.
On iPhone and iPad.






No account, no ads, no analytics.
Your projects, settings and history are stored on your device. The developer collects no data through the app. It reads the clipboard only when you paste something.
One purchase for iPhone, iPad and Mac. Requires iOS or iPadOS 26, or macOS 26 on the Mac.
Coming soon to the App Store