Back to Free Tools

FREE TOOLS

CSS unit converter

Convert CSS lengths using explicit font and viewport context.

Numeric CSS length and context dimensions

UTF-8 text

Browser only

Your input and output are processed in this browser. They are not uploaded for processing. No account is required.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  1. Enter the numeric value and choose the source and destination CSS units.
  2. Set the font sizes, viewport dimensions and percentage reference size needed for the conversion.
  3. Run the tool to review or download the converted length.

Examples

16px with 16px root font → 1rem

Limitations

CSS absolute units use 1in = 96px.

Percentage interpretation depends on the CSS property; supply the correct reference.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool