PX to REM and EM Converter
Convert px sizes to rem, em and pt based on the root font size, with a quick lookup table.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Use this when a Figma design gives sizes in px but the project's CSS uses rem, or when you need pt for a print document.
The root font size defaults to 16px; change it if your project sets a different html size. Em is relative to the parent element's font size, so it has its own input.
How to use
- Enter a number or choose an option.
- Read the result and the preview.
- Click copy.
Frequently asked questions
Is the data I enter sent anywhere?
No. All calculations and processing run in JavaScript right in your browser. Takikit has no server that receives data, and you can turn off your internet after opening the page and the tool will still work.
Related tools
More Design tools
VW and VH Units CalculatorConvert px from a design file into vw, vh, vmin and vmax.SVG Structure InspectorCount the tags, list the colors, and check the viewBox, scripts and external resources in an SVG.8px Grid RounderRound spacing and sizes to multiples of 8 (or 4) for an even interface.SVG to PNG ConverterConvert SVG to a sharp PNG image at 1×, 2×, 4× or 8× size, keeping a transparent background.Golden Ratio CalculatorSplit sizes by the golden ratio 1.618 for layouts, logos and content columns.SVG Optimizer and CompressorRemove comments, metadata and extra attributes left by drawing software, and round numbers to make the SVG lighter.
See all design tools