Share this ruler
Share on X Share on WhatsApp Share on Facebook Share on Reddit Share on LinkedIn

Place a ruler on any edge.

Toggle rulers using the buttons below or in the left panel.

Top
Horizontal
Bottom
Horizontal
Left
Vertical
Right
Vertical
Not calibrated — using screen size estimate
ALIGN CARD

Calibrate Your Ruler.

Set the exact pixel density of your screen for accurate measurements.

Detecting…

Screen resolution

—

Calculated pixel density

—
Calibrated: — px/mm

Enter your monitor's diagonal size from the product label or manufacturer specs.

Place your card against the top-left of the screen, then drag the slider until the right edge of the preview matches your card's right edge.

Width: 323 px
Calibrated: 3.77 px/mm · 96.0 PPI
Unit Converter
⚠ Zoom ≠ 100% — measurements may be off. Press Ctrl+0 to reset.

Online Ruler — Actual-Size Screen Ruler (mm, cm, inch)

An online ruler is a free browser-based measurement tool that works directly on your screen — no physical ruler, no app to download. Once calibrated to your display's physical pixel density (PPI), this virtual ruler shows measurements at actual physical size, letting you measure real-world objects in centimeters, millimeters, inches, points, or pixels.

How to Use This Ruler Online

Click any edge button — Top, Bottom, Left, or Right — to place a ruler along that edge of your screen. The ruler appears instantly at actual size. You can activate multiple rulers simultaneously: place a top and left ruler for an L-shaped measurement grid, or enable all four edges to create a full-screen workspace.

Move your cursor over the workspace to see your exact position displayed on the ruler in real time. The live cursor indicator tracks your measurement continuously so you can take readings without clicking.

Five Measurement Units: cm, mm, Inches, Points & Pixels

Switch between five units at any time using the unit selector in the nav bar:

A built-in unit converter (press C) converts between mm, cm, inches, and px in real time without interrupting your workflow.

Screen Calibration for Actual-Size Accuracy

For an online ruler to show accurate physical dimensions, it must know your screen's physical pixel density (PPI — pixels per inch). This screen ruler offers three calibration methods:

Your calibration is stored locally in your browser so it is ready the next time you return — no need to recalibrate on every visit.

More Than a Basic Digital Ruler

This free online measuring tool includes features typically found in professional design software:

Who Uses an Online Ruler?

Graphic designers and UI developers use a screen ruler to verify spacing and element dimensions in mockups. Web developers use pixel mode to check CSS layouts without leaving the browser. Students reach for it when a physical ruler isn't nearby. Tailors and hobbyists use it to measure pattern pieces or fabric on screen. Photographers check print crop dimensions before ordering. Architects verify drawing scales against real dimensions.

Any time you need a quick, accurate digital measuring tool without installing software, open this free online ruler in any desktop or laptop browser — no signup required, no cost.

Why We Built It

Most "online rulers" are static images at a fixed pixel width — they are only accurate on one specific monitor at 100% zoom. We wanted a ruler that calibrates to your screen's actual PPI and renders at true physical scale on any device, with single-pixel quantization bounded only by your display's physical pixel pitch (Δx = 25.4 / PPI mm).

The result is a tool you can trust for real measurements, whether you are checking a design mock-up, verifying a print crop, or measuring an everyday object against your screen.

Authoritative Sources & Standards

  1. NIST Special Publication 330 — The International System of Units (SI) — National Institute of Standards and Technology (NIST)
  2. ISO 8601 Date and Time Representation Standard — International Organization for Standardization (ISO)

Frequently Asked Questions

Do online rulers work?

Yes, online rulers work accurately when calibrated to your screen's physical pixel density (PPI). Without calibration, browsers report logical CSS resolution (96 × window.devicePixelRatio) rather than true physical PPI. After calibrating with a standard credit card (85.60 × 53.98 mm) or your manufacturer screen diagonal, single-pixel quantization resolution is Δx = 25.4 / PPI mm (≈ 0.265 mm at 96 PPI and ≈ 0.112 mm at 227 PPI Retina), plus your physical alignment tolerance.

What is the ruler for measuring online?

An online ruler is a browser-based measuring tool that renders a graduated scale — in centimeters, millimeters, or inches — directly on your screen at actual physical size. It works by calculating your screen's pixel density and mapping each unit of measurement to the correct number of pixels. Use it to measure objects placed against the screen, verify design dimensions, or check print crop sizes without any app to download.

How big is 1 cm in actual size?

One centimeter is exactly 10 millimeters and approximately 0.394 inches (or 28.35 typographic points). On screen, 1 cm occupies a number of pixels equal to your display's PPI divided by 2.54. At 96 PPI, 1 cm is about 37.8 px; at 227 PPI (Retina), it is about 89.4 px. On a correctly calibrated online ruler, 1 cm renders at its true physical width regardless of your screen's native resolution.

How do digital rulers work?

A digital ruler calculates your screen's pixel density (pixels per inch, or PPI) and converts measurement units into an exact pixel count. It then draws tick marks and labels at those pixel positions so the distance between each millimeter or inch mark matches the real physical distance on your screen. Because browser-reported DPI (96 × devicePixelRatio) reflects logical CSS resolution rather than physical PPI, calibrating with a standard credit card (85.60 × 53.98 mm) or manufacturer screen diagonal provides true physical accuracy.

What is the accuracy of a ruler?

On a calibrated digital ruler, single-pixel resolution is bounded by physical pixel pitch (Δx = 25.4 / PPI mm): roughly 0.265 mm per pixel at 96 PPI and 0.112 mm per pixel at 227 PPI Retina, plus physical edge-alignment tolerance when holding an object against the glass. A standard physical ruler carries 1 mm graduations (reading tolerance of half a division), while a vernier caliper measures to 0.05–0.1 mm.

How to perfectly use a ruler?

  1. Calibrate your screen's PPI using a standard credit card (85.60 × 53.98 mm) or your monitor's diagonal size.
  2. Align the zero graduation mark with one end of the object.
  3. Keep the object flat and read straight-on at eye level to avoid parallax error through the display glass.
  4. Drag a guide line from the ruler edge to lock an exact position and read the coordinate from the guide label for a pixel-precise measurement.

How does a ruler read?

To read a ruler, align its zero graduation mark with one edge of the object you are measuring, then find the graduation mark at the opposite edge and read the number — that is the object's length in the ruler's unit. On this online ruler, place guide lines at each edge of the object and subtract the two coordinates shown on the guides, or watch the live cursor indicator which displays your distance from the ruler's zero point in real time.