GoWin Tools
Tools

Dev & Design

px β†’ rem Converter

Convert CSS units instantly β€” single values, bulk paste, Tailwind scale & breakpoint reference.

Base
px
Property

Quick convert

px
=
1
rem

Bulk convert

Test data

Breakpoints

Namepxrem
sm64040
md76848
lg102464
xl128080
2xl153696

Tailwind scale

Click any row to copy CSS snippet

How it worksβ–Ύ

rem (root em) is relative to the document's root font size, usually set on <html>. The default browser font size is 16px, making 1rem = 16px. Changing the base updates every calculation instantly.

  • β†’Typography scale β€” Convert your designer's px specs to scalable rem values
  • β†’Responsive spacing β€” rem-based gaps/padding scale with user font preferences
  • β†’Accessibility compliance β€” rem respects browser zoom; px does not
  • β†’Tailwind custom config β€” Find the exact scale value for a custom px size
  • β†’Design token migration β€” Bulk-convert a design system from px to rem
  • β†’Media queries β€” Convert px breakpoints to rem for font-size-aware queries
  • β†’Legacy code refactor β€” Paste a CSS block's px values, get them all as rem