Skip to content

Cor e Design

Conversor de Unidades CSS

Conversor de unidades CSS gratuito. Converta entre px, rem, em, pt, pc e unidades físicas com base no tamanho da fonte raiz. Para design responsivo e fluxos de trabalho CSS.

Runs in your browser

CSS units converter

rem
1rem
em
1em
pt
12pt
pc
1pc
in
0.1667in
cm
0.4233cm

Nota do editor

Understanding · px, rem, em, and the rest of the family.

Este capítulo aprofundado está disponível apenas em inglês no momento. A ferramenta de conversão acima funciona no seu idioma; o artigo explicativo longo ainda não foi traduzido.

Perguntas frequentes

Quick answers.

Is 1rem always 16px?

By default, yes — but if you change the root font-size, all rem values scale. We let you set the root for accurate conversion.

rem vs em?

rem is relative to root font-size; em is relative to the parent's font-size. rem is more predictable for layout.

Why use rem over px?

rem respects user font-size preferences (for accessibility) and scales the whole layout consistently.

Is the converter free?

Yes — fully free, no signup.

As pessoas também pesquisam por

Ferramentas relacionadas

More in this room.

Ver tudo em Cor e Design