Screen Ruler
Calibrate an on-screen ruler and inspect dimensions in centimeters and inches.
Compare this bar with a standard credit card: 85.6 mm wide.
How to use
- Match the credit-card reference or adjust the PPI slider.
- Choose horizontal or vertical orientation.
- Measure against the labeled centimeter and millimeter marks.
About this tool
A screen ruler measures layout distances directly against your display in centimeters and inches. Browser pixels are not automatically physical millimeters: operating-system scaling, browser zoom, monitor density, and the viewing device all affect the relationship. This ruler therefore includes an explicit calibration control rather than claiming that a default CSS pixel is physically accurate. Move the PPI slider until a known object, such as a standard credit card, matches its real width of 85.6 millimeters. The ruler then derives its tick spacing from pixels per inch: one inch is PPI pixels and one centimeter is PPI divided by 2.54. Horizontal and vertical orientations make it useful for checking widths, heights, spacing, print previews, and responsive mockups. Optional screen diagonal and width and height inputs provide a calibration hint for any display resolution. Calibration is saved in local storage so the ruler keeps its setting on the same browser and device. It is not a substitute for a physical measuring instrument when manufacturing precision matters; use it for design inspection and approximate on-screen comparisons. Keep browser zoom at a known value and calibrate again after moving to another monitor. The compact minor marks represent millimeters, while the labeled major marks represent centimeters. Everything is rendered locally, with no camera, network request, or external measurement service.
Frequently asked questions
Related tools
Aspect Ratio Calculator
Calculate matching image and video dimensions for 16:9, 4:3, square, portrait, cinema, and custom aspect ratios.
Open Graph Previewer
Preview Twitter, Discord, Telegram, and LinkedIn cards and generate an Open Graph meta-tag snippet.
Placeholder Generator
Create downloadable SVG placeholders and data URIs with custom dimensions, colors, labels, and font size.