inch to cm formula code example Example 1: inch to cm 1 inch = 2.54 cm Example 2: inch to cm 1 cm = 0.39370079 inch 1 inch = 2.54 cm