DPR (Device Pixel Ratio) Checker

Check DPR, physical pixels, CSS pixels, and browser zoom level.
Your Device Pixel Ratio
Zoom Level:
CSS Viewport
Physical Viewport
Screen (physical)

DPR meaning: DPR tells how many physical pixels equal 1 CSS pixel. On Retina/high-density displays, DPR is usually 2 or 3. When zoom is applied, DPR may change.

What Is Device Pixel Ratio (DPR)?

Device Pixel Ratio (DPR) is the ratio between a device’s physical pixels and the CSS pixels used by the browser. It tells you how many real pixels are packed into each CSS pixel on your screen.

For example, a DPR of 1.0 means one CSS pixel equals one physical pixel, while a DPR of 2.0 or 3.0 means the display has a high pixel density — commonly seen on Retina and modern smartphones.

DPR affects how sharp your text, images, and UI elements appear on your device.


Why DPR Matters

DPR plays a big role in visual quality and responsive design. It affects:

  • Sharpness of text and icons
  • Image clarity on high-density screens
  • How websites scale graphics and layout
  • Rendering of vector graphics and canvas elements
  • Retina-ready designs and responsive images

Modern devices often use 2× or 3× DPR to deliver crisp, high-resolution visuals.


What a DPR Checker Detects

Our DPR Checker typically identifies:

  • Your device’s real Device Pixel Ratio
  • Physical vs CSS pixel conversion
  • Whether your display is Retina / high-density
  • Zoom level impact on DPR
  • Browser scaling behavior

On many devices, zooming in or out can change the effective DPR, which affects layout and rendering accuracy.


Why Use a “What Is My DPR?” Tool?

You may want to check your DPR to:

  • Optimize website graphics for high-density screens
  • Check if images need @2x or @3x variants
  • Test responsive design accuracy
  • Diagnose blurry or pixelated UI elements
  • Verify device scaling for development or debugging

What device pixel ratio (DPR) means

Device pixel ratio is the number of physical hardware pixels that make up one CSS pixel. A DPR of 1 means one CSS pixel equals one hardware pixel; a DPR of 2 (common on Retina and modern phones) means each CSS pixel is drawn with a 2×2 block of four hardware pixels, so everything is twice as sharp. DPR is why a phone can advertise a 1080-pixel-wide screen yet report a viewport of just 360 CSS pixels: 1080 ÷ 3 = 360, a DPR of 3.

Device pixel ratio of common devices

DeviceDevice pixel ratioNotes
Standard 1080p monitor1.01 CSS px = 1 hardware px
Windows laptop at 125% scaling1.25OS scaling raises DPR
Windows laptop at 150% scaling1.5Common on 1440p laptops
MacBook / Retina laptop2.0“Retina” doubling
Most modern smartphones2.5–3.0iPhone ≈ 3, many Androids ≈ 2.75

Why DPR matters for images and CSS

DPR is essential for serving crisp images. On a DPR-2 screen, a 400-pixel-wide image slot needs an 800-pixel source to look sharp — otherwise it appears soft. That’s what srcset and the x descriptor solve: <img srcset="pic.jpg 1x, [email protected] 2x"> lets the browser pick the right file for the device. In CSS, you can target high-density screens with @media (min-resolution: 2dppx).

Frequently asked questions

What is a good device pixel ratio?

There’s no “good” or “bad” DPR — it just reflects your display’s density and scaling. Higher DPR (2–3) means sharper rendering; DPR 1 is standard for many desktop monitors.

Why does my DPR change?

Changing your OS display scaling or browser zoom changes the reported DPR. For example, Windows scaling at 150% reports a DPR of 1.5; browser zoom multiplies it further.

What’s the difference between DPR 1, 2 and 3?

DPR 1 draws one hardware pixel per CSS pixel; DPR 2 uses four hardware pixels per CSS pixel (2×2); DPR 3 uses nine (3×3). Higher ratios mean more physical pixels behind every CSS pixel, and therefore sharper text and images.

How do I serve Retina (high-DPR) images?

Provide higher-resolution sources with the srcset attribute and let the browser choose, or use @media (min-resolution: 2dppx) in CSS to swap background images on high-density screens.

Is device pixel ratio the same as resolution?

No. Resolution is the total pixel count; DPR is the ratio between physical and CSS pixels. Two screens can share a resolution but have different DPRs depending on their size and OS scaling.