How the ruler gets to true size
A web page cannot read how large your screen really is, so it cannot know how many pixels make an inch. The browser reports a nominal size, and that rarely matches the glass, especially on phones, laptops with display scaling and external monitors. The fix is to measure something of known size on your own screen. A bank card fits: its width is set by the ISO/IEC 7810 ID-1 standard at 85.60 mm.
You adjust a bar until it matches the card's width, which tells the tool how many pixels equal 85.60 mm. From there, the arithmetic is a pair of divisions and a multiplication.
- Pixels per millimeter: card width in pixels divided by 85.60.
- Pixels per inch: pixels per millimeter times 25.4, since the international inch is defined as exactly 25.4 mm.
- Pixels per centimeter: pixels per millimeter times 10.
- Marks: 192 sixteenth-inch divisions for the 12 inch ruler, or 300 millimeter divisions for the 30 centimeter ruler, each placed at its exact fractional position.