PX to LH Converter (Line Height Unit)

Convert Pixels to LH.

Loading converter...
Share this tool:

What Is PX to LH Converter? (Pixels to Line Height)

A PX to LH Converter converts pixel values into line-height (lh) units based on the current text settings. It helps create consistent spacing.

How To Find PX to LH?

To find PX to LH, divide the pixel value by the line-height of the element and convert it into lh units. This is useful for responsive text spacing. See also LH to PX or root-based PX to RLH.

PX to LH Formula

lh=
pxline-height of font
Where:
pxPixelsThe pixel size you want to convert.
line-height of fontLine HeightThe computed line height of the current element.
lhLH UnitsThe line-height unit equivalent.

PX to LH Conversion Table (Base Font 16px)

PX (px)LH (lh)
1px0.0417lh
2px0.0833lh
3px0.125lh
4px0.1667lh
5px0.2083lh
6px0.25lh
7px0.2917lh
8px0.3333lh
9px0.375lh
10px0.4167lh
11px0.4583lh
12px0.5lh
13px0.5417lh
14px0.5833lh
15px0.625lh
16px0.6667lh
17px0.7083lh
18px0.75lh
19px0.7917lh
20px0.8333lh
22px0.9167lh
24px1lh
26px1.0833lh
28px1.1667lh
30px1.25lh
32px1.3333lh
36px1.5lh
40px1.6667lh
44px1.8333lh
48px2lh
52px2.1667lh
56px2.3333lh
60px2.5lh
64px2.6667lh
72px3lh
80px3.3333lh
88px3.6667lh
96px4lh
100px4.1667lh
112px4.6667lh
120px5lh
128px5.3333lh
136px5.6667lh
144px6lh
160px6.6667lh
192px8lh
200px8.3333lh
240px10lh
256px10.6667lh
288px12lh
300px12.5lh
320px13.3333lh
360px15lh
384px16lh
400px16.6667lh
480px20lh
512px21.3333lh
576px24lh
600px25lh
640px26.6667lh
720px30lh
768px32lh
800px33.3333lh
960px40lh
1024px42.6667lh
1080px45lh
1200px50lh
1280px53.3333lh
1366px56.9167lh
1440px60lh
1536px64lh
1920px80lh

Convert back using LH to PX or compare with root-based PX to RLH.