Measurement Tool

Free Online Screen Ruler Measure in Pixels, CM, MM & Inches

Measure in pixels, centimetres, millimetres or inches. Calibrate once with a bank card for real-world size, or measure distances on a screenshot. No download needed.

Unit
Direction
0 px
Show a length px
Drag on the ruler to measure. Drag an end to adjust it. Arrow keys move the end by 1 px (Shift: 10 px, Alt: move the start). Double-click or Esc clears.
1

Calibrate once

Match a bank card on screen, or enter your screen size, so centimetres and inches are real size.

2

Drag to measure

Drag on the ruler or on a screenshot. The size updates live; drag an end to adjust.

3

Switch units

PX, CM, MM or IN, horizontal or vertical, or go full screen for a longer ruler.

How to Use the Screen Ruler

1

Calibrate Once

Click Calibrate and match a bank card on screen, or enter your screen size. Centimetres and inches then show real size.

2

Drag to Measure

Drag on the ruler to measure, drag either end to adjust, or use the arrow keys. Go full screen for a longer ruler.

3

Switch Units & Orientation

Switch between PX, CM, MM and IN or vertical mode, or open Measure an image to measure on a screenshot.

Frequently Asked Questions

How accurate is this online ruler?
In pixels it is exact. For centimetres, millimetres and inches it is as accurate as your calibration: browsers cannot read the physical size of a screen, so the ruler starts with the web standard of 96 pixels per inch, which is rarely the real size. After calibrating with a bank card or your screen size, it is typically accurate to within a millimetre over a few centimetres.
How do I calibrate the ruler to real size?
Click Calibrate. The easiest method is a bank card, ID card or driving licence, which all share the standard size of 85.60 × 53.98 mm: hold it against the screen and move the slider until the outline matches the card. You can also enter your screen's diagonal size, or type a pixels-per-inch value. Check the 1 cm and 1 inch squares with a real ruler, then click Save.
Why not detect the screen size automatically?
Browsers only report pixels, not the physical size of the screen, and a 15.6 inch laptop and a 27 inch monitor can report exactly the same pixels. Any automatic guess can be off by 50% or more on high-resolution screens, so the ruler asks you to calibrate once instead.
Is the calibration saved?
Yes, in your browser for this screen. If you change the browser zoom or display scaling, the ruler adjusts automatically. If it detects a different screen, it asks you to recalibrate.
Can I measure a real object against my screen?
Yes, after calibrating. Hold the object flat against the screen next to the ruler and drag to its length. Use Full screen for a longer ruler and Vertical for heights.
How do I measure elements on a website or app?
Take a screenshot (for example Windows + Shift + S, or Cmd + Shift + 4 on a Mac), open Measure an image and paste it with Ctrl+V. Drag a line or a box to read distances, widths, heights and angles in pixels. Choose 2× for Retina screenshots or 3× for most phones to see sizes in CSS pixels.
How do I switch between horizontal and vertical?
Click Horizontal or Vertical. The vertical ruler is as tall as your browser window, or the whole screen in Full screen mode.
Can I measure in centimetres, inches or millimetres?
Yes. Click CM, MM or IN at any time; the current measurement is converted straight away. Calibrate first for real-world sizes.
Can I show an exact length, like 5 cm?
Yes. Type the length in Show a length and click Show. The ruler highlights exactly that length, which is handy for checking print sizes or explaining a measurement.
How do I adjust or clear a measurement?
Drag either end of the highlighted area to move it. With the ruler selected, the arrow keys move the end by 1 pixel, Shift moves it by 10 and Alt moves the start. Double-click or press Esc to clear.
Can I use this ruler on a phone or tablet?
Yes. Drag with your finger to measure, and calibrate with a card: on narrow screens the card outline is shown upright so it fits. Scrolling the page no longer clears your measurement.
What is the difference between pixels and inches?
Pixels are dots on the screen; inches and centimetres are physical lengths. How many pixels make an inch depends on the screen, which is why the ruler needs a calibration for physical units.
Do I need to download or install anything?
No. The ruler runs in your browser on Windows, Mac, Linux, iPhone and Android. Images you measure stay on your device and are not uploaded.

Accurate Pixel and Physical Dimension Measurement Tool

Precision Measurements for Web & UI Design

Designers and developers often need the size of a button, an image or the gap between two elements. Take a screenshot, paste it into Measure an image and drag a line or a box: the tool shows the width, height, distance and angle in pixels, with a magnifier for pixel-exact ends. For Retina or phone screenshots, choose 2× or 3× to read the sizes in CSS pixels.

Calibrated Physical Measurements

Need to measure a physical object using your screen? Browsers cannot read the physical size of a screen, so the ruler asks for a one-time calibration: hold a bank or ID card against the screen and match the outline, or enter your screen size. The calibration is saved and follows changes in browser zoom, so centimetres, millimetres and inches match a real ruler.

Privacy-First, Free with No Download

This utility is completely browser-based. There are no background applications to install and no tracking software hidden within the code. Every calculation executes locally on your hardware, ensuring that your workflow and screen data remain private. Get reliable measurement results for free with no registration required and no downloads necessary.

Actual Size Ruler Online

ToolTiny provides an actual size ruler online that can display measurements in centimeters, millimeters, inches, and pixels. After a quick calibration with a standard-size card, the ruler matches real-world dimensions on your screen, and Show a length draws an exact size such as 5 cm.

This makes it useful for measuring small physical objects, printed materials, and screen elements without installing any software.

Virtual Ruler for Any Device

This virtual ruler works directly in your browser and supports desktop computers, laptops, tablets, and smartphones.

Whether you use Windows, macOS, Linux, Android, or iPhone, the ruler adapts to your screen and provides accurate measurements after calibration.

Pixel Measurement Tool for Designers and Developers

As a professional pixel measurement tool, this ruler helps web designers and front-end developers verify spacing, alignment, margins, and element sizes directly on screen.

It is especially useful for responsive design testing, UI reviews, and layout validation without opening additional software.

Measure Screen Size Online

Need to measure a screen element quickly? This online measuring tool lets you drag across any visible area and instantly read the size in pixels, centimeters, millimeters, or inches.

The tool is ideal for measuring images, UI components, documents, screenshots, and presentation slides displayed on your monitor.

Related Design & Dev Tools

Watch: How to Measure on Screen in Pixels, CM and Inches

Open the ToolTiny Screen Ruler, switch units and direction, open the card calibration, then measure a line on an image and change the screenshot scale.

How to Measure on Screen in Pixels, CM and Inches (Free Online Ruler)
Use a free online screen ruler: switch between px, cm, mm and inches, turn it vertical, calibrate with a bank card for real size, and measure…
Read the Guide

Community Comments

500 left
500 characters remaining
Loading comments...