Screen Resolution Detector - Online Viewport Size Checker
Detect your current screen resolution, viewport dimensions, and device pixel ratio. Useful for responsive design testing. No data collection.
UD5 Toolkit
Instantly detect your screen's DPR and understand what it means for your display.
DPR = physical pixels / CSS pixels
| Device / Display | Typical DPR | Resolution Example |
|---|---|---|
| Standard desktop monitor | 1.0 | 1920Ă—1080 (CSS) |
| MacBook Pro (Retina) | 2.0 | 1440×900 (CSS) → 2880×1800 |
| iMac 5K | 2.0 | 2560×1440 (CSS) → 5120×2880 |
| iPhone 14 Pro Max | 3.0 | 430×932 (CSS) → 1290×2796 |
| iPhone 12 / 13 | 3.0 | 390×844 (CSS) → 1170×2532 |
| iPhone SE (3rd gen) | 2.0 | 375×667 (CSS) → 750×1334 |
| iPad Pro 12.9" | 2.0 | 1024×1366 (CSS) → 2048×2732 |
| Samsung Galaxy S23 Ultra | 3.0 | ~384×854 (CSS) → 1440×3088 |
| Google Pixel 7 | 2.75 | 412×915 (CSS) → 1080×2400 |
| 4K laptop display (15.6") | 1.5 - 2.0 (scaled) | 1920×1080 (CSS) → 3840×2160 |
DPR varies by OS scaling settings and browser zoom level. The values above are typical at default scaling.
srcset), use media queries for high‑resolution displays, and ensure crisp UI elements. Ignoring DPR can lead to blurry graphics on Retina or 4K screens.
window.devicePixelRatio in JavaScript. It measures how many physical pixels there are per CSS pixel. It can also be approximated by dividing the screen's physical width by the CSS viewport width when at default zoom.
srcset attribute on <img> tags to provide multiple resolutions. For backgrounds, use image-set() in CSS. Always provide images at least twice the CSS size for 2x DPR, and 3x for 3x DPR.
Values update automatically on window resize. Move the window between screens or zoom to see changes.
Detect your current screen resolution, viewport dimensions, and device pixel ratio. Useful for responsive design testing. No data collection.
An on‑screen ruler that measures in pixels, centimeters, and inches. Drag to resize. Handy for UI designers and developers.
Drag a virtual ruler across your screen to measure pixel distances. Horizontal and vertical guides. Useful for UI designers checking alignment.
Enter foreground and background colors to instantly see the contrast ratio and pass/fail for AA and AAA. Simple and fast.
Upload two images and see a diff overlay highlighting the pixel differences. Adjust tolerance. For regression testing.
Enter width, height, format to approximate file size. Plan web performance. Simple model.
Drop a video file and instantly see its container format, codec(s), resolution, duration, and bitrate. Browser‑based, no upload.
Enlarge pixel art or low‑res images without blur. Choose 2x, 4x, 8x. Perfect for sprites. Download scaled PNG.
Enlarge pixel art or low‑res images without blur. Choose 2x, 4x, 8x. Perfect for sprites. Download scaled PNG.
Predict the file size of an image based on pixel dimensions and format (JPEG, PNG, WebP). Rough estimate. Local.
See how your title and meta description will be truncated in Google SERP by pixel width. Optimize click‑through.
Paste media queries and see a visual indicator of which rules apply at current viewport size.
Combine aspect‑ratio with min‑/max‑width/height and see how the box responds. Understand sizing constraints. Copy the pattern.
Create a responsive box that maintains a specific aspect ratio using the aspect‑ratio property. Copy the simple CSS.
Upload one image at multiple widths and generate the complete img srcset and sizes attributes. Perfect for performance.
Enter two hex colors and compute the CIE76, CIE94, and CIEDE2000 color difference. Understand how humans perceive color similarity.
Downscale an image to a grid of colored `<td>` cells. Create a huge HTML pixel art. Copy the code.
Upload an image and see a slider comparison of different JPEG quality levels. Find the optimal file size vs. quality trade‑off.
Resize and crop an image to a specific aspect ratio (1:1, 16:9…) with automatic fit/cover. Download the perfect image.
Run edge detection algorithms (Sobel, basic Canny) on images directly in the browser. Great for learning computer vision concepts.
Convert pixel values to viewport‑relative units (vw, vh, vmin, vmax) based on a selected breakpoint. Precise responsive design.
Drop an image that might have wrong extension and see its real format (JPEG, PNG, WebP) based on header bytes.
Toggle image‑rendering: auto, pixelated, crisp‑edges on a scaled image. Essential for pixel art display.
Generate placeholder images with custom dimensions, background color, and text. Supports SVG and raster output. Perfect for wireframing and mockups.
See how your page title and description will look in Google SERP. Check pixel width and character count. Local tool.
Generate a random placeholder photo with custom dimensions. Unique greyscale images, no external service. Canvas generated.
Preview how your page title will appear in Google SERPs. See pixel width and character count. Avoid truncation. Free local tool for SEOs.
See the current viewport width/height, document size, scrollbar width, and pixel ratio. Essential responsive data.
Increase or decrease the color saturation of your photo with a slider. Preview instantly. Download the edited image. Canvas‑based.
Browse the OKLCH color space with sliders for lightness, chroma, and hue. See the CSS oklch() code. Modern and accessible.