Pixel density, dot pitch, physical size, aspect ratio & a retina check from resolution + diagonal — all in your browser
- Runs locally
- Category Calculator
- Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.
Not retina-class at this distance (≥ 60 px/° is the threshold where individual pixels stop being resolvable)
What this tool does
Type a screen's horizontal and vertical resolution plus its diagonal size in inches, and this calculator works out the full geometry of the panel: pixels per inch (PPI), the dot pitch in millimetres, the physical width and height in both inches and centimetres, and the reduced aspect ratio (1920×1080 collapses to 16:9). It also answers the question marketing copy keeps dodging — is the screen "retina"? Instead of a flat PPI cutoff it computes pixels-per-degree at a viewing distance you pick, because retina is about angular resolution: a phone at 25 cm and a TV at 3 m can both be retina at wildly different densities. Cross 60 px/° and individual pixels stop being resolvable to a typical eye. One-click presets fill in the iPhone 15, MacBook Pro 14", a 27" 4K monitor, a 55" 4K TV and more so you can compare two panels in seconds, and the inputs live in the URL so a share link reproduces the exact screen. Everything runs locally — no resolution you enter ever leaves the page.
Tool details
- Input
- Text + Numbers
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy + Preview
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 10 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Calculator · Developer
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How PPI Calculator fits into your work
Use it for fast estimates, comparisons, and planning numbers before you make the final call.
Calculation jobs
- Getting a realistic range before a purchase, plan, workout, or schedule decision.
- Comparing scenarios by changing one input at a time.
- Turning rough assumptions into a number you can discuss.
Calculation checks
- Double-check units, dates, rates, and rounding assumptions.
- Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
- Save the inputs that produced an important result so you can reproduce it later.
Good next steps
These links move the current task into a more complete workflow.
- 1 Aspect Ratio Calculator Calculate aspect ratio — fix any 1 of [width, height, ratio], get the other two. Open
- 2 Scientific Calculator Scientific calculator — sin / cos / log / sqrt / power, with full keyboard input + history, deg/rad mode. Open
- 3 Percentage Calculator 5 common percentage calculations — "x% of y", "x is what% of y", percentage change, increase/decrease — instant, browser-only Open
Real-world use cases
Choose between two monitors before you buy
You are deciding between a 27-inch 1440p panel and a 27-inch 4K one. Punch in 2560×1440 @ 27" (≈109 PPI) and 3840×2160 @ 27" (≈163 PPI) and you immediately see the 4K is half again as dense. Then drop your desk viewing distance (about 24 inches) into the retina field: the 4K clears 60 px/° comfortably while the 1440p sits just under it, which tells you the 4K is worth it on a desk but you will want OS scaling on at 163 PPI.
Pick a CSS device-pixel-ratio target
You are tuning responsive breakpoints and need to know which devices are @2x or @3x. Fill in a phone's native resolution and diagonal to read its true PPI, compare it against the ~160 PPI baseline a CSS pixel assumes, and you can reason about whether a layout that looks crisp on your desktop will look soft or oversharp on a given handset.
Compare your phone screen against a friend's
Two phones both claim "stunning display". Enter each one's resolution and screen size, and the PPI and pixels-per-degree at 12 inches settle the argument with numbers. A 1080×2400 6.5-inch panel lands around 405 PPI; a 1179×2556 6.1-inch lands near 460 — both are retina at reading distance, so the visible difference is smaller than the spec sheet implies.
Size UI assets for a kiosk or signage screen
You are building a touchscreen kiosk on a 32-inch 1080p panel. Its PPI is only about 69, and users stand close, so 1 CSS pixel is physically large. Reading that low PPI tells you to bump font sizes and tap targets well above your desktop defaults so text does not look chunky and buttons are comfortable to hit at arm's length.
Verify a panel's advertised spec
A listing says "5K 27-inch, 218 PPI". Enter 5120×2880 @ 27" and confirm it really is ≈218 PPI before you trust the rest of the spec. If the numbers do not line up, the listing is mixing up resolution or size, and you have caught it before checkout.
Common pitfalls
Comparing PPI numbers across very different screen types as if higher always wins. A phone and a TV live at different viewing distances, so pixels-per-degree, not raw PPI, is the fair comparison. Always set the distance field to your real setup.
Entering the screen's physical width or height instead of the diagonal. The size field expects the diagonal (the number TVs and laptops are marketed by). Putting the width in there inflates the PPI and throws off every derived value.
Mixing the resolution axes up, e.g. typing a portrait phone as 2556×1179. The aspect ratio flips but PPI is unaffected since it uses the diagonal — still, fix the orientation so the physical width and height come out the right way round.
Privacy
Every value here — PPI, dot pitch, physical size, aspect ratio and the pixels-per-degree retina check — is computed by plain JavaScript in your browser tab. No resolution or screen size you enter is sent anywhere, there is no logging, and there is no external API call. The one thing to note: the shareable URL encodes your inputs in the query string (e.g. ?w=1920&h=1080&d=24), so if you paste a share link somewhere the destination server's access log will record those numbers. Screen specs are not sensitive, so for normal use this is harmless — but if you would rather not, copy the result text instead of sharing the link.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- Add Line Numbers Number every line of pasted text — set start, step and separator, zero-pad to align, skip blanks, or strip numbers back off — browser-only
- AES Text Encryptor Encrypt & decrypt text with a password — AES-256-GCM + PBKDF2 via WebCrypto — 100% in your browser, nothing uploaded
- Affine Cipher Encoder & Decoder Encrypt and decrypt the ax+b affine cipher with live modular-inverse check, browser-only
- AI Eval Planner Generate eval cases, pass criteria, and edge cases from an AI feature, risks, and user path.