CSS px, rem, mm & pt Converter
Convert CSS mm, cm, px, rem, pt, pc, and inches using the W3C 96 DPI reference standard.
Inputs
Results
| Multi-Unit Breakdown | Results |
|---|
Conversion Reference
Reference Metric (SI) worked example showing default inputs and computed outputs.
| Inputs | Value |
|---|---|
| Value | 25.4 mm |
| From CSS Unit | Millimeter (mm) |
| Root Font Size | 16 px |
| Results | Value |
|---|---|
| undefined | |
| undefined | |
| undefined | |
| undefined | |
| Millimeter (mm) [Metric (SI)] | 25.4 mm |
| Centimeter (cm) [Metric] | 2.54 cm |
NIST / SI Reference
Formula:
1 in = 96 px = 25.4 mm = 72 pt (1 rem = 16 px)- Category
- Data, Geo & Slope
- Input Parameters
- Value, From CSS Unit, Root Font Size
- Primary Outputs
- , , ,
- Unit Standard
- NIST / BIPM SI & Imperial
Metric / Imperial · 100% Private.
How to Use
- 1Inputs: CSS px, rem, mm & pt Converter (Metric / Imperial).
- 2Convert: Formula 1 in = 96 px = 25.4 mm = 72 pt (1 rem = 16 px).
- 3Results: Copy Link / Export CSV / Print.
Frequently Asked Questions
CSS px, rem, mm & pt Converter — Formula?
CSS px, rem, mm & pt Converter: 1 in = 96 px = 25.4 mm = 72 pt (1 rem = 16 px).
Metric / Imperial?
Metric / Imperial · 100% Private.
100% Private?
This converter runs locally in your browser and requires JavaScript.