Về Trang Chủ
Blog

Độ phân giải màn hình

Kiểm tra độ phân giải màn hình & thông tin hiển thị

Độ phân giải màn hình và thông tin hiển thị đầy đủ của bạn, được phát hiện trực tiếp trong trình duyệt. Màn hình Retina và HiDPI được tính đến. Thay đổi kích thước cửa sổ và các giá trị cập nhật ngay lập tức. Không có gì được tải lên.

Độ phân giải màn hình của bạn

— × —

Thông tin khác

Đang phát hiện màn hình…

Dành cho nhà phát triển web (JavaScript)

screen.width × screen.height =
window.innerWidth × innerHeight =
window.devicePixelRatio =
screen.colorDepth =

Độ phân giải CSS (screen.width × height) là thứ bố cục sử dụng. Nhân với tỷ lệ pixel thiết bị để có số pixel vật lý thực tế của màn hình.

Frequently Asked Questions

What is my screen resolution?

Your screen resolution is shown at the top of this page — it is the number of pixels your display uses horizontally by vertically, such as 1920 × 1080. It is detected live from your browser, so it is always accurate for the device you are using right now.

What is the difference between screen resolution and viewport size?

Screen resolution is the full size of your monitor or device display. Viewport size is just the area inside the browser window where web pages are drawn — it is smaller because it excludes the browser toolbar, tabs, and any open panels. This tool shows both.

Why is my physical resolution larger than my screen resolution?

On retina and HiDPI displays, each CSS pixel maps to multiple physical pixels. The device pixel ratio tells you how many. For example, a screen reported as 1280 × 800 with a pixel ratio of 2 has a physical panel of 2560 × 1600 pixels. Both values are shown here.

Does this work on phones and tablets?

Yes. The tool detects the resolution, pixel ratio, and orientation of whatever device you open it on, including phones and tablets. Rotate your device or resize the window and the values update instantly.