CSS Line Height Table: Line height by Font size
Reference table of line height for CSS Line Height across a range of font size values — exact, engine-computed figures you can read off at a glance.
Verified formula Updated Jun 2026 Private — runs on your device
Line height
24.00
For general information only — not financial, tax, legal or medical advice. Verify before you rely on it.
The CSS Line Height Calculator works out your line height in an instant. Enter font size and line height ratio and the result updates as you type — it is free, needs no sign-up, and runs entirely in your browser so your figures stay private.
The CSS Line Height Calculator uses the formula:
Line height = Font size × Line height ratio
For example, with font size of 16 px and line height ratio of 1.5, the line height is 24.00.
| Font size | 16 px |
|---|---|
| Line height ratio | 1.5 |
| Line height | 24.00 |
|---|
Results are estimates for educational use, not professional advice.
Reference table of line height for CSS Line Height across a range of font size values — exact, engine-computed figures you can read off at a glance.
Learn how to calculate CSS Line Height — the formula explained step by step, with worked examples and a free calculator to check your answer.