Online Ruler – Accurate Real-Size Ruler in Inches, cm, mm

Measure in cm, inches, or mm with this accurate online ruler. A real-size, printable tool for desktop or phone that works vertically or horizontally.

What can you do with the online ruler tool on onlinecompass.net?

The online ruler tool on onlinecompass.net allows users to accurately measure lengths and dimensions directly on their screen. It supports units such as centimeters, millimeters, and inches (with inch subdivisions like 1/32, 1/16, 1/8, ¼, and ½ for higher precision). Users can calibrate the ruler using a standard-sized bank card, ensuring accuracy based on ISO dimensions.

The tool offers four measurement modes: marking a single point, drawing length from one side, measuring between two custom points, and creating rectangular shapes using both length and width. It is responsive, adapting to different screen sizes and orientations, and includes options to lock measurements, apply custom values, and download the visual result as an image. Calibration is crucial and must be done at 100% screen zoom for reliable results. Whether you need precise digital measurements for design, layout, or comparison, this ruler tool provides a user-friendly and accurate solution.

Calibrating the Ruler

To calibrate the ruler, place your bank card over the card displayed on the screen. Then, adjust the size using the scale slider until your card perfectly matches the one shown. Once aligned, click the Save Calibration button to ensure the ruler reflects the calibrated scale. If you skip this step, the ruler will remain uncalibrated.

Note: This tool uses the standard size defined by the International Organization for Standardization (ISO), where credit, debit, and gift cards must measure 8.56 cm by 5.398 cm. Make sure your browser is set to 100% zoom during calibration. Avoid zooming in or out, as it will affect accuracy.

online ruler

Measurement Units Supported

The ruler can display measurements in centimeters (cm), millimeters (mm), and inches. For inches, you can choose subdivisions like 1/32, 1/16, 1/8, ¼, and ½ inch to achieve greater measurement precision.

Four Modes of Use

This tool offers four modes for interacting with the ruler. Note that negative values aren't supported—the ruler always starts from zero. It's responsive, meaning it adjusts to your screen dimensions, especially when you rotate your mobile device to landscape mode.

1. Marking a Single Point

Click anywhere on the ruler to get the coordinates (length and width) of that point. Alternatively, you can enter your desired length and width values in the bottom-right corner, then click Apply to mark that point in red.

Use full screen mode for a better view. You can also lock the marked point to prevent it from changing when clicking or tapping again.
You can download the ruler with the marked point using the Download Image button.

2. Drawing a Length from One Side

Drag the colored overlay from the left side of the ruler to the right to represent a length starting from zero. To input a specific length, use the input fields in the bottom-right corner and click Apply.

Use full screen mode for better visualization. You can lock the drawn length to prevent accidental changes. The ruler with the marked length can also be downloaded as an image.

3. Drawing a Length Between Two Points

Drag the colored area from any starting point to your desired endpoint to represent a custom length. You can manually enter the start and end points in the bottom-right fields, then click Apply. For better visibility, enable full screen mode. Locking the length is also possible, and you can download the result as an image.

4. Drawing a Rectangular Area (Length & Width)

In this mode, you can draw both horizontally and vertically to form a square or rectangle (from all four directions: left, right, top, bottom). Enter the starting and ending length and width values in the bottom-right section, then click Apply to draw the colored area. Use full screen for a more comfortable view. Lock the shape to avoid unwanted changes, and download it as an image using the corresponding button.

Why do I need to calibrate the ruler with a bank card?

Screen sizes and pixel densities (PPI/DPI) vary greatly between devices, so an uncalibrated ruler would not match real-world measurements. Using a standard bank card (ISO 7810 ID-1 size: 85.6 × 53.98 mm) provides a known physical reference to scale the on-screen ruler accurately for your specific display.

Does the ruler work accurately without calibration?

No. Without calibration, measurements are based on an assumed average DPI, which can be off by 20–50% depending on your device. Always calibrate at 100% browser zoom for reliable results.

Can I use this ruler on a touchscreen phone or tablet?

Yes, it is fully responsive and works on touch devices. Rotate to landscape for a longer ruler. Touch and drag works the same as mouse drag on desktop.

Is the ruler accurate on high-DPI or Retina displays?

Yes, after proper calibration. The tool accounts for high pixel density once scaled to your bank card, delivering real-size measurements regardless of screen resolution.

Can I measure diagonally or at angles?

No, the tool measures only horizontal and vertical distances (length and width). For diagonal measurements, use the rectangular mode and apply the Pythagorean theorem manually to the length and width values.

Does the ruler work in portrait and landscape orientation?

Yes, it automatically adjusts to your device orientation. Landscape mode provides a longer horizontal ruler, ideal for measuring wider objects.

Can I save my calibration for future visits?

Calibration is stored in your browser’s local storage, so it persists across sessions on the same device and browser until you clear cache/cookies or recalibrate.

Can I measure objects larger than my screen?

Yes, by measuring in sections and adding the values, or by placing the object progressively and noting cumulative marks. The tool itself is limited to your screen dimensions.

Is this ruler suitable for professional use like graphic design or sewing?

Many designers, crafters, and sewers use it for quick checks (e.g., pattern scaling, screen layout verification). For critical professional work, verify against a physical ruler, as minor screen or calibration variances can occur.

Can I print the ruler for offline use?

Yes, use the Download Image button to save a screenshot of the calibrated ruler with markings, then print it. Ensure printer settings are 100% scale (no “fit to page”) for accuracy.

Does the tool work on external monitors or multiple screens?

Yes, it uses the DPI of the display where the browser window is open. Calibrate separately for each monitor if you switch windows between screens.

Can I measure curved or irregular shapes?

No direct support. You can approximate by measuring multiple straight segments and summing them, or use the rectangular mode for bounding boxes.

Why does the ruler appear shorter on my phone than on desktop?

Physical screen size determines maximum ruler length. Phones offer ~10–15 cm in portrait, up to ~20–25 cm in landscape; laptops/desktops can provide 30–60 cm or more.

Can I change the color of the overlay or markings?

Current version uses fixed colors for visibility. The colored overlay and red marks are designed for high contrast on most backgrounds.

Is the inch ruler accurate for both fractional and decimal inches?

It shows traditional fractional subdivisions (1/32, 1/16, etc.). Decimal inch values are not displayed but can be calculated from the fractions.

Does the tool work in all browsers?

Best performance in Chrome, Firefox, Edge, and Safari. Older browsers or those with strict privacy settings may block local storage needed for calibration persistence.