Runs locally — nothing is uploaded
Result
Enter pixel values.
How to use
- 1Paste values such as 12, 14, 16px or 1.5rem.
- 2Set the root font size if your site changes it (the browser default is 16px).
- 3Copy the table or the list of conversions.
Divide the pixel value by the root font size: 24px ÷ 16 = 1.5rem. For rem to px, multiply.
rem scales with the user's browser font size setting, which helps people who need larger text. px stays fixed.
em is relative to the parent element's font size, which can differ from the root. This tool treats em like rem, so check nested elements yourself.
Related tools
Contrast checkerWCAG AA/AAA contrast ratio, plus APCAColor converterHEX, RGB, HSL, OKLCH and CMYK in one goPalette generatorOKLCH color scales and harmoniesType scaleModular font sizes with a live previewCSS clamp() generatorFluid sizes between two viewport widthsAspect ratio calculatorSimplify W:H and resize without distortion
Let's make something good
Tell us about your project — we reply within one business day.