SwapUnits

    Convert

    px → in

    Pixel (CSS)
    px
    Inch
    0.0104
    in
    Rounded result (4 decimals max)

    Formula

    in = px ÷ 96

    1 px = 0.0104 in

    Conversion sourcesTap or click to view references
    • CSS Values and Units Module Level 3, Absolute lengths

      World Wide Web Consortium (W3C). Defines the CSS absolute lengths: 1in = 2.54cm = 96px, 1pc = 1/6th of 1in, 1pt = 1/72nd of 1in, 1px = 1/96th of 1in, 1mm = 1/10th of 1cm and 1Q = 1/40th of 1cm. The px is the reference pixel, not a device pixel. View source

    Results update as you type. Swap the direction to convert back from in to px, or open the in to px converter.

    px to in quick table

    Multiply any row by the same factor to scale results. Use the converter above to enter exact values with your own units.

    Pixel (CSS) (px)Inch (in)
    0.25 px0.00260417 in
    0.5 px0.00520833 in
    1 px0.0104167 in
    2 px0.0208333 in
    5 px0.0520833 in
    10 px0.104167 in
    25 px0.260417 in
    100 px1.04167 in

    in back to px

    Use the reverse table when double-checking calculations or undoing a conversion.

    Inch (in)Pixel (CSS) (px)
    0.25 in24 px
    0.5 in48 px
    1 in96 px
    2 in192 px
    5 in480 px
    10 in960 px
    25 in2,400 px
    100 in9,600 px

    More typography conversions

    Compare all typography units

    See every typography unit side by side, with reference tables, tips and answers to common questions.

    Open category guide