CSS Typography Conversion Reference

Assumptions: The generic browser font size default setting is 16px and the <body> selector font size is set to 1em or 100%.

It’s an approximation, which will depend on font, browser and OS, but it’s a good starting point.

Conversion Table
Points
(for print css)
Pixels Ems Percent HTML Size Keyword
6 pt 8 px 0.5 em 50%    
7 pt 9 px 0.55 em 55%   xx-smal
7.5 pt 10 px 0.625 em 62.5% 1 x-small
8 pt 11 px 0.7 em 70%
H6
 
9 pt 12 px 0.75 em 75% 2  
10 pt 13 px 0.8 em 80%
H5
small
10.5 pt 14 px 0.875em 87.5%    
11 pt 15 px 0.95 em 95%    
12 pt 16 px 1 em 100% 3

H4

medium
13 pt 17 px 1.05 em 105%    
13.5 pt 18 px 1.125 em 112.5% 4  
14 pt 19 px 1.2 em 120%

H3

large
14.5 pt 20 px 1.25 em 125%    
15 pt 21 px 1.3 em 130%    
16 pt 22 px 1.4 em 140%    
17 pt 23 px 1.45 em 145%    
18 pt 24 px 1.5 em 150%

H2

x-large
20 pt 26 px 1.6 em 160% 6  
22 pt 29 px 1.8 em 180%    
24 pt 32 px 2 em 200%

H1

6
 
26 pt 35 px 2.2 em 220%    
27 pt 36 px 2.25 em 225%    
28 pt 37 px 2.3 em 230%    
29 pt 38 px 2.35 em 235%    
30 pt 40 px 2.45 em 245%    
32 pt 42 px 2.55 em 255%   xx-large

Formula to calculate em equivalent for any pixel value required

1 ÷ parent font size (px) × required pixels = em equivalent

Example: 1 ÷ 16 px (parent font size) × 669 px (required size) = 41.8125 em

 

United States based custom website design - Independent Freelancer local to the San Jose Silicon Valley

Campbell | Cupertino | Los Altos | Los Altos Hills | Los Gatos | Milpitas | Monte Sereno | Mountain View | Palo Alto | San Jose | Santa Clara | Saratoga | Sunnyvale | East Palo Alto | Foster City | Fremont | Menlo Park | Newark  | Redwood City | Santa Cruz

Alviso Website Designer (408)
95002

Campbell Website Designer (408)
95008 95009 95011

Cupertino Website Designer (408)
95014 95015

Fremont Website Designer (510)
94536 94537 94538 94539 94555

Los Altos & Los Altos Hills Website Designer (650)
94022 94023 94024

Los Gatos Website Designer (408)
95030 95031 95032 95033

Milpitas Website Designer (408)
95035 95036

Monte Sereno Website Designer (408)
95030

Morgan Hill Website Designer (408)
95037 95038

Mountain View Website Designer (650)
94035 94039 94040 94041 94042 94043

Palo Alto Website Designer (650)
94301 94302 94303 94304 94305 94306 94309

San Jose Website Designer (408)
95101 95103 95106 95108 95109 95110 95111 95112 95113 95115 95116 95117 95118 95119 95120 95121 95122 95123 95124 95125 95126 95127 95128 95129 95130 95131 95132 95133 95134 95135 95136 95138 95139 95140 95141 95148 95150 95151 95152 95153 95154 95155 95156 95157 95158 95159 95160 95161 95164 95170 95172 95173 95190 95191 95192 95193 95194 95196 95190 95192 95196

Santa Clara Website Designer (408)
95050 95051 95052 95053 95054 95055 95056 95053

Saratoga Website Designer (408)
95070

Sunnyvale Website Designer (408)
94085 94086 94087 94088 94089

 

United States Custom Independent website design services available for anyone in the Continental USA States .

Alabama, AL | Arizona, AZ | Arkansas, AR | California, CA | Colorado, CO | Connecticut, CT | Delaware, DE | District Of Columbia, DC | Florida, FL | Georgia, GA | Guam, GU | Idaho, ID | Illinois, IL | Indiana, IN | Iowa, IA | Kansas, KS | Kentucky, KY | Louisiana, LA | Maine, ME | Maryland, MD | Massachusetts, MA | Michigan, MI | Minnesota, MN | Mississippi, MS | Missouri, MO | Montana, MT | Nebraska, NE | Nevada, NV | New Hampshire, NH | New Jersey, NJ | New Mexico, NM | New York, NY | North Carolina, NC | North Dakota, ND | Ohio, OH | Oklahoma, OK | Oregon, OR | Pennsylvania, PA | Rhode Island, RI | South Carolina, SC | South Dakota, SD | Tennessee, TN | Texas, TX | Utah, UT | Vermont, VT | Virginia, VA | Washington, WA | West Virginia, WV | Wisconsin, WI | Wyoming, WY