# Screen PPI calculator > How sharp is your screen? Enter the resolution and screen size to get pixels per inch, dot pitch and the physical size of the display. Free PPI calculator: enter a screen's resolution and diagonal to find its pixel density (PPI), dot pitch in mm, physical width and height and aspect ratio. - Page: https://how.box/ppi/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/ppi/?w={w}&h={h}&d={d}&du={du} - `w` (whole number 1 to 100000): Horizontal resolution in pixels. Example: `2560`. - `h` (whole number 1 to 100000): Vertical resolution in pixels. Example: `1440`. - `d` (number 0 to 10000): Screen diagonal in the unit of du. Example: `27`. - `du` (in or cm): Diagonal unit: in or cm. Example: `cm`. Example answer: https://how.box/ppi/?w=2560&h=1440&d=27&du=cm A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `ppi_calculate`: Pixel density of a screen: ppi = √(width² + height²) ÷ diagonal in inches, assuming square pixels. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ppi_calculate","arguments":{"width":2560,"height":1440,"diagonal":27,"diagonal_unit":"cm"}}}` - GET: https://how.box/mcp/run/ppi_calculate?width=2560&height=1440&diagonal=27&diagonal_unit=cm ## How it works Pixel density says how many pixels fit along one inch of the screen. More pixels per inch means finer detail and smoother text; fewer means you can see the individual pixels from close up. It is a property of the screen itself, so a small phone and a large TV with the same resolution have very different densities. PPI = √(width² + height²) ÷ diagonal, with the width and height in pixels and the diagonal in inches. The square root is Pythagoras: it gives the diagonal in pixels. For example, 1920 × 1080 on a 24-inch screen is √(1920² + 1080²) ÷ 24 = 2202.9 ÷ 24 = 91.8 PPI. The dot pitch is the gap between neighbouring pixels: 25.4 mm ÷ PPI, which here is 0.277 mm (an inch is exactly 25.4 mm). The calculation assumes square pixels, which is true of almost every modern display. The diagonal is the visible one a maker quotes, rounded; a screen sold as 27 inches may measure a little differently, so the result is a good estimate rather than a precise measurement. ## FAQ **What is a good PPI?** It depends on how far away you look at the screen. The closer you are, the more pixels per inch you need before the pixels disappear: a phone held in the hand needs far more than a TV across the room. **Is PPI the same as DPI?** Not quite. PPI counts pixels on a screen; DPI counts ink dots of a printer. People often mix them up, but the maths for a screen is the PPI formula above. **What is dot pitch?** The distance between the centres of neighbouring pixels, in millimetres. A smaller dot pitch means a sharper picture. **Does a bigger resolution always mean a sharper screen?** No. Sharpness depends on the resolution relative to the size: 4K on a 32-inch monitor has a lower PPI than 4K on a 27-inch one. **Should I include the bezel in the diagonal measurement?** No. Measure only the visible screen from one corner to the opposite corner, not the frame around it. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)