Online Ruler – Actual Size in inches, cm & mm (To Scale)
A free online ruler that shows inches, centimeters, and millimeters at true actual size. Calibrate it to your screen once, then hold an object against the display to measure its length on any phone, tablet, laptop, or monitor.
How to use the online ruler
Calibrate your screen.
First, make sure your browser zoom is set to 100% (Ctrl+0 or Cmd+0). Then open Calibrate and pick a method: choose your device preset, enter your screen diagonal size, or align a bank card with the on-screen card guide. Calibrating once matches the on-screen ruler to real-world physical units on your display.
Turn on the edges you need.
Switch on Top, Bottom, Left, or Right rulers. Several can run at once for a full-frame measuring setup.
Choose your unit.
Pick centimeters, inches, or pixels from the toolbar, or switch on the fly using keyboard shortcuts (1, 2, or 3).
Place your object.
Rest it flat against the screen edge with one end at the zero mark, and look straight at the screen. Keep sharp or hard objects from scraping the glass.
Read or mark the measurement.
Read the mark where the object ends. Click a ruler track to drop a guide line, or turn on Crosshair for a live readout that follows your pointer.
How this online ruler stays accurate
Browsers can't read the physical size of your screen. Web pages measure in CSS pixels, and CSS defines one inch as 96 of them, but that is a layout convention, not a fact about your hardware. Real screens vary widely: a 24-inch 1080p monitor has about 92 physical pixels per inch, a 13.3-inch laptop with a 2560 × 1600 display about 227, and many phones more than 400. A ruler that simply trusts the 96-per-inch convention is only close on some screens, and noticeably too short or too long on many others.
This online ruler tool asks for one piece of real-world information and turns it into an exact pixels-per-inch value:
- Device presets. Pick your model from the list and the ruler uses its known screen size and resolution.
- Screen diagonal. Enter the corner-to-corner size of your screen. Pixel density is the diagonal in pixels, √(width² + height²), divided by the diagonal in inches. A 1920 × 1080 screen measuring 24 inches works out to about 92 PPI.
- Bank card. Standard bank cards follow the ISO/IEC 7810 ID-1 size: 85.60 × 53.98 mm (3.370 × 2.125 in). Match a card to the on-screen outline and the ruler scales to it. This is usually the most reliable method, because it is checked against your actual screen rather than a spec sheet.
Auto-detect makes an educated guess from your screen's resolution and pixel density, so treat it as a starting point and confirm it against a card or a known object. Keep your browser zoom at 100%: zooming changes the scale, so recalibrate if you change it.
Screen ruler vs. AR camera measuring: AR camera apps (such as Apple Measure or Google’s AR measuring tools) estimate distances using augmented reality. They are handy for larger objects like furniture and rooms, but readings are often off by a centimeter or more. For small objects you can hold against the screen, a calibrated screen ruler is far more precise because it aligns directly with your display's physical pixel grid.
Read the longer write-up: Why your on-screen ruler is probably the wrong size
What you can measure with an online ruler
Small objects around the house
Screws, batteries, keys, coins and jewelry when there's no ruler or tape to hand.
Documents and photos
Check the size of a printed photo, ID card, SIM card or memory card.
Crafts, sewing and DIY
Measure fabric swatches, beads, buttons, paper and miniature models.
Design and print checks
Compare a printed label, sticker or packaging sample against its intended size in millimeters or inches.
Online ruler FAQ
Is there a ruler online?+
How to use an online ruler?+
How to read a ruler online?+
How to measure cm online?+
How to identify 1 inch?+
Can I use my phone or a smartphone as a ruler?+
Can I use my camera as a ruler?+
Is this online ruler accurate and true to scale?+
Can I use this as a 12 inch online ruler?+
How can I measure an object longer than my screen?+
How do I calibrate with a bank card?+
My measurement doesn't match a real ruler. What's wrong?+
Does the ruler require installation or an account?+
More measurement tools
View Cluster →Spirit Level
Check whether a surface is level using your phone's motion sensors.
Protractor
Measure and draw angles in degrees right on your screen.