Font Unit Converter
Convert font sizes between px, rem, em, and pt with an explicit reference size.
Online Tool
font-size: 16.00px; /* 1.000rem at a 16px reference size */
For this conversion, both rem and em use the reference size you enter. In a real page, em is based on the element’s parent font size.
Tool Working Principle
Conversions use 96 CSS pixels per inch and 72 points per inch. The selected reference size is used for both rem and em in this calculator; in a real document, em is relative to the parent element while rem is relative to the root.
Step-by-Step Usage Tutorial
- 1Enter a numeric size and its current unit.
- 2Set the reference size for rem and em conversions.
- 3Read the equivalents and copy the CSS example.
Frequently Asked Questions
Do I need an account to use Font Unit Converter?+
No. Every tool on TypeTempo runs fully in the browser with no account, email, or API key.
Is my input text stored anywhere?+
Tool calculations use the text in your browser, and the app does not send that input to the TypeTempo application server. A preview may still request font files or other assets from an external provider; those requests do not include the text you entered.
Can I use the output commercially?+
You can use generated text and CSS in personal or commercial work. If a result depends on a named typeface or third-party asset, check that family's or asset's licence before using or distributing its files.
Which browsers are supported?+
The tools are designed for modern desktop and mobile browsers. Font rendering and individual CSS or Unicode features can vary, so check the specific result in the browsers and devices you support.
Are rem and em interchangeable?+
They represent different references in a real stylesheet. rem is based on the root font size; em is based on the computed font size of the relevant element or parent. This tool uses your reference value for both to make the arithmetic explicit.