Skip to content
SymboxiTools & Games for Everyone

Calculators · Tool

CSS Length Converter

Enter a value, its CSS unit, and the two reference font sizes in pixels.

How to use it

  1. Enter a value, its CSS unit, and the two reference font sizes in pixels.
  2. Run the tool, then copy the result if needed.

How it works

Rem follows the root font size. Em is calculated from the reference you enter, which depends on the property you are styling.

Use it for

  • Convert a design measurement into relative CSS units before coding.

Questions

Does this run locally?

Yes. This tool processes its inputs in your browser.

Related