Calibrate before measuring
A browser pixel is not a fixed physical length on every screen. Monitor density, operating-system scaling and browser zoom all affect how much real space a CSS pixel occupies. This ruler begins with an estimated scale and clearly marks measurements as uncalibrated. Do not assume the initial millimeter labels match a physical ruler.
Place a reference with a known measured length against the display. Enter its length in millimeters, then adjust Reference bar width until the visible bar matches it. Confirm calibration only after aligning the two ends. The bar must fit inside the panel and be at least 20 CSS pixels wide. A longer accurately known reference generally makes small alignment errors less influential.
Measure between the markers
Drag the red or blue marker to the desired endpoint. A press chooses the nearest marker and moves it to the pointer position. The reported distance is the absolute separation between the markers. Millimeters and inches are shown together, while Screen distance reports the corresponding CSS-pixel separation. The markings menu changes the ruler ticks, not the calibration itself.
For keyboard adjustment, focus the ruler and use Left or Right to move the second marker by one CSS pixel. Hold Shift for ten-pixel steps. Home and End move it to the corresponding edge. Reset markers returns to a short initial separation without changing a confirmed scale.
Worked calibration example
If a 50 mm reference exactly matches a 200 CSS-pixel bar, the calibrated scale is 4 pixels per millimeter. A 100-pixel marker separation then represents 25 mm, or about 0.984 inches. The conversion uses exactly 25.4 millimeters per inch. If the reference was actually 49 mm rather than 50 mm, every physical result inherits that reference error even though the screen-coordinate arithmetic is consistent.
What changes invalidate the scale?
The tool marks calibration as invalid when the viewport or ruler width changes. Recalibrate after browser zoom, display changes, operating-system scaling changes, device rotation or any other change that affects physical size. A browser cannot reliably identify every change to a connected display, so a calibration indicator is not a guarantee of physical accuracy. Calibration is not saved between visits.
Use the result appropriately
This is a convenient screen reference, not a certified measuring instrument. It cannot measure a three-dimensional object, infer camera distance or establish a ring size from a photograph. Use a physical ruler or suitable instrument for engineering, health or other critical measurements. No photos, measurements or calibration values are uploaded or stored in browser history by the tool itself. For numerical unit conversion without a physical screen measurement, use the unit converter.
Frequently asked questions
Is the initial ruler actual size?
Not necessarily. Match a known physical reference and confirm calibration before using physical units.
What is a CSS pixel?
It is a browser layout unit. Its physical size depends on the display and scaling settings.
Can it measure accurately from a photograph?
No. This tool measures a calibrated screen-coordinate separation, not real-world perspective or camera distance.
Last updated: November 14, 2026