pt (point):It is a physical length unit, equal to 1/72 of an inch.

px (pixel):It is a virtual length unit, a digital image length unit in computer systems. To convert px to physical length, you need to specify DPI (Dots Per Inch, pixels per inch), which is usually available as an option when scanning and printing. Windows defaults to 96dpi, and Apple defaults to 72dpi.

em (relative length unit, relative to the font size of the text within the current object):It is a relative length unit, originally referring to the width of the letter M, hence the name em. Now it refers to a multiple of the character width, used similarly to percentages, e.g., 0.8em, 1.2em, 2em, etc. Usually 1em = 16px.

Font size:It is a unique unit in Chinese font libraries, representing specific pt values with Chinese designations for easy memory and expression.

The conversion formula between pt and px can be derived from the definition of pt:

pt = 1/72(英寸), px = 1/dpi(英寸)

Therefore pt = px * dpi / 72

Calculated with 96dpi under Windows, 1 pt = px * 96/72 = px * 4/3

Font size pt px em

Initial

42pt

56px

3.5em

Small Initial

36pt

48px

3em

 

34pt

45px

2.75em

 

32pt

42px

2.55em

 

30pt

40px

2.45em

 

29pt

38px

2.35em

 

28pt

37px

2.3em

 

27pt

36px

2.25em

No. 1

26pt

35px

2.2em

 

25pt

34px

2.125em

Small No. 1

24pt

32px

2em

No. 2

22pt

29px

1.8em

 

20pt

26px

1.6em

Small No. 2

18pt

24px

1.5em

 

17pt

23px

1.45em

No. 3

16pt

22px

1.4em

Small No. 3

15pt

21px

1.3em

 

14.5pt

20px

1.25em

No. 4

14pt

19px

1.2em

 

13.5pt

18px

1.125em

 

13pt

17px

1.05em

Small No. 4

12pt

16px

1em

 

11pt

15px

0.95em

No. 5

10.5pt

14px

0.875em

 

10pt

13px

0.8em

Small No. 5

9pt

12px

0.75em

 

8pt

11px

0.7em

No. 6

7.5pt

10px

0.625em

 

7pt

9px

0.55em

Small No. 6

6.5pt

8px

0.5em

No. 7

5.5pt

7px

0.4375em

No. 8

5pt

6px

0.375em