Line Height Calculator
A free, browser-based calculator. Runs entirely in your browser — no sign up, nothing stored.
100% FreeRuns in your browserBasic
Enter Values
Enter your values and press Calculate to see results.
How to use this calculator
- Enter the font size in px.
- Set the line-height ratio (default 1.5).
How it works
Line height (px) = font size × ratio. A unitless line-height is just the ratio.
Worked example
16 px at 1.5. = 24 px.
Common mistakes
- Setting line-height too tight (<1.2) hurts readability.
- Using px line-heights that don't scale with text size — prefer unitless.
Frequently asked questions
What line-height is best for body text?
Usually around 1.4–1.6. Headings can be tighter; long-form reading benefits from more.
Related tools
Tip: Enter any known values to calculate the remaining results.
All calculations run in your browser. Your inputs are never saved or transmitted.



