Measurement Tool

Online Screen Ruler

Measure anything on your screen in pixels, centimetres, inches or millimetres. Drag to measure, adjustable DPI — no download needed.

Unit
Direction
DPI
0 px
1

Set your DPI

Click "Auto" to detect your screen DPI, or enter it manually for accurate cm/mm/inch measurements.

2

Drag to measure

Click and drag anywhere on the ruler to create a measurement range. The exact size is shown live.

3

Switch units

Toggle between PX, CM, MM and IN anytime. Flip to Vertical for height measurements.

Frequently Asked Questions

How accurate is this online ruler?
Accuracy depends on your screen's DPI (dots per inch). Use the "Auto Detect" button to get the most precise DPI for your display. For standard 96 DPI monitors the ruler is very accurate. High-DPI / Retina screens may need a manual adjustment.
What does DPI mean and why does it matter?
DPI (Dots Per Inch) is the number of pixels in one inch of your screen. The default is 96 DPI for most Windows monitors. MacBook Retina displays are typically 144–220 DPI. Setting the correct DPI is essential for accurate cm, mm and inch measurements.
Can I use this ruler to measure objects on screen?
Yes. Hold a physical object against your screen next to the ruler and read the measurement. Make sure your DPI is correctly set for the most accurate physical measurements.
How do I switch between horizontal and vertical?
Click the "Horizontal" or "Vertical" button in the controls bar. The ruler will rotate automatically. Vertical mode is useful for measuring heights and portrait-oriented objects.

Related Tools