Line Height Calculator
Work out the line height in pixels and in rem for a piece of text.
1 Fill in the boxes
2 Your answer
Your answer shows here as you type.
How to use the Line Height Calculator
- Type the font size in pixels.
- Type the line height, for example 1.5.
Frequently asked questions
What line height should I use?
For body text, about 1.4 to 1.6 is common.
Why is rem shown too?
Browsers use 16px as the default text size, so the rem value is what you would type in CSS when the page uses default sizes.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.