About this tool
Three different 'sizes' get confused under one word. The screen is the physical display's full resolution. The window is what the browser occupies after the operating system takes its share. The viewport is what a web page can actually draw in, after browser bars and scrollbars — and it is the only one web design can respond to. This tool reports all three, live, plus the device pixel ratio that explains why a '4K' phone shows a page as if it were a quarter of that.
The pixel ratio deserves its sentence: modern screens pack multiple physical pixels behind each CSS pixel to make text sharp — a ratio of 2 or 3 is normal on phones. It is why screenshots come out larger than the layout that produced them, and why images for the web are exported at double size. When a designer asks 'what size is your screen?', the useful answer is the viewport line from this page.
How to use it
- Open the page — measurements are live below.
- Resize the window or rotate the device and watch the viewport change.
- Quote the viewport size in design feedback and bug reports.
Good to know
- Judge a responsive layout by dragging the window slowly through the sizes — breakpoints reveal themselves as the layout rearranges.
- On phones, the viewport height changes as the browser's address bar hides and shows on scroll; this page lets you watch it happen.
- A screenshot's dimensions equal the viewport times the pixel ratio — handy when checking exported images.
Frequently asked questions
Why is my viewport smaller than my screen?
Browser chrome, scrollbars, window borders and the operating system's taskbar all take their share before the page gets any.
What is device pixel ratio?
How many physical pixels stand behind one CSS pixel. Higher means sharper text — and bigger screenshots.
Is anything about my display sent anywhere?
No — the measurements are read and shown locally.
More Utilities tools
QR Code Generator
Turn any text or link into a QR code — hand-written encoder, four error-correction levels, PNG download.
QR Code Reader
Read a QR code from an image file or your camera — decoded on your device with the native detector.
Stopwatch
A clean stopwatch with laps — hundredths on screen, lap list with totals, runs entirely in the tab.
Countdown Timer
Set hours, minutes and seconds — a clear countdown with a beep when time runs out.
Pomodoro Timer
Focus in sprints: work and break phases that alternate automatically, with your own durations.
Random Picker
Paste a list, pick one or several winners at random — fairly, transparently, on the spot.
Making videos too? Try our YouTube Channel Audit, or browse the full Toolkit and the free YouTube tools.