How to Use an Online Ruler (Step-by-Step, With Real Examples)
An online ruler is a quick fix when there’s no ruler in the drawer and you need to know whether a screw is 4 mm or 5 mm, or whether a ring is a size 7. It only helps, though, if the marks on your screen match real-world size, and most of the time they don’t until you set it up properly.
This guide takes you from a fresh browser tab to a measurement you can trust. It covers set-up for each kind of device, how to read the marks, four worked examples, and what to do when the numbers look wrong. It uses Real Online Ruler, but most of the advice applies to any screen ruler.
Before you start: two settings that ruin accuracy
Check two things before you calibrate anything. Both quietly change the size of everything on your screen.
- Browser zoom must be 100%. If you’ve ever pressed Ctrl and + (or Cmd and + on a Mac), the page may still be zoomed. Press Ctrl+0 on Windows or Cmd+0 on a Mac to reset it.
- Use the screen you’ll measure on. If you have a laptop and an external monitor, drag the browser window to the screen you plan to use before calibrating. Each screen has its own pixel density and needs its own calibration.
Step 1: Calibrate for your device
Click Calibrate in the toolbar. You’ll see four tabs: Auto-detect, Device, Diagonal and Card. Which one to use depends on what you’re measuring on.
On a MacBook, iPad or iPhone
Auto-detect usually recognizes Apple devices from their screen settings. Check the result it shows. If the model is right, you’re done. If it’s wrong or says “estimated”, open the Device tab and choose your exact model. The list includes MacBook Air and Pro, iMac, iPad and iPhone models going back several years.
On an Android phone or tablet
Open the Device tab and look for your model. The list covers hundreds of Samsung, Google Pixel, Xiaomi, OPPO, OnePlus, Honor and Nothing devices. If yours isn’t there, use the Card method described below.
On a Windows laptop
Windows laptops vary too much for auto-detect to be reliable, so use the Diagonal method. Find your screen size in your laptop’s specifications, not on the box, which often rounds it. A “14-inch” laptop might really have a 14.0″ or a 14.2″ screen. Type the exact figure and click Apply. If you can’t find the exact size, use the Card method instead.
On an external monitor
A browser can’t tell which monitor it’s on, so auto-detect can only guess. The Diagonal method works if you know the monitor’s exact size. The Card method is the most dependable, because it measures the screen directly.
How the Card method works
This method works on every screen, because every bank card, debit card and ID card is the same size: 85.60 × 53.98 mm.
- Maximize the browser window.
- Open the Card tab. An outline of a card appears at the right edge of your screen.
- Hold your physical card flat against the screen, pressed up to the right-hand edge.
- Drag the slider until the outline matches your card exactly. Use the arrow keys on your keyboard for fine steps.
- Click Apply calibration.
Look straight at the screen while you match the edges. Even a slight angle makes the card look bigger or smaller than it is.
Confirm it worked
After calibrating, the badge on the start screen shows Calibrated, along with the PPI value and the method you used. Your setting is saved in this browser, so you won’t need to repeat this next time unless you change screens, browsers or display settings.
Step 2: Put a ruler where you need it
Pick an edge from the toolbar:
- Top or Bottom: a horizontal ruler, for measuring width
- Left or Right: a vertical ruler, for measuring height
You can turn on several at once. On a laptop, the Bottom ruler is often the easiest to use, because you can rest the object on the keyboard frame and against the bottom of the screen. On a phone, turn the phone sideways to get the longest ruler.
Press F for fullscreen. This hides the browser’s tabs and address bar, giving you the full length of the display.
Step 3: Choose your unit and learn the marks
Press 1 for centimeters, 2 for inches or 3 for pixels. You can switch at any time, and the ruler redraws instantly.
In centimeters: numbers mark each centimeter, a medium tick marks each half centimeter, and the smallest ticks are millimeters. Count whole centimeters, then the small ticks after the last number. If something ends 8 small ticks past the 3, it measures 3.8 cm, or 38 mm.
In inches: numbers mark whole inches, the medium tick is the half inch, and the small ticks are sixteenths of an inch. Count the small ticks after the last number and simplify the fraction. Two ticks is 1/8″, four is 1/4″, eight is 1/2″ and twelve is 3/4″.
In pixels: ticks run every 10 px, with numbers every 100 px. Pixel mode measures CSS pixels, the unit used in web design. It doesn’t need calibration.
Step 4: Measure, the right way
- Line up the zero. Put one end of the object exactly on the 0 mark, not on the edge of the screen frame.
- Lay it flat along the ruler. The edge you’re measuring should run parallel to the ruler, not at an angle.
- Read straight on. Keep your eye directly above the far end of the object.
- Use the live readout for awkward ends. When a ruler is on, a small label follows your cursor and shows its exact position. Point at the far end of the object and read the number.
- Mark both ends if you need to. Press G to turn on guide lines, then click at each end of the object. The lines stay put while you move the object away and read the ruler. Press Esc to clear them.
Rest the object gently against the screen. Never press hard on a laptop or monitor display.
Worked examples
Example 1: Finding your ring size
You want to order a ring online and need your size. Take a ring that already fits the same finger.
- Calibrate, press 1 for centimeters, and turn on the Top ruler.
- Lay the ring flat on the screen with its inner edge touching the 0 mark.
- Read the inside diameter, from the inner edge to the opposite inner edge. Don’t include the band itself.
- Say it reads 17.3 mm. That’s a US size 7. Each size up adds roughly 0.8 mm, so 18.1 mm would be a size 8.
Measure twice, turning the ring a quarter-turn between readings, because rings are rarely perfectly round. If the two readings differ, go with the larger one.
Example 2: Identifying a metric screw
You’ve found a loose screw and need a replacement.
- Switch to centimeters and use the Bottom ruler.
- Measure across the threads at their widest point. A reading of 4 mm means it’s an M4 screw, because metric screws are named after this diameter.
- Measure the length from just under the head to the tip. If it’s a flat-head screw that sits flush with the surface, include the head.
- A 4 mm-wide screw that’s 20 mm long is an M4 × 20.
To find the thread pitch as well, count the threads along 10 mm with the ruler, then divide 10 by that number. Ten threads gives a 1.0 mm pitch. For anything that needs real precision, check it with calipers.
Example 3: Checking a passport photo
Many countries require photos that are 35 × 45 mm. The US requires 2 × 2 inches.
- Lay the printed photo against the Left ruler to check the height, then against the Top ruler for the width.
- Switch units with 1 and 2 to match the requirement you’re checking.
- If the print is off by more than a millimeter or two, adjust your print settings. The most common cause is “fit to page” scaling in the print dialog.
Example 4: Measuring a button on a web page
You’re a designer and want to know how big a button really is in a live website.
- Press 3 for pixels and turn on the Top and Left rulers.
- Press G and click at each corner of the button to mark it with guide lines.
- Read the width and height from the rulers, or hover over each corner and read the live X and Y values.
Pixel readings match the CSS sizes you’d see in your browser’s developer tools.
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| Everything measures a little too big or too small | Browser zoom isn’t at 100% | Press Ctrl+0 or Cmd+0, then measure again |
| The badge says “estimated” | Auto-detect couldn’t identify your device | Pick your model in the Device tab, or use the Card method |
| It was accurate yesterday but not today | You changed screens, display scaling or browser | Calibrate again on the current setup |
| Accurate on the laptop, wrong on the monitor | Each screen has its own pixel density | Calibrate separately while the window is on the monitor |
| The Card outline won’t line up | The browser window isn’t maximized, or you’re viewing at an angle | Maximize the window and look straight at the card |
| Readings change between measurements | Parallax from looking at an angle | Keep your eye directly above the point you’re reading |
When to use a physical ruler instead
A screen ruler is ideal for small, flat objects. Reach for something else when:
- The object is longer than your screen. A 13-inch laptop shows about 28 cm of ruler, and a phone about 14 cm.
- You need engineering precision. For tolerances under half a millimeter, use digital calipers.
- The object is curved, soft or bulky. Fabric, round bottles and tall objects are hard to line up against flat glass.
Keyboard shortcuts
| Key | Action |
|---|---|
1 / 2 / 3 |
Switch to cm / inches / pixels |
G |
Turn guide lines on or off |
Esc |
Clear guide lines |
C |
Turn the crosshair on or off |
F |
Fullscreen |
D |
Dark mode |
H |
Open the built-in help |
The short version
Reset browser zoom, calibrate on the screen you’ll use, pick an edge and a unit, line up the zero and read straight on. Check against a bank card if you’re unsure. Open the ruler and try it on the next thing you need to measure.