What is a unitless line-height?
A unitless line-height is a multiplier relative to the font size.
Converters
Convert line height in pixels to a CSS unitless ratio and vice versa.
Convert line height in pixels to a CSS unitless ratio and vice versa.
This tool runs in your browser. Your input is processed locally and is not uploaded.
Use this free online line height ratio converter to convert between pixel values and unitless CSS line-height ratios.
A unitless line-height is a multiplier relative to the font size.
It scales automatically when the font size changes.
Values between 1.4 and 1.6 are common for body text.