Viewport Size Checker

Measure your live browser viewport, identify responsive breakpoints, inspect DPR and aspect ratio, and compare the available space with common mobile, tablet, laptop, and desktop sizes.

Why use this tool

Responsive websites react to the browser viewport rather than the monitor's full resolution. Measuring the current CSS width and height helps developers confirm media queries, reproduce layout bugs, inspect breakpoint transitions, and understand why a component wraps differently across browser windows.

Device pixel ratio, orientation, aspect ratio, and outer window size provide useful context for screenshots and visual QA. Common and custom size comparisons make it easier to check whether a target layout would fit, while keeping the distinction between dimension comparison and full device emulation clear.

Key features

  • Live viewport cards: Track CSS dimensions, orientation, aspect ratio, and outer browser-window size.
  • Breakpoint detection: Identify the active default Tailwind CSS minimum-width breakpoint.
  • DPR context: View device pixel ratio and a clearly labeled estimate of viewport dimensions in device pixels.
  • Common size presets: Compare the current viewport with ten phone, tablet, laptop, and desktop reference sizes.
  • Custom target comparison: Enter and swap target dimensions to calculate width and height differences and fit status.
  • Private, copyable results: Measurements stay in the browser and can be copied individually or as a complete summary.