Skip to content
SymboxiTools & Games for Everyone

Calculators · Tool

CSS Line Height Calculator

Enter the font size, the root size, and either desired pixels or a multiplier.

How to use it

  1. Enter the font size, the root size, and either desired pixels or a multiplier.
  2. Run the tool, then copy the result if needed.

How it works

A unitless line height multiplies an element's own font size, while the root size is used for the rem result.

Use it for

  • Turn a design's baseline spacing into a reusable CSS value.

Questions

Does this run locally?

Yes. This tool processes its inputs in your browser.

Related