PX to LH Converter (Line Height Unit)
Convert Pixels to LH.
Loading converter...
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:
pxPixels — The pixel size you want to convert.
line-height of fontLine Height — The computed line height of the current element.
lhLH Units — The line-height unit equivalent.
PX to LH Conversion Table (Base Font 16px)
| PX (px) | LH (lh) |
|---|---|
| 1px | 0.0417lh |
| 2px | 0.0833lh |
| 3px | 0.125lh |
| 4px | 0.1667lh |
| 5px | 0.2083lh |
| 6px | 0.25lh |
| 7px | 0.2917lh |
| 8px | 0.3333lh |
| 9px | 0.375lh |
| 10px | 0.4167lh |
| 11px | 0.4583lh |
| 12px | 0.5lh |
| 13px | 0.5417lh |
| 14px | 0.5833lh |
| 15px | 0.625lh |
| 16px | 0.6667lh |
| 17px | 0.7083lh |
| 18px | 0.75lh |
| 19px | 0.7917lh |
| 20px | 0.8333lh |
| 22px | 0.9167lh |
| 24px | 1lh |
| 26px | 1.0833lh |
| 28px | 1.1667lh |
| 30px | 1.25lh |
| 32px | 1.3333lh |
| 36px | 1.5lh |
| 40px | 1.6667lh |
| 44px | 1.8333lh |
| 48px | 2lh |
| 52px | 2.1667lh |
| 56px | 2.3333lh |
| 60px | 2.5lh |
| 64px | 2.6667lh |
| 72px | 3lh |
| 80px | 3.3333lh |
| 88px | 3.6667lh |
| 96px | 4lh |
| 100px | 4.1667lh |
| 112px | 4.6667lh |
| 120px | 5lh |
| 128px | 5.3333lh |
| 136px | 5.6667lh |
| 144px | 6lh |
| 160px | 6.6667lh |
| 192px | 8lh |
| 200px | 8.3333lh |
| 240px | 10lh |
| 256px | 10.6667lh |
| 288px | 12lh |
| 300px | 12.5lh |
| 320px | 13.3333lh |
| 360px | 15lh |
| 384px | 16lh |
| 400px | 16.6667lh |
| 480px | 20lh |
| 512px | 21.3333lh |
| 576px | 24lh |
| 600px | 25lh |
| 640px | 26.6667lh |
| 720px | 30lh |
| 768px | 32lh |
| 800px | 33.3333lh |
| 960px | 40lh |
| 1024px | 42.6667lh |
| 1080px | 45lh |
| 1200px | 50lh |
| 1280px | 53.3333lh |
| 1366px | 56.9167lh |
| 1440px | 60lh |
| 1536px | 64lh |
| 1920px | 80lh |
Convert back using LH to PX or compare with root-based PX to RLH.