On-screen ruler – actual size, no app

Open the page for your phone or tablet and the right edge of the screen becomes a millimetre ruler at true scale. Each page is drawn for that model's pixel density, so it is accurate the moment it opens.

Pick your device below. If it is not listed, the Japanese version can detect the model automatically or calibrate with a credit card (the long side is 85.6 mm).

The strip has millimetres on the right and inches (1/16 steps) on the left. Every device page also shows the screen size in inches and lists what fits on it in one go – a credit card, a dollar bill, Letter paper – and what you have to measure in two passes. Settings like display zoom can change the scale by a few percent; the pages say how to check.

Español · Português · 简体中文 · 日本語

iPhone

iPad

Google Pixel

Samsung Galaxy

Sony Xperia

Sharp AQUOS

OPPO

How it works

A screen's pixel density (ppi) and its device pixel ratio tell you how many CSS pixels make one millimetre: ppi ÷ 25.4 ÷ ratio. The page draws the ticks from that number and from the live pixel ratio reported by the browser, rebuilding them whenever the window changes. Nothing is uploaded, and nothing is stored except an optional calibration value on your device.

KuraLab is a small Japanese site of tools and explainers. The ruler started as a page for the iPhone 5 in 2012; this is the 2026 rebuild. 日本語版