Online Ruler

A free virtual ruler for your screen. Measure in centimetres or inches with optional calibration for accurate results.

96 PPI (place a credit card on screen to calibrate)

How To Use the Online Ruler

1
Choose Your Unit

Select centimetres or inches using the toggle buttons above the ruler.

2
Calibrate for Accuracy

Place a credit card (85.6mm / 3.37in wide) on screen and adjust the slider until it matches the ruler exactly.

3
Measure Your Object

Place the object against the ruler on your screen and read the measurement directly.

About the Online Ruler

The ToolCentrix Online Ruler is a free virtual ruler that displays directly on your screen, allowing you to measure objects in centimetres and inches without a physical ruler. It uses your screen's pixel density (PPI) to calculate accurate measurements and includes a calibration slider for fine-tuning.

How screen rulers work: Every screen has a pixel density measured in pixels per inch (PPI). By knowing this value, a browser can draw a ruler where each centimetre or inch corresponds to the correct number of pixels. The default PPI is set to 96 (a common standard), but your screen may differ, which is why calibration is important.

Calibrating for accuracy: The most reliable calibration method is to use a standard credit card, which is exactly 85.6mm (3.37 inches) wide. Place the card against the ruler on your screen and drag the slider until the ruler matches the card's width precisely. This calibration corrects for any differences in your screen's reported pixel density.

Use cases: The online ruler is useful for quickly measuring small objects like phone screens, books, paper sizes, envelopes, or craft materials when you don't have a physical ruler nearby. It is also useful for web designers and developers who want to measure UI elements on screen.

Limitations: The online ruler is not a substitute for a precision measuring instrument. For engineering, medical, or legal measurements requiring certified accuracy, always use a calibrated physical ruler or measuring device.

ToolCentrix Online Ruler is completely free, works in all modern browsers, and requires no downloads or installation.

Frequently Asked Questions

How accurate is an online ruler? +
Accuracy depends on your screen's pixel density (PPI). Use the calibration feature with a credit card (85.6mm wide) placed on screen to adjust for your specific display and get the most accurate results.
How do I calibrate the online ruler? +
Place a credit card on your screen. Use the calibration slider to adjust the ruler until it matches the card's width (85.6mm / 3.37in) exactly. This corrects for screen PPI differences.
Can I switch between cm and inches? +
Yes. Click the Centimetres or Inches button above the ruler to switch units instantly. The ruler redraws immediately in the selected unit.
Does the online ruler work on mobile? +
It works on mobile browsers but accuracy may vary by device. For best results, use a desktop or laptop and calibrate with a known object.
What can I measure with an online ruler? +
You can measure small physical objects by placing them against the screen, estimate dimensions of items next to your monitor, or use it as a quick reference when no physical ruler is available.

Related Tools

Embed This Tool

Add this tool to your website for free. Only the tool is embedded — no header or footer.

<iframe src="https://toolcentrix.com/online-ruler/#tool-section" width="100%" height="300" frameborder="0" title="Online Ruler"></iframe>