返回首頁
Blog

螢幕解析度

查看我的螢幕解析度和顯示資訊

您的螢幕解析度及完整顯示資訊,由瀏覽器即時偵測。支援視網膜和 HiDPI 顯示器。調整視窗大小後數值即時更新。不會上傳任何資料。

您的螢幕解析度

— × —

其他資訊

正在偵測您的顯示器…

網頁開發者參考(JavaScript)

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

CSS 解析度(screen.width × height)是版面配置所使用的數值。乘以裝置像素比即可得到面板的實體像素數。

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.