← All tools
Type & CSS calculators
Line-height ratio
Calculate the unitless line-height from font size and line height.
Input
Runs entirely in your browser. Input is not uploaded.
Output
Live result1.5
How to use
Enter your text or numeric values. The result updates immediately. Copy the output or reset the example. Everything is computed locally in your browser.
Related tools
Pixels to remConvert CSS pixels to rem using a configurable root size.Rem to pixelsConvert rem to CSS pixels using a configurable root size.Points to CSS pixelsConvert at the CSS reference ratio of 96 px per inch and 72 pt per inch.CSS pixels to pointsConvert CSS reference pixels to typographic points (not device pixels).Tracking to emConvert thousandths-of-an-em tracking units to CSS letter-spacing.Em to trackingConvert CSS em letter-spacing to thousandths-of-an-em tracking units.