px to cm
Snapshot
1 Pixels equals 0.026458 Centimeters.
- Reference basis: This conversion uses CSS pixel-based scaling anchored to 96 pixels per inch.
- Example: For 8 Pixels, the result equals 0.211667 Centimeters.
Interactive conversion
Converter Calculator
Decimals: 1.5 or 1,5. Fractions: 1/2. Scientific notation: 1e3. Write 1000 without grouping separators.
0.026458 Centimeters (cm)
SwitchAPI and AI agent access
px to cm.
Machine-readable identifiers
- Conversion family
typography-units- Source unit
pixels- Target unit
centimeters
Use these identifiers in the API request. Sources and model limits also apply to software clients.
Example API request and response
POST /api/v1/convertRequest
{
"family": "typography-units",
"value": 1,
"from": "pixels",
"to": "centimeters"
}Essential response
{
"ok": true,
"conversion": {
"family": "typography-units",
"value": 1,
"from": "pixels",
"to": "centimeters",
"result": {
"raw": 0.0264583333333,
"display": "0.026458"
},
"canonicalPath": "/typography-units/pixels-to-centimeters/"
}
}Explanation
Multiply by 0.0264583333333 because 1 px = 1 px and 1 cm = 37.79527559055118 px.
Common Conversion Values
| Pixels (px) | Centimeters (cm) |
|---|---|
| 8 | 0.211667 |
| 10 | 0.264583 |
| 12 | 0.3175 |
| 14 | 0.370417 |
| 16 | 0.423333 |
| 18 | 0.47625 |
| 24 | 0.635 |
| 32 | 0.846667 |
| 48 | 1.27 |
| 96 | 2.54 |
Questions & answers
Frequently Asked Questions
What defines px to cm?
Both units are normalized through CSS pixels, then converted using a fixed ratio.