PPI calculator

PPI Calculator: Pixel Density, Screen Size and Retina Distance

QUICK ANSWER

PPI (pixels per inch) is the diagonal resolution in pixels divided by the diagonal size in inches: √(width² + height²) ÷ diagonal. A 27-inch 4K monitor is about 163 PPI, a 27-inch 1440p monitor about 109 PPI. Enter any resolution and screen size below to get PPI, dot pitch, physical width and height, aspect ratio, and the distance at which pixels disappear, plus macOS and Windows scaling and a print DPI converter.

  • PPI, dot pitch, physical size
  • Retina viewing distance
  • macOS and Windows scaling
  • Compare two displays to scale
  • Print DPI to inches and cm
  • Detect my screen
  • Nothing uploaded
  • No signup
PPI calculator
Pixel density
163.18 PPI
64.2 pixels per cm · 4K UHD (2160p)
Dot pitch
0.1557 mm
Pixel spacing
Aspect ratio
16:9
16:9 reduced · 1.78:1
Screen width × height
23.53 × 13.24 in
59.8 × 33.6 cm
Screen area
311.5 sq in
2,010 cm²
Total pixels
8,294,400
8.29 megapixels
Retina distance
21.1 in
54 cm, at 1 arcminute acuity

Is it sharp at your viewing distance?

Pixels per degree
72.9
60 = one pixel per arcminute
Retina from
54 cm
Beyond this, 20/20 eyes cannot resolve single pixels
Verdict
Pixels not resolvable

Each pixel is smaller than one arcminute, the 20/20 vision threshold. This is what Apple calls Retina at this distance.

Scaling: effective workspace and UI size

Workspace (points)
1920 × 1080
What apps and windows lay out against
Rendered at
3840 × 2160
2x backing store
UI density
82 pt/in
Points per physical inch

Pixel perfect: the 2x frame maps exactly onto the panel, so text is as sharp as this display can show it. For reference, Apple's 27" Studio Display (218 PPI) defaults to looks like 2560 × 1440, about 109 points per inch.

macOS offers a display-specific list of sizes. These options are common logical widths for this panel, not Apple's exact menu.

The same 27" screen at other resolutions

PPI at the same diagonal and aspect ratio
ResolutionPixelsPPIRetina from
720p (HD)54161 cm / 63 in
1080p (Full HD)82107 cm / 42 in
1440p (QHD)10980 cm / 32 in
2160p (4K UHD)16354 cm / 21 in
2880p (5K)21840 cm / 16 in
4320p (8K UHD)32627 cm / 11 in

Compare two displays

Add a second display to compare pixel density, physical size, and workspace side by side, with both drawn to scale.

Print DPI calculator: pixels to inches and cm

Print size at 300 DPI
13.33 × 10.00 in
33.9 × 25.4 cm · at 150 DPI: 26.7 × 20.0 in
Pixels needed for a print size

At 300 DPI you need 2,400 × 3,000 px. Your 4000 × 3000 image, turned to match the print's orientation and fitted without cropping, reaches about 375 DPI.

Why this tool exists

  • Pure math in your browser. Nothing is uploaded or stored.
  • No signup. No usage cap.
  • Works offline once the page is loaded.
10+ conversions and counting
Trusted by creators at startups, agencies, and Fortune 500 teams.
This tool is free to use, with no signup.

How to calculate PPI

  1. 1

    Enter the resolution

    Type the native width and height in pixels, pick a common monitor or laptop from the presets, or press Detect my screen to read what your browser reports. Use the panel's native resolution, not a scaled setting.

  2. 2

    Enter the diagonal

    Use the advertised screen size in inches or centimetres. It is measured corner to corner across the visible area, not including the bezel.

  3. 3

    Read density and size

    PPI, dot pitch, physical width and height, area, aspect ratio, total pixels, and the Retina distance update as you type.

  4. 4

    Check distance, scaling, or a second display

    Set how far you sit to see whether pixels are visible, open the macOS or Windows scaling panel to see the effective workspace, or add a second display to compare both to scale.

PPI of common monitors and laptops

Calculated with the same formula as the tool above. Manufacturers round the quoted diagonal, so a spec sheet can differ by a pixel or two per inch: Apple lists the 27-inch Studio Display at 218 PPI, and the formula gives 217.6.

DisplayResolutionPPIRetina from
24" 1080p monitor1920 × 10809295 cm (37 in)
27" 1080p monitor1920 × 108082107 cm (42 in)
27" 1440p monitor2560 × 144010980 cm (32 in)
27" 4K monitor3840 × 216016354 cm (21 in)
32" 4K monitor3840 × 216013863 cm (25 in)
34" 3440×1440 ultrawide3440 × 144011080 cm (31 in)
49" 5120×1440 super ultrawide5120 × 144010980 cm (32 in)
27" 5K (Apple Studio Display)5120 × 288021840 cm (16 in)
iMac 24" (23.5" viewable, 4.5K)4480 × 252021940 cm (16 in)
MacBook Air 13.6"2560 × 166422539 cm (15 in)
MacBook Pro 14.2"3024 × 196425434 cm (14 in)
MacBook Pro 16.2"3456 × 223425434 cm (14 in)
15.6" 1080p laptop1920 × 108014162 cm (24 in)
14" 1920×1200 laptop1920 × 120016254 cm (21 in)

What is a good PPI?

There is no single good number, because sharpness depends on how far away you sit. What matters is how many pixels fall inside one degree of your vision. At 60 pixels per degree, each pixel covers one arcminute, which is the resolving limit of 20/20 vision, and the screen looks continuous. That gives a simple rule: the distance at which a display becomes "retina" is about 3438 ÷ PPI inches.

At a typical desktop distance of about 65 cm (25.6 inches), you need roughly 134 PPI for pixels to disappear. A 27-inch 4K monitor (163 PPI) clears that; a 27-inch 1440p monitor (109 PPI) does not until about 80 cm. Laptops sit closer, around 50 cm, which needs about 175 PPI, and phones held at 30 cm need about 290 PPI. People with better than 20/20 vision can see detail beyond these thresholds, so treat them as the point where returns diminish, not a hard ceiling.

Scaling: why PPI changes how big everything looks

Operating systems size the interface in logical units, then map them onto physical pixels. Windows treats 100% as 96 DPI and multiplies from there: at 150%, a 3840 × 2160 screen gives apps a 2560 × 1440 workspace. macOS works in points and, in HiDPI modes, renders the desktop at twice the "looks like" size before fitting it to the panel. Only "looks like" equal to half the native resolution maps one to one. On a 27-inch 4K display, "looks like 2560 × 1440" renders a 5120 × 2880 frame and scales it down by 25%, which is why text can look slightly softer than on a 5K panel of the same size. The scaling panel in the calculator shows these numbers for any display.

PPI, DPI and the print calculator

Pixels per inch describes a screen or a digital image. Dots per inch strictly describes how many ink or toner dots a printer lays down, but the two terms are used interchangeably in practice, which is why people search for a "DPI calculator" when they want screen density. For printing, the useful question is how large an image prints at a target resolution: print size in inches equals pixels divided by DPI. A 4000 × 3000 photo at 300 DPI prints 13.3 × 10 inches. The print section of the tool does this in both directions, in inches or centimetres.

Recording at the right resolution

A dense display also means large screen recordings: a 14-inch MacBook Pro renders 3024 × 1964 pixels even when the desktop looks like 1512 × 982. If you record walkthroughs or bug reports, check the recording size calculator before a long take. Clipy is a screen recorder that shares a link instead of a file, and its recordings come with a transcript and context your coding agent can read. To work out new dimensions for a video or image, use the aspect ratio calculator.

The formulas this calculator uses

Diagonal in pixels = √(width² + height²). PPI = diagonal in pixels ÷ diagonal in inches. Dot pitch (mm) = 25.4 ÷ PPI. Physical width = diagonal × width ÷ diagonal in pixels, and the same for height. This assumes square pixels, which almost every modern display uses. Retina distance (inches) = 1 ÷ (PPI × tan(1 arcminute)), about 3438 ÷ PPI. Pixels per degree = 2 × distance × tan(0.5°) × PPI. Sixty pixels per degree equals one pixel per arcminute. Windows effective workspace = native resolution ÷ scale factor; logical DPI = 96 × scale factor. macOS HiDPI frame = 2 × the "looks like" resolution, then resampled to native. Print size (inches) = pixels ÷ DPI; pixels needed = inches × DPI.

Why Detect my screen cannot tell you PPI on its own

Web pages see the screen in CSS pixels plus a device pixel ratio (window.screen and devicePixelRatio). Multiplying them gives the device pixel resolution, but the browser never learns the physical size of the panel, so you still need to enter the diagonal. Browser zoom changes the device pixel ratio, so reset zoom to 100% first. On a Mac set to a "looks like" size other than half the native resolution, the result is the 2x rendering size rather than the panel's native resolution.

Common questions

How do I calculate PPI?

Find the diagonal resolution with Pythagoras, √(width² + height²), then divide by the diagonal screen size in inches. For a 27-inch 3840 × 2160 monitor: √(3840² + 2160²) = 4405.7 pixels, and 4405.7 ÷ 27 = 163.2 PPI.

Is PPI the same as DPI?

Not strictly. PPI counts pixels on a screen or in a digital image; DPI counts the dots a printer places on paper, and a printer uses several dots to reproduce one pixel's colour. In everyday use, and in Windows' display settings, DPI is often used to mean pixel density, so a DPI calculator for a monitor is the same calculation as a PPI calculator.

What PPI counts as Retina?

Apple has not published a fixed number because it depends on viewing distance. When Apple introduced the iPhone 4 in 2010, it described the threshold as around 300 PPI for a phone held 10 to 12 inches away. The one-arcminute formula used here gives 286 PPI at 12 inches and 344 PPI at 10 inches.

How far should I sit from a 4K monitor?

Pixels stop being visible to 20/20 eyes beyond about 3438 ÷ PPI inches. A 27-inch 4K monitor (163 PPI) reaches that at about 21 inches (54 cm), and a 32-inch 4K monitor (138 PPI) at about 25 inches (63 cm). Comfort and posture matter more than this number, but it tells you when extra resolution stops adding visible sharpness.

Is 109 PPI good for a 27-inch monitor?

A 27-inch 1440p monitor at 109 PPI is sharp enough for most work at arm's length and is commonly used at 100% scaling on Windows. At 65 cm you can still see pixel structure on small text, and its retina distance is about 80 cm. On macOS it typically runs at native 1x, so text is less crisp than on a 4K or 5K panel using 2x scaling.

Why does my calculated PPI differ from the spec sheet?

Advertised diagonals are rounded, and phones with rounded corners quote the diagonal of the full rectangle. A MacBook Air listed as 13.6 inches and 2560 × 1664 calculates to 224.5 PPI against Apple's 224. Small differences like this are normal.

What looks like resolution should I use on a 4K monitor with a Mac?

Looks like 1920 × 1080 is pixel perfect on a 3840 × 2160 panel but makes the interface large. Looks like 2560 × 1440 gives the workspace of a 1440p monitor; macOS renders it at 5120 × 2880 and scales it down by 25%, which costs a little sharpness and GPU work. Use the macOS tab in the scaling panel to see the trade-off for any size.

What does Windows display scaling do to my resolution?

The panel still shows every native pixel, but apps lay out against a smaller logical desktop: native resolution divided by the scale factor. A 4K screen at 150% behaves like a 2560 × 1440 workspace with UI rendered at 144 DPI instead of 96, so text stays sharp while staying a readable size.

What DPI do I need for printing a photo?

300 DPI is the usual target for photos and documents viewed up close, and around 150 DPI is often acceptable for posters viewed from a distance. Divide the image's pixel dimensions by the DPI to get the largest print size, or use the print section of the calculator.

Tool not working the way you expect?

Tell us what broke. We resolve every report within 24 hours.

Send feedback →

More free tools

Aspect ratio calculator
Solve width or height for any ratio, reduce a size to its ratio, and get crop and letterbox sizes.
Recording size calculator
Estimate file size and upload time before you record, by resolution, codec, and quality.
Screen recording checker
Diagnose a broken recording: container, codecs, duration, and playback compatibility.
Image resizer
Resize images in bulk in your browser: pixels, percent, crop or pad to social sizes, KB targets, ZIP download.
Resize video
Resize for YouTube, TikTok, or square. Letterbox or center-crop.
Aspect ratio converter
Reframe video to 9:16, 1:1, 4:5, or 16:9. Crop to fill or fit with bars.
Webcam test
See a live preview from your camera in seconds. No signup.
Video Bitrate Calculator
Solve bitrate, file size, or duration from the other two, and fit a target size with an ffmpeg two-pass command.
Webcam Recorder
Record webcam clips with MP4 export, captions, teleprompter, and trim.
Voice Recorder
Record audio in your browser with live levels, multiple takes, and trim, then save WAV, MP3, or M4A. No upload.
Screen and Webcam Recorder
Record your screen with your camera in the corner, in one file.
Bug Report Recorder
Record a UI bug and give your coding agent the reproduction context.
Recording Readiness Test
Check mic, camera, speakers, and screen-share support before you hit record.
Speaker Test
Stereo left/right speaker and headphone check in your browser.
Loom Pricing Calculator
What Loom costs your team, compared with Clipy, Tella, Zight, Cap and Jam by headcount.

See all free tools.

Doing this for an AI workflow?

Clipy recordings are agent-readable out of the box. One link carries the video, keyframes, and transcript.

Clipy for AI agents