DailyDeskTools home

Device Screen Sizes and Aspect Ratios

Viewport sizes, pixel ratios and exact aspect ratios for phones, tablets, laptops and monitors, from 320px up.

  • Free forever
  • No signup
  • Runs on your device
Device Screen SizesRuns locally · nothing uploaded
Loading tool…

How to use the Device Screen Sizes

  1. 1Search for a device or filter by phones, tablets, laptops or monitors.
  2. 2Click a row to see its screen drawn to scale, with viewport, physical pixels and aspect ratio.
  3. 3Switch between portrait and landscape to flip the measurements.
  4. 4Use the width ruler to see how common phone and tablet widths are spread from 320px up.
  5. 5Copy the size or a ready-made CSS media query for your breakpoint.

Viewport size versus screen resolution

Phones and tablets have far more physical pixels than web pages work with. An iPhone 15 panel is 1179 × 2556 pixels, but web pages see a viewport of 393 × 852 CSS pixels. The difference is the device pixel ratio (3 in this case): each CSS pixel is drawn with a 3 × 3 block of real pixels, which keeps text sharp.

When you design responsive layouts, the viewport size is the number that matters. It is what CSS media queries and window.innerWidth report.

About these sizes

  • Phone and tablet sizes are portrait viewports at the default display zoom.
  • Laptop sizes are the default "looks like" resolution, which is usually smaller than the panel's native resolution.
  • Real browsers show slightly less than the full viewport height, because address bars and toolbars take up space.

Aspect ratios

The ratio is shown two ways. The friendly ratio scales the short side to 9 (so 390 × 844 becomes 9:19.5), which makes it easy to compare with 16:9 video. The exact ratio is the width and height reduced to lowest terms.

Choosing breakpoints

Most phones today are between 360 and 440 CSS pixels wide, and the smallest still in common use is 320. Rather than targeting individual devices, set breakpoints where your layout starts to look cramped, then check the result against a few sizes from this list.

Physical pixels versus CSS pixels

CSS lays out in CSS pixels. A phone's screen has more physical pixels, and the device pixel ratio (DPR) links them. For the iPhone 15, 1179 ÷ 3 = 393 and 2556 ÷ 3 = 852, so the browser sees a 393×852 viewport. A 1-pixel line in CSS is drawn with 3 physical pixels.

Common breakpoints

Framework Breakpoints (min-width)
Tailwind CSS 640, 768, 1024, 1280, 1536 px
Bootstrap 5 576, 768, 992, 1200, 1400 px

Treat these as starting points. Set breakpoints where your own layout breaks, not at a particular device, because screen sizes change every year.

How to use this list

Test at the smallest width you support, then at a tablet width and a wide desktop. Check images across screens too: serve images at the CSS width times the DPR for sharpness, and resize them with the image resizer.

Your own device's numbers may differ from the table, so confirm them with what is my screen size. Convert pixel widths to relative units with the px to rem converter, and for the shape of each screen, the aspect ratio calculator is handy.

Frequently asked questions

What is the smallest screen width I should design for?

320 CSS pixels, the width of the original iPhone SE and some small Android phones. If a layout works at 320px, it will fit almost every phone in use.

Why is my phone's resolution bigger than the size listed?

The list shows CSS viewport sizes. Your phone's physical resolution is the viewport multiplied by its pixel ratio, shown in the Physical column.

How do I check my own screen size?

Use our What Is My Screen Size tool. It reads your screen and browser window size live.

Are these sizes exact for every model?

They are the default sizes reported by each device. Display zoom settings, split screen and browser toolbars can change what a page actually gets.

What is a viewport and how is it different from screen resolution?

The viewport is the area your page can use, measured in CSS pixels. Screen resolution counts physical pixels, so it is usually larger on phones.

What is device pixel ratio?

It is the number of physical pixels per CSS pixel. A ratio of 3 means each CSS pixel is drawn with a 3×3 grid of physical pixels.

Last updated · By the DailyDeskTools team

Built and written with AI assistance, then tested by hand by our team. How we make our tools