Bi-directional CSS unit conversion matrix with responsive clamp() generator and Tailwind CSS class mapper.
CSS Units Converter (PX ↔ REM ↔ EM ↔ VW ↔ PT) on ApexTools is a free, privacy-first online utility. All computations and file transformations process locally or within private auto-purged memory with zero sign-up.
Your data is computed entirely inside your browser's JavaScript engine and is never sent to our servers.
Root: 16px • Parent: 16px • Viewport: 1920×1080px
Edit any unit field below — all other units recalculate instantaneously.
text-base (1rem / 16px)Absolute screen pixels (CSS 96 DPI)
Relative to root <html> font-size (16px)
Relative to parent element font-size (16px)
1% of screen width (1920px)
1% of screen height (1080px)
Traditional print typography point (1pt = 1.333px)
Relative percent of parent (16px)
clamp() GeneratorSmooth mathematical interpolation between mobile and desktop screen sizes.
Target size at mobile viewport
Target size at desktop viewport
Mobile benchmark (e.g. 375px)
Desktop benchmark (e.g. 1440px)
font-size: clamp(1.0000rem, 0.6479rem + 1.5023vw, 2.0000rem);Responsive Fluid Typography
Drag the slider above to see this headline scale continuously without rigid media query breakpoints.
Follow these 3 simple steps to complete your conversion in seconds.
Input your value or paste text into the input field for CSS Units Converter (PX ↔ REM ↔ EM ↔ VW ↔ PT).
Select desired output format, decimal precision, or transformation flags.
The result is calculated instantly. Click Copy or Download to save your converted result.
Common questions and answers about CSS Units Converter (PX ↔ REM ↔ EM ↔ VW ↔ PT).