LH to PX Converter

Convert LH to Pixels.

Loading converter...
Share this tool:

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

An LH to PX Converter converts line-height (lh) units into pixels (px) based on the current font size and line height.

How To Find LH to PX?

To find LH to PX, multiply the lh value by the computed line-height of the text. This gives the exact pixel spacing between lines. Reverse this with PX to LH or use RLH to PX.

LH to PX Formula

px=lh × line-height of font
Where:
lhLH UnitsThe line-height unit value.
line-height of fontLine HeightThe computed line-height of the element.
pxPixelsThe calculated pixel equivalent.

LH to PX Conversion Table (Base Font 16px)

LH (lh)PX (px)
0.125lh3px
0.25lh6px
0.375lh9px
0.5lh12px
0.625lh15px
0.75lh18px
0.875lh21px
1lh24px
1.125lh27px
1.25lh30px
1.375lh33px
1.5lh36px
1.75lh42px
2lh48px
2.25lh54px
2.5lh60px
2.75lh66px
3lh72px
3.5lh84px
4lh96px
4.5lh108px
5lh120px
5.5lh132px
6lh144px
7lh168px
8lh192px
9lh216px
10lh240px
12lh288px
14lh336px
16lh384px
20lh480px
24lh576px
28lh672px
32lh768px
36lh864px
40lh960px
48lh1152px
56lh1344px
64lh1536px
80lh1920px
96lh2304px
128lh3072px

Convert pixels back to LH using PX to LH or check root-based RLH to PX.