Photoshop Tips: Convert ‘pt’ to CSS ‘px’

Go to Edit > Preferences > Units & rulers (or Ctrl+K and choosing Units & Rulers in the list on the left) and change the default Type unit from Points to Pixels. While you’re there, you can also change the Rulers unit to Pixels as well (although you can change that by right clicking on the rulers — CTRL + R to enable them — and choose the units type from there).

For web, make sure your document DPI is set to 72. You can check and set that from Image > Image Size... Once you do this, you can safely use the font size (in px) you have in your PS document for web.

Actually, the DPI matters very much in this respect. A point is equal to 1/72.27″. If you are set at 72 dpi, 16 point is roughly equal to 16 pixels (72 * 16/72.27). At 300 dpi, which is what you should use for print, this would translate to roughly 67 pixels (300 * 16/72.27).

Here’s a chart that converts points to pixels (and ems and %). It’s an approximation, which will depend on font, browser and OS, but it’s a good starting point.

Points Pixels Ems Percent
6pt 8px 0.5em 50%
7pt 9px 0.55em 55%
7.5pt 10px 0.625em 62.5%
8pt 11px 0.7em 70%
9pt 12px 0.75em 75%
10pt 13px 0.8em 80%
10.5pt 14px 0.875em 87.5%
11pt 15px 0.95em 95%
12pt 16px 1em 100%
13pt 17px 1.05em 105%
13.5pt 18px 1.125em 112.5%
14pt 19px 1.2em 120%
14.5pt 20px 1.25em 125%
15pt 21px 1.3em 130%
16pt 22px 1.4em 140%
17pt 23px 1.45em 145%
18pt 24px 1.5em 150%
20pt 26px 1.6em 160%
22pt 29px 1.8em 180%
24pt 32px 2em 200%
26pt 35px 2.2em 220%
27pt 36px 2.25em 225%
28pt 37px 2.3em 230%
29pt 38px 2.35em 235%
30pt 40px 2.45em 245%
32pt 42px 2.55em 255%
34pt 45px 2.75em 275%
36pt 48px 3em 300%


Leave a Reply

Your email address will not be published. Required fields are marked *