20 Pt to Px – Full Calculation Guide

20 pt equals 26.6667 px.

The conversion from points (pt) to pixels (px) depends on the pixel density used, commonly 1 pt equals 1.3333 px assuming a 96 DPI screen. Therefore, multiplying 20 pt by 1.3333 gives 26.6667 px. This conversion helps when designing for screens that use pixels instead of points.

Conversion Tool


Result in px:

Conversion Formula

The formula to convert points (pt) to pixels (px) relies on the standard resolution of 96 dots per inch (DPI) used in many screens. Since 1 point is equal to 1/72 inch, and 1 inch equals 96 pixels, the formula is:

px = pt × (96 / 72)

Simplified, this becomes:

px = pt × 1.3333

This works because a point is a physical unit based on print measurement, and pixels are screen units that vary with resolution. The 96 DPI standard is the bridge between them.

Example calculation for 20 pt:

  • Multiply 20 by 1.3333
  • 20 × 1.3333 = 26.6667 px

Conversion Example

  • 15 pt to px:
    • Multiply 15 by 1.3333
    • 15 × 1.3333 = 20 px
    • So, 15 pt equals 20 px
  • 30 pt to px:
    • Multiply 30 by 1.3333
    • 30 × 1.3333 = 40 px
    • Thus, 30 pt is 40 px
  • 5 pt to px:
    • Multiply 5 by 1.3333
    • 5 × 1.3333 = 6.6665 px
    • 5 pt converts to about 6.6665 px
  • 0 pt to px:
    • 0 × 1.3333 = 0 px
    • Zero points is zero pixels
  • 25 pt to px:
    • 25 × 1.3333 = 33.3333 px
    • Therefore, 25 pt equals 33.3333 px

Conversion Chart

Points (pt) Pixels (px)
-5.0 -6.6665
0.0 0.0000
5.0 6.6665
10.0 13.3330
15.0 20.0000
20.0 26.6667
25.0 33.3333
30.0 40.0000
35.0 46.6655
40.0 53.3320
45.0 59.9985

The chart shows how many pixels correspond to various point values. To use it, find the point value on the left column, and read across for its equivalent pixel value on the right. Negative values indicate a conversion for negative points, which might occur in some design contexts.

Related Conversion Questions

  • What is 20 pt in pixels on a 96 DPI screen?
  • How to convert 20 pt font size to px for web design?
  • Does 20 pt always equal 26.6667 px on all devices?
  • Why does 20 pt convert to a decimal pixel value?
  • How accurate is converting 20 pt to px in CSS?
  • Can I round 20 pt to 27 px safely?
  • What formula to use for converting 20 pt to px?

Conversion Definitions

pt (point): A point is a unit of length in typography, equal to 1/72 of an inch. It’s traditionally used in print to specify font sizes, line spacing, and other layout elements. The size remains consistent regardless of display resolution, making it a physical, absolute measurement.

px (pixel): A pixel is the smallest unit of a digital image or display, representing one dot on a computer screen. Its size can vary depending on the screen resolution or density (DPI/PPI), so pixels are relative units in digital contexts, commonly used in web and graphic design.

Conversion FAQs

Does the conversion from pt to px change on different screens?

Yes, because pixels depend on screen density, the actual size of a pixel varies between devices. Since points are fixed physical measurements, their equivalent pixel value can differ if the DPI setting changes. The standard 1 pt = 1.3333 px assumes 96 DPI, which may not hold for all screens.

Why is the px value for 20 pt a decimal instead of a whole number?

Pixels are discrete units, but the conversion factor (1.3333) results in decimal values when multiplied by point sizes like 20. This is why the result is 26.6667 px. When applying this in design, the value is often rounded to the nearest whole pixel for practical rendering.

Can I use this conversion for all font sizes in CSS?

The conversion works well for mapping points to pixels in CSS where 96 DPI is the baseline. However, different browsers or devices might render fonts differently due to scaling or zoom settings, so the visual size could vary slightly despite the conversion.

Is there any situation where pt is preferred over px?

Points are preferred in print design or when fixed physical dimensions are needed, such as for documents that will be printed. Pixels are more suited for screen-based work where display resolutions and scaling affect the size, making px a flexible unit in digital contexts.

How do negative point values convert to pixels?

Negative point values convert directly by multiplying by 1.3333, resulting in negative pixel values. While unusual in practical design, negative values might be used in certain calculations or effects. The negative pixel values maintain proportionality to their point counterparts.