Calculatorism

Line Height Ratio

Compute line-height ratio = line height (px) / font size.

Input Data

Input Font size (px).
px
Input Line height (px).
px

Results

1.5
Ratio = line height / font size.

At a glance:Line Height Ratio: enter parameters to compute results; complements related calculators.

Formula

Ratio = line height / font size.

How to Use

  1. Enter font size, line height.
  2. It returns the ratio.

Case Studies

24 / 16 = 1.5

1.5 equals 150%.

FAQ

Unitless?

CSS line-height accepts a unitless ratio (e.g. 1.5) — this value.

Related Tools

References

Content review: Calculatorism Science Team. Formula and numeric tests verified; results for reference only.

Found a problem with the results?

If this calculator's result is wrong, or you have any question about the calculation logic, please let us know. You are viewing:Line Height Ratio/typography/line-height-ratio)。