ToolCraft
HomeAI ToolsDeveloper ToolsUnit ConverterImage Tools
ToolCraft

© 2026 ToolCraft. All rights reserved.

Privacy PolicyTerms of Service
DMCA.com Protection Status
HomeDeveloper ToolsCSS Unit Converter

Developer Tools

JSON FormatterBase64 Encoder/DecoderUUID GeneratorRegex TesterHash GeneratorCurl ConverterMarkdown PreviewURL Encoder/DecoderHTML Encoder/DecoderJWT DecoderCron Expression ParserDiff CheckerSQL FormatterCSS Minifier / BeautifierHTML MinifierJavaScript MinifierYAML / JSON ConverterXML / JSON ConverterIP Subnet CalculatorHTTP Status CodesUnix Permissions CalculatorFake Data GeneratorJSONPath TesterJSON Schema ValidatorJSON to TypeScriptUser Agent ParserMIME Type LookupASCII TableMeta Tag GeneratorRobots.txt GeneratorSitemap GeneratorTOML ↔ JSON ConverterSVG OptimizerCSS Unit ConverterAPI Request BuilderCode ScreenshotJSON to PHP ArrayProperties / JSON ConverterJSON / SQL ConverterYAML / TOML ConverterJSON to HTML TableCSV to SQLToken Counter (LLM)OpenAPI / Swagger Viewer

CSS Unit Converter

Convert between CSS units: px, rem, em, %, vw, vh, pt

px
16
Pixels
rem
1
Root em (relative to root font-size)
em
1
Em (relative to parent font-size)
pt
12
Points (1pt = 1/72 inch)
cm
0.4233
Centimeters
mm
4.2333
Millimeters
in
0.1667
Inches
%
1.3333
Percentage (relative to container)
vw
0.8333
Viewport Width (1vw = 1% of viewport width)
vh
1.4815
Viewport Height (1vh = 1% of viewport height)

View all Developer Tools

View all
100% offline

CSS Minifier / Beautifier

Minify or beautify CSS code to reduce file size or improve readability

Developer Tools
100% offline

CSS Gradient Generator

Create beautiful CSS gradients with live preview

Color & Design
100% offline

Color Converter

Convert colors between HEX, RGB, HSL, HSV and CMYK formats

Color & Design

What is the CSS Unit Converter?

The CSS Unit Converter provides instant conversion between px, rem, em, vw, vh, %, ch with customizable base values and more. Simply enter a value in any unit and see all other conversions updated in real time. Click any result to copy it to your clipboard. This tool is essential for front-end web development, responsive design, and CSS styling. All calculations are performed locally in your browser with no data sent to any server, ensuring fast results and complete privacy.

FAQ