On-Screen Ruler
Convert pixels to inches and centimetres at a stated DPI.
Quick answer: enter your details below and click Convert length — your result appears instantly, right here in your browser. Nothing you enter is uploaded or stored.
O
Image & Design
Enter your details below.
How to use
- Enter a length in pixels.
- Enter the DPI, or leave the default 96.
- Read the inch and centimetre equivalents.
About this tool
This tool converts a pixel length to inches, centimetres and millimetres using the DPI value you give it. It assumes 96 DPI by default, which is a common screen convention, but real screens vary, so treat on-screen inches as an estimate, not a physical measurement.
Frequently asked questions
Why 96 DPI?
It is the long-standing default screen DPI used by many systems, so it is a useful common reference.
Will this match a physical ruler on my screen?
Not exactly, because real screen DPI varies by device and zoom level.