Typography Units Converter (pt · mm · px · em · pica)
Convert any typography measurement between points, millimetres, pixels, em/rem and picas at 96 DPI using a configurable rem base.
How to Use the Typography Units Converter (pt · mm · px · em · pica)
- Enter the source value.
- Pick the source unit.
- Set the rem base (default 16 px).
- Click Calculate to see all five converted units.
حالات الاستخدام
- •Translating print specs to web.
- •Building design tokens.
- •Porting Word/InDesign style sheets.
الصيغة
1 pt = 0.35278 mm. 1 px = 0.75 pt (at 96 DPI). 1 em = base px. 1 pica = 12 pt.
الأسئلة الشائعة
Why is 1 px = 0.75 pt?
CSS defines a reference pixel as 1/96 of an inch; a point is 1/72 of an inch. The ratio 72/96 = 0.75.
Is 16 px always the rem base?
It is the default in every major browser, but it can be overridden via html { font-size } for accessibility or branding. Change the base_px field accordingly.
Em and rem — same conversion?
Yes, against the root font size. In nested CSS em is relative to the parent, not the root — keep that in mind when using the result in context.