How to convert CSS millimetres to CSS inches
in = mm ÷ 25.4
Divide the mm reading by 25.4.
Worked examples
1 mm ≈ 0.03937007874 in
1 ÷ 25.4 ≈ 0.03937007874
Font basis for this example: element 16 px; root 16 px.
25.4 mm ≈ 1 in
25.4 ÷ 25.4 ≈ 1
Font basis for this example: element 16 px; root 16 px.
Frequently asked questions
Which font or display assumption applies?
em and rem depend on the specified font context. CSS absolute units have fixed relationships to reference pixels, which do not necessarily equal physical display pixels.