Conversor de PX para REM
Converta entre pixels, rem e em usando qualquer tamanho de fonte raiz.
Como usar
Convert CSS units
Enter a value, choose its unit and set the root font size. The tool shows the equivalent value in pixels, rem and em.
- Enter a number.
- Choose px, rem or em as the input unit.
- Set the root font size and copy the result.
Root font size
Browsers default to 16px, but users and CSS can change it. Set the root size to match the project you are working on.
Perguntas frequentes
Are rem and em the same here?
For the root element they are identical. The converter treats em as relative to the configured root size for simplicity.
Why use rem?
Rem units scale with the user's root font size, which improves accessibility compared with fixed pixels.
Ferramentas relacionadas
Formatador CSS
Embeleza CSS com uma propriedade por linha e recuo consistente.
Conversor de caixa de texto
Converte texto entre camelCase, PascalCase, snake_case, kebab-case e mais.
Conversor de cores
Converte cores entre HEX, RGB e HSL com uma amostra de pré-visualização ao vivo.
Gerador de UUID / GUID
Gera UUIDs aleatórios da versão 4 e os copia um a um ou em massa.
Gerador de hash
Calcula resumos MD5, SHA-1, SHA-256 e SHA-512 de qualquer texto.
Conversor de timestamp
Converte entre timestamps Unix, ISO 8601 e datas locais legíveis.