Online ruler - actual size cm and inch ruler on screen with credit card calibration

KeyboardTester.click

Free Online Ruler

Free online ruler in actual size. Measure objects directly on your screen in centimeters, millimeters, and inches. Calibrate with a credit card or your monitor DPI for true 1:1 scale on any laptop, desktop, tablet, or phone.

Download from Microsoft Store Download from Microsoft Store

Online Ruler

An actual-size ruler that lives on your screen. Calibrate once with a credit card or your monitor DPI, then measure anything you can hold up to the display in centimeters, millimeters, or inches.

Calibrate

Place a real credit, debit, or ID card flat on the screen on the dotted strip below, then drag the right-edge handle until the card overlay matches the real card width exactly.

KBT Measure CARD 85.6 MM Calibration card 54 mm tall
Width: 324 px = 85.6 mm = 3.785 px/mm = 96.2 DPI
Status: Using default 96 DPI (uncalibrated)
Tip: if the ruler shows 1 cm but a real ruler shows different, recalibrate using your credit card. Browser zoom of anything other than 100% will throw the calibration off.

Ruler

Rate Online Ruler: Be the first to rate
KeyboardTester.click assistant

Free for your site

Embed this Online Ruler on your website

Add this free, no-signup tool to your own page or blog post in one click — just keep the small credit link.

Online Ruler is a free, browser-based ruler in actual size on screen.

  • Cost: Free, no signup
  • Install: None — runs in the browser
  • Privacy: Runs locally, no uploads
  • Platforms: Windows, macOS, Linux, Android, iOS
  • Time: Under a minute

How An Online Ruler Reaches Real-World Size

Every screen draws content using pixels, but a pixel's physical size depends on the display's pixel density. A 96 DPI office monitor and a 264 DPI iPad both have pixels — but the iPad's pixels are roughly a third as wide. That is why an "online ruler" rendered at a fixed pixel width will look correct on one device and wildly wrong on another. This tool solves the problem with calibration: it builds the ruler from a pixelsPerMm value rather than a fixed pixel count, and lets you set that value either by dragging a credit-card overlay (using the ISO/IEC 7810 ID-1 standard of 85.6 mm x 54 mm) or by entering your monitor's DPI directly. Once calibrated, every centimeter mark and every inch mark is the same physical length as a paper ruler.

Why Credit-Card Calibration Is The Most Reliable Method

Credit cards, debit cards, and government IDs are manufactured to ISO/IEC 7810 ID-1, which fixes their dimensions at 85.60 mm x 53.98 mm with a tolerance under 0.1 mm. That means a card pulled from any wallet anywhere in the world is the same physical size as the one you might use to calibrate at the next computer. By contrast, "Enter your DPI" calibration depends on you knowing your screen's true pixel density — which Windows scaling, macOS "More Space" mode, and browser zoom can all silently change. After calibration, the on-screen ruler stays accurate to within roughly 0.5 mm, which is good enough for sewing, woodworking layout, model-making, school assignments, and verifying that a printable PDF rendered at 1:1 scale.

Browser Zoom, OS Scaling, And Why You Might Need To Recalibrate

Three settings can throw an on-screen ruler off, and they all live below the page itself. Browser zoom (Ctrl/Cmd + and -) directly multiplies the rendered size of every pixel. Windows "Display scale" and macOS Retina-mode density change the relationship between CSS pixels and physical pixels. And switching from a laptop's built-in panel to an external monitor moves you to a totally different DPI. The fix is to recalibrate with the credit card after any of those changes. We store your pixelsPerMm in localStorage per browser, so as long as you keep the same display and the same zoom level, the ruler stays accurate between sessions.

When To Use The Ruler On A Phone Versus A Desktop

On a desktop or laptop, a credit-card-calibrated ruler is good for measuring small physical objects you can press flat against the screen: jewelry, screws and bolts, ribbon, pill capsules, photo prints. Anything that doesn't fit flat (a coffee mug, a book) should still get measured with a real ruler. Phones excel as portable rulers for situations where you forgot a tape measure: checking that a backpack pocket is wide enough for a notebook, or verifying that a piece of furniture matches its listing. Phone DPIs are very high (300-500+) and vary by model, so always credit-card calibrate on phones — the DPI presets are almost certainly wrong for your specific device.

Online Ruler FAQ

Common online ruler questions

Why does the online ruler look smaller or bigger than my real ruler?

Pixel size varies by display. A 96 DPI office monitor has pixels roughly three times wider than an iPad Retina display, so a fixed-pixel ruler will look correct on one screen and wrong on another. Calibrate using the credit-card overlay: drag the right-hand handle until the dark card matches a real ISO ID-1 card (85.

How accurate is credit-card calibration?

Very accurate. Credit cards, debit cards, and government IDs are manufactured to ISO/IEC 7810 ID-1 with a tolerance under 0.1 mm, so any card from any wallet is the same size. After calibration the ruler holds within roughly 0.

Does browser zoom affect the online ruler?

Yes. Browser zoom of anything other than 100% multiplies every rendered pixel and breaks the calibration. Press Ctrl+0 (Windows) or Cmd+0 (Mac) to reset to 100%, then recalibrate. The same applies to Windows display scaling and macOS "More Space" mode -- if you change either, recalibrate.

Can I use the online ruler on a phone or tablet?

Yes, and credit-card calibration is even more important on mobile. Phone DPIs vary widely (300-500+ depending on model) and the DPI presets in the dropdown are mostly desktop values, so they will not be correct for your specific phone. Use a real card to calibrate once and the setting will be remembered.

Windows app

KeyboardTester.click is available from Microsoft Store

Install the official Windows app shortcut, or keep using the same free testing tools in your browser.

Download from Microsoft Store Download from Microsoft Store