How to convert centimeters to inches
Divide centimeters by 2.54. One international inch is defined as exactly 2.54 centimeters.
inches = cm ÷ 2.542.54 cm = exactly 1 inch.
Convert 30 cm to in
Apply the conversion rule to 30 centimeters. Using the default settings, the result is 11.811024 in.
cm to in conversion table
These pre-calculated values use the same formula and default settings as the converter above.
| centimeters (cm) | inches (in) |
|---|---|
| 1 cm | 0.393701 in |
| 2.54 cm | 1 in |
| 5 cm | 1.968504 in |
| 10 cm | 3.937008 in |
| 20 cm | 7.874016 in |
| 25 cm | 9.84252 in |
| 30 cm | 11.811024 in |
| 50 cm | 19.685039 in |
| 75 cm | 29.527559 in |
| 100 cm | 39.370079 in |
| 150 cm | 59.055118 in |
| 200 cm | 78.740157 in |
Code and calculation snippets
Reuse the same conversion in a stylesheet or application. Keep contextual font sizes configurable when working with relative CSS units.
const inches = centimeters / 2.54;inches = centimeters / 2.54Using the result accurately
Use the number of decimal places appropriate for the original measurement. Extra displayed precision cannot make an imprecise measurement more accurate.
This is a linear unit conversion. The output does not account for measurement tolerance, rounding in the source value, or device calibration.
Reference: NIST Guide to the SI: conversion factors.