Calibrated Online Ruler
Measure the calibration bar with a real ruler. Enter its measured length in cm, then calculate the scale.
Results
—
How the on-screen ruler is calibrated
Measure the calibration bar with a physical ruler and type that length in centimetres. The scale is the bar width in CSS pixels divided by the length you measured.
The ruler is only as good as that measurement, and only for this screen at this zoom. If you change zoom, monitor, or scaling, measure the bar again. The page does not know a true length until you enter one.
Common questions
Why do I need a physical ruler?
CSS pixels are not a fixed length on every screen. The bar has to be measured here before the scale means centimetres.
When should I calibrate again?
After a zoom change, a move to another screen, or a change in display scaling. The previous scale does not follow those changes.
What is the formula?
CSS pixels per centimetre equals the calibration bar width in pixels divided by the centimetres you measured.
How to use this tool
Measure the calibration bar with a real ruler. Enter its measured length in cm, then calculate the scale.
Method and units
CSS px/cm = calibration width(px) / measured length(cm)
What this test can and cannot tell you
Inputs determine the calculation. Calibrate the ruler on this screen and again after zoom or screen changes.
Results reflect events and signals available to your browser. Settings, permissions and device support can affect them; they do not certify that hardware is healthy or faulty.
Input tests run in your browser. Camera and microphone access starts only after you request it.