What Is Online Ruler?

A free online screen ruler that lets you measure physical objects by calibrating against a known reference (credit card, bank card, A4 paper, US dollar bill, or coin). Features a realistic dual-scale ruler (cm + inches), draggable calipers for precise measurements, crosshair mode, and auto-detection of screen DPI with manual calibration override. Supports millimeters, centimeters, inches (with fractional display), and pixels. Calibration is saved locally for your device.

Sometimes you need to measure a physical object but do not have a ruler or tape measure handy. Online Ruler turns your screen into a precise measurement tool by calibrating against a known reference object — like a credit card, a bill, or a piece of paper — to determine your screen's actual pixels per inch (PPI).

Calibration is the critical first step. Select a reference object from the list — credit card (standard 85.60mm × 53.98mm), A4 paper (210mm), US dollar bill (156mm), US quarter (24.26mm), 1 Yuan coin (25mm), or a custom object. Place the physical object flat against your screen and adjust the calibration slider until the on-screen box matches its real size. The calibration value is saved to your browser's local storage.

Once calibrated, switch to Caliper mode. Two vertical lines with red draggable handles appear on the ruler. Drag the handles to span the object you want to measure. The distance between the handles is shown simultaneously in centimeters (with millimeter precision), inches (with fractional display like 3 1/4"), and pixels.

Additional modes include Pointer mode with a crosshair for tracking position along the ruler, and Ruler view that shows a realistic dual-scale ruler with centimeter markings on the top edge and inch markings on the bottom edge. The ruler spans the full width of your screen for measuring objects up to the width of your display.

Real-World Use Cases for Online Ruler

Measuring a Small Object Without a Physical Ruler

You need to measure the width of a phone case. Place a credit card on your screen and calibrate until the on-screen rectangle matches it exactly. Switch to Caliper mode. Place the phone case on the screen and drag the calipers to its edges. The measurement reads: 8.2 cm, 3 1/4 inches, 310 pixels.

Checking if a Package Will Fit in a Mailer

You need to know if a small box fits in a standard envelope. After calibrating with a credit card, switch to Caliper mode. Place the box on the screen and measure its dimensions one at a time. The ruler's fractional inch display helps compare against envelope dimensions listed in inches.

Measuring Screen Elements for Design Reference

A designer wants to know the physical size of a UI element on their screen. After calibrating their display, switch to Pointer mode. The crosshair tracks position along the ruler. Switch to Caliper mode to measure specific on-screen elements. The pixel measurement is particularly useful for digital design reference.

Why Use Online Ruler?

  • Calibrate with a credit card or other standard-size object for real accuracy
  • Dual-scale ruler: centimeters (top) and inches (bottom) with proper subdivisions
  • Draggable calipers with real-time distance readout
  • Pointer mode with crosshair for position tracking
  • Local storage saves calibration for your device

How to Use Online Ruler — Step by Step

1

Open Calibration and select a reference object (credit card, A4 paper, or coin).

2

Place the physical object flat against your screen, then adjust the slider until the on-screen box matches its real size.

3

Choose Caliper mode and drag the red handles to span the object you want to measure.

4

Read the measurement in cm, inches, and pixels simultaneously.

Who Is Online Ruler Best For?

  • crafters
  • DIY enthusiasts
  • designers
  • anyone needing to measure physical objects without a tape measure

Pro Tips for Online Ruler

  • 1Calibration is everything. For best accuracy, use a credit card or ID card — these are manufactured to exact international standards. Ensure the physical card lies perfectly flat on the screen.
  • 2Your calibrated PPI is saved in local storage. You only need to calibrate once per device unless you change monitors, screen resolution, or zoom level.
  • 3The fractional inch display (e.g., 3 1/4") is useful for woodworking, crafting, and DIY projects where fractional measurements are standard. The cm/mm display is best for precision work.
  • 4The ruler spans the full screen width. For objects wider than your screen, measure in segments and add the measurements together.

Online Ruler — Frequently Asked Questions

How accurate is the online ruler?

After calibration with a credit card, accuracy is typically within 1-2mm on most displays. The key is to carefully match the on-screen rectangle to your physical reference object using the calibration slider.

What if I don't have a credit card?

You can calibrate using A4 paper (210mm wide), a US dollar bill (156mm), a US quarter (24.26mm diameter), a 1 Yuan coin (25mm), or select "Custom" to enter any known size.

Does calibration persist between visits?

Yes. Your calibrated PPI is saved to your browser's local storage. You only need to recalibrate if you switch monitors or change screen resolution.

How do I use the calipers?

Switch to Caliper mode, then drag the red triangular handles on the vertical lines. The distance between them updates in real time. You can also click anywhere in the measurement area to snap the nearest handle to that position.

How accurate are the calculations?

All calculations use double-precision floating-point arithmetic following IEEE 754 standards. Financial calculations like loans and compound interest are verified against standard spreadsheet formulas.

Ready to Use Online Ruler?

Free online tool — works in your browser, no sign-up required. Start using it right now.

Try It Now
Free Forever · No Sign-up

182 Free Tools at Your Fingertips

All free online tools for developers, designers, students, and creators. Every tool works in your browser — no sign-up, no data collection.