Skip to content

Калькуляторы

Конвертер размера шрифта

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

Runs in your browser

Примечание редактора

Understanding · Five units, one piece of paper.

Эта углублённая глава пока доступна только на английском языке. Инструмент конвертации выше работает на вашем языке; развёрнутая статья ещё не переведена.

Часто задаваемые вопросы

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.

Люди также ищут

Связанные инструменты

More in this room.

Смотреть все в Калькуляторы