Place a ruler on any edge.
Choose an edge from the toolbar above, or click a shortcut below.
Place a ruler on any edge.
Choose an edge from the toolbar above, or click a shortcut below.
Real Online Ruler turns the screen you’re looking at into a ruler that matches real-world size. Calibrate it once, place a ruler along any edge of the screen, and measure small objects in centimeters, millimeters or inches. It also measures in CSS pixels for design work. It runs in your browser on laptops, desktop monitors, tablets and phones, with nothing to install.
This page explains how to get an accurate reading, why most screen rulers come out the wrong size, and how to read the tick marks. It also lists everyday objects you can use to check your calibration, so you can trust the number you read.
For a full walkthrough with worked examples, read our guide on how to use an online ruler. If you work with slides, see how to show the ruler in PowerPoint Online.
A screen draws everything with pixels, but the physical size of a pixel varies a lot from screen to screen. The number that matters is pixels per inch (PPI): how many pixels fit in one physical inch on your display.
Web browsers work in CSS pixels, and the CSS standard defines one inch as exactly 96 CSS pixels. Most online rulers rely on that rule, so they draw an “inch” 96 CSS pixels long and hope for the best. The problem is that no modern screen actually shows 96 CSS pixels per physical inch. A high-resolution laptop packs its pixels more tightly. Phones use several physical pixels for each CSS pixel. A large monitor spreads its pixels further apart. The result is a ruler that looks right but measures wrong.
Here is what happens when an uncalibrated ruler draws a 10 cm line on some common screens:
| Screen | Real CSS pixels per inch | An uncalibrated “10 cm” actually measures |
|---|---|---|
| 24″ 1080p monitor, 100% scaling | about 92 | 10.5 cm |
| 27″ 1440p monitor, 100% scaling | about 109 | 8.8 cm |
| 15.6″ 1080p laptop, 125% scaling | about 113 | 8.5 cm |
| MacBook Air 13″ | about 114 | 8.5 cm |
| iPhone 11 Pro | about 153 | 6.3 cm |
An error of 15% or more is enough to make a measurement useless. Calibration fixes this by working out the real number of CSS pixels per inch on your screen, so that a centimeter on screen is a centimeter in real life.
The calibration window offers four methods. They all reach the same goal, but they suit different situations:
| Method | How it works | Best for |
|---|---|---|
| Auto-detect | Matches your screen resolution, pixel ratio and platform against known devices. | Popular MacBooks, iPads and phones. Falls back to a rough estimate if there’s no match. |
| Device | You choose your model from a list of 370 laptops, tablets, phones and monitors. | The most accurate option when your model is listed. |
| Diagonal | You enter the screen diagonal in inches, and the PPI is calculated from your resolution. | Laptops and monitors whose exact size you know. |
| Card | You resize an on-screen card until it matches a real bank card. | Any screen, especially external monitors and unlisted devices. |
Auto-detect is a starting point, not a guarantee. Different models can report identical screen settings to the browser, so the best match isn’t always your model. If the status badge shows the wrong model or says “estimated”, click it and pick your device by hand.
With the Diagonal method, check the exact size. Manufacturers often round screen sizes in their marketing. A laptop sold as “14-inch” may really be 14.2 inches, and that small difference shifts every measurement by about 1.5%. Look up the precise diagonal in the full technical specifications.
The Card method measures your real screen. Every credit card, debit card, ID card and most loyalty cards follow the same international standard (ISO/IEC 7810 ID-1): 85.60 × 53.98 mm. Because you match a real object, this method corrects for errors that the other methods can’t see. To get the best result, maximize the browser window, hold the card flat against the screen and use the arrow keys for fine adjustments. Match the edges by looking straight at the screen, not from an angle.
In centimeter mode, every numbered tick is one centimeter. A slightly longer tick marks the half centimeter (5 mm), and each short tick is one millimeter. To read a measurement, count the whole centimeters, then add the millimeters after the last number. An object that ends three short ticks past the 6 is 6.3 cm, or 63 mm long. Need millimeters? Multiply centimeters by ten.
In inch mode, the longest ticks are whole inches, the medium tick is the half inch, and the short ticks divide each inch into sixteenths. To find a fraction, count the short ticks after the last whole inch and simplify. Four sixteenths is 1/4 inch, six sixteenths is 3/8 inch, and twelve sixteenths is 3/4 inch. This table converts the common fractions:
| Fraction | Sixteenths | Decimal inches | Millimeters |
|---|---|---|---|
| 1/16″ | 1 | 0.0625 | 1.59 mm |
| 1/8″ | 2 | 0.125 | 3.18 mm |
| 3/16″ | 3 | 0.1875 | 4.76 mm |
| 1/4″ | 4 | 0.25 | 6.35 mm |
| 5/16″ | 5 | 0.3125 | 7.94 mm |
| 3/8″ | 6 | 0.375 | 9.53 mm |
| 1/2″ | 8 | 0.5 | 12.70 mm |
| 5/8″ | 10 | 0.625 | 15.88 mm |
| 3/4″ | 12 | 0.75 | 19.05 mm |
| 7/8″ | 14 | 0.875 | 22.23 mm |
| 1″ | 16 | 1.0 | 25.40 mm |
Pixel mode measures in CSS pixels, the same unit used in CSS, Figma and most design tools. Small ticks are every 10 px, a medium tick marks every 50 px and numbers appear every 100 px. This mode doesn’t depend on calibration, so it’s useful for checking spacing, element sizes and alignment in a web page or screenshot.
When a ruler is on, a small label follows your cursor and shows its exact X and Y position, to a tenth of a centimeter or inch. Press G to turn on guide lines, then click to drop a horizontal and a vertical reference line through that point. These are useful for marking both ends of an object. Press Esc to clear them. Press C for a crosshair that follows your cursor across the whole screen, and F for fullscreen, which gives you the most length to measure.
The best way to trust a screen ruler is to test it against something whose size is fixed by a standard. If your reading matches one of these to within a millimeter, your calibration is good:
| Object | Standard size |
|---|---|
| Credit, debit or ID card | 85.60 × 53.98 mm (3.370 × 2.125 in) |
| US quarter | 24.26 mm diameter |
| US penny | 19.05 mm diameter (exactly 0.75 in) |
| 1 euro coin | 23.25 mm diameter |
| 2 euro coin | 25.75 mm diameter |
| UK £1 coin | 23.43 mm diameter |
| Canadian $1 coin | 26.50 mm diameter |
| US banknote | 156 × 66.3 mm (6.14 × 2.61 in) |
| SD memory card | 32 × 24 mm |
| microSD card | 15 × 11 mm |
| A4 paper | 210 × 297 mm |
| US Letter paper | 8.5 × 11 in (215.9 × 279.4 mm) |
If the ruler is off, don’t adjust your reading in your head. Calibrate again with the Card method, then test once more.
A screen ruler is best for small, flat or rigid objects you can hold against the display. Here are some of the most common jobs:
Lay a ring that already fits on the screen and measure its inside diameter, from inner edge to inner edge. Then compare it with the US ring size chart:
| Inside diameter | US ring size |
|---|---|
| 15.7 mm | 5 |
| 16.5 mm | 6 |
| 17.3 mm | 7 |
| 18.1 mm | 8 |
| 19.0 mm | 9 |
| 19.8 mm | 10 |
| 20.6 mm | 11 |
Each full size is roughly 0.8 mm of diameter, so take your time with the measurement. For an expensive ring, confirm the size with a jeweler before you buy.
Metric screw sizes are named after the thread’s outer diameter in millimeters, so an M4 screw is 4 mm across and an M6 is 6 mm. Measure across the threads at their widest point, and measure the length from under the head to the tip. For a flat-head (countersunk) screw, include the head in the length. The same approach works for drill bits, washers, wall plugs and nails.
Beads, pendants, buttons and gemstones are usually sold by size in millimeters. A screen ruler makes it easy to match a replacement bead, check a clasp or size a button without leaving your chair. Crafters also use it to check paper templates, stamps and fabric swatches.
Check whether a printout came out at the right scale, measure a passport photo (often 35 × 45 mm, or 2 × 2 inches in the US) or confirm a label size before printing a full sheet.
Designers and developers use pixel mode to check spacing, margins and element sizes directly in the browser. Physical units help confirm that printed materials and on-screen mockups will come out at their intended size. When a mockup arrives as a flat image, you can pair the ruler with a font finder to identify the typeface before measuring its cap height and line spacing.
An honest tool should tell you where it stops being the right tool. Keep these limits in mind:
One inch is defined as exactly 2.54 cm, or 25.4 mm. To turn inches into centimeters, multiply by 2.54. To turn centimeters into inches, divide by 2.54, or multiply by roughly 0.3937. A 12-inch (one-foot) ruler is 30.48 cm, and a 30 cm school ruler is about 11.8 inches. You can also switch the on-screen ruler between units at any time with 1 and 2 to compare them side by side.