Skip to content

Calcolatrici

Convertitore di Dimensione Font

px ↔ rem ↔ em ↔ pt ↔ % — instant translation.

Runs in your browser

Conversions

  • Pixel16 px
  • Rem (root-relative)1.0000 rem
  • Em (parent-relative)1.0000 em
  • Point12.00 pt
  • Percent (of parent)100.00%

Rem is the safer default for body type. Use em sparingly — it compounds when nested.

Nota dell'editore

Understanding · Five units, one piece of paper.

Questo capitolo approfondito è attualmente disponibile solo in inglese. Lo strumento di conversione qui sopra funziona nella tua lingua; il lungo articolo esplicativo non è stato ancora tradotto.

Domande frequenti

Quick answers.

What is the difference between rem and em?

The `rem` unit is relative to the root element's font size, whereas `em` is relative to the font size of the parent element. Using `rem` provides more predictable scaling across a document.

Why is the root font size set to 16px?

Most modern web browsers use 16px as the default font size for the root element. You can adjust this value in the settings to match your specific CSS configuration.

Are the conversions accurate for print?

Yes. The point (pt) unit is traditionally used in print media, where 1pt is defined as 1/72 of an inch. The converter uses standard CSS ratios to translate these to screen pixels.

Is my data privacy protected?

Yes. This tool runs entirely in your local browser environment. No values or unit preferences are sent to our servers or stored externally.

Le persone cercano anche

Strumenti correlati

More in this room.

Vedi tutto in Calcolatrici