Px to Base Unit Converter

Using this px to base unit converter calculator, you can simply convert any pixels value to base unit.

Pixel

A pixel, pel or picture element is the smallest controllable element of a picture portrayed on the screen in digital imaging. It is the smallest addressable element in a raster image, or the smallest addressable element in an all points addressable display device.

Base Unit

The size of a property you’re setting for an element or its content is determined by the base unit. For example, if you wanted to change a paragraph’s property margin, you’d give it a certain value. The base unit is included in this value.

Px to Base Unit Converter Use

  • This calculator is simple and quick to use.
  • To begin, input the base unit (root unit) for the conversion.
  • We set the value to 16 by default, but this can be changed as per your choice.
  • After that, type in the pixel unit you want to convert to base unit.
  • The converter will display the converted value in units throughout the rest of the process.

Formula to Convert Px to Base Unit

The formula to convert pixels value into base unit is mentioned below:

pixel to base unit formula

For Example,

1. Convert pixel value 28 into base unit. Let the root base unit be 32

The get the result divide the pixels value by root font-size, 28/32 = 0.875.

Pixel ↔︎ Base Unit Conversion Table

The root base unit value is kept at 16px for this conversion table.

Pixel (px)Unit
1px0.0625
2px0.125
3px0.1875
4px0.25
5px0.3125
6px0.375
7px0.4375
8px0.5
9px0.5625
10px0.625
11px0.6875
12px0.75
13px0.8125
14px0.875
15px0.9375
16px1
17px1.0625
18px1.125
19px1.1875
20px1.25
21px1.3125
22px1.375
23px1.4375
24px1.5
25px1.5625
Pixel (px)Unit
26px1.625
27px1.6875
28px1.75
29px1.8125
30px1.875
31px1.9375
32px2
33px2.0625
34px2.125
35px2.1875
36px2.25
37px2.3125
38px2.375
39px2.4375
40px2.5
41px2.5625
42px2.625
43px2.6875
44px2.75
45px2.8125
46px2.875
47px2.9375
48px3
49px3.0625
50px3.125