Line-height calculator

This is the combined line-box height; margins, padding and font-specific ink bounds are not included.

Your inputs

Use the units shown.

Line height (px)
24
Line-box height (px)
120

Your calculation
How is this calculated?

This is the combined line-box height; margins, padding and font-specific ink bounds are not included.

  • Line height (px) = Font size (px) × Line-height multiplier
  • Line-box height (px) = Font size (px) × Line-height multiplier × Lines

Try an example

Worked example

Line height (px): 24

Inputs
  • Font size (px): 16
  • Line-height multiplier: 1.5
  • Lines: 5

Compare inputs

Line height (px): 25.5

Inputs
  • Font size (px): 17
  • Line-height multiplier: 1.5
  • Lines: 5
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.