Screen diagonal in pixels
sqrt(width^2 + height^2)
Screen scale tool
Calculate the CSS pixel density your browser uses for a screen. This gives a useful starting scale for an actual-size ruler, then you can confirm the result with a credit card or another known object.
CSS pixels per inch
Enter a diagonal
CSS pixels per millimeter
-
Your browser screen size can be filled automatically. Enter the physical diagonal from your device specifications.
Online rulers usually need CSS pixels per inch, not the raw hardware PPI printed in a device spec. Device pixel ratio and browser scaling can make those numbers different.
sqrt(width^2 + height^2)
diagonal pixels / screen diagonal inches
pixels per inch / 25.4
Estimating actual-size ruler scale from a monitor or laptop diagonal.
Checking whether browser CSS pixels differ from hardware pixel density.
Finding a starting calibration value before confirming with a credit card.
Open the ruler and switch between centimeter, millimeter, and inch marks.
Browse every ruler guide, calculator, and converter.
Use a credit card, screen diagonal, or known object to set the ruler scale.
Understand inch fractions, centimeter marks, and millimeter ticks.
Convert inch, centimeter, and millimeter measurements after reading the ruler.