Typography Converter
Converts px, pt, rem, and em using a base font size on this page.
About this tool
The value is converted through a single base unit for that dimension. Labels name the system when US and UK differ.
Affine units share one base. Temperature-style offsets are not used in this set.
How to use it
- Open this page and provide the input it asks for.
- Set the options that are visible, then use Convert.
- Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.
Limitations
- Affine units share one base. Temperature-style offsets are not used in this set.
Pixels at factor 1, points at 96 over 72
Absolute rows and relative rows use different code paths
Typography stores four units, and they do not all share one simple multiplier against a fixed hub in the same way. The pixel row stores factor 1 and is absolute, so the pixel count is the base. The point row stores 96/72, also absolute: each point contributes 96/72 pixels. Twelve points are 12 times 96/72, which is 16 pixels. Seventy-two points are 96 pixels, because the 72 in the denominator cancels the 72 you typed and leaves the 96. Rem and em are marked relative. Both store factor 1, and both are multiplied by a root size rather than used alone. The root comes from the base-font field when that field is a positive number. Otherwise the root falls back to 16. With the fallback, one rem is 16 pixels and one em is 16 pixels. Set the field to 18 and one rem is 18 pixels while twelve points stay 16 pixels, because the point row never consults the root.
Rem and em share that root on purpose
The relative branch is the same formula for both names: value times root times factor, and the factor on each is 1. The page does not look up a parent element’s font size for em, and it does not look up a document root separately for rem. Both read the one base-font field. If your stylesheet really uses a parent size that differs from the root size, this converter will not reproduce that distinction. Type the size you intend as the root. Converting 16 pixels toward rem at root 16 yields 1. Converting those same 16 pixels at root 20 yields 0.8. Points stay on 96/72 no matter which root is showing, so a 12 point body and a 1 rem body match only while the root is 16.
What the type list will not fetch
There is no inch row, no millimetre row, and no pica row. A physical inch on a ruler is the length list, where the inch factor is 0.0254 metres, not 96 pixels. This page’s pixel is a CSS pixel count, factor 1, not a device pixel measured with a loupe. Viewport width, character width, and line height are not units here. The field multiplies. It does not parse a CSS snippet such as clamp or a calc expression. Negative sizes scale and are invalid in a real stylesheet. Zero stays zero. Offsets are not used. A temperature-style add-before-multiply never runs on a point or a rem.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

