What's My Screen Resolution?

2560x1440

2560x1440

Screen
Window

JavaScript code to get screen resolution:

<script type="text/javascript">
document.write(screen.width + 'x' + screen.height);
</script>

jQuery code to get window resolution:

; (function () {
     $(window).width();
     $(window).height();
})();

Common screen resolutions:

Name Description Aspect ratio Width Height PPI
iPhone 4 640 960 326
iPhone 3G/3Gs 320 480 163
iPad 1 / 2 1024 768 132
Galaxy Tab 8.9 / 10.1 1280 800
Galaxy Tab 7 1024 600 171
Motorola Xoom 1280 800 160
VGA Video Graphics Array 4:3 640 480 N/A
SVGA Super Video Graphics Array 4:3 800 600 N/A
XGA eXtended Graphics Array 4:3 1024 768 N/A
XGA+ eXtended Graphics Array Plus 4:3 1152 864 N/A
SXGA Super eXtended Graphics Array 4:3 1280 960 N/A
WXGA Widescreen eXtended Graphics Array 5:3 1280 768 N/A
SXGA Super eXtended Graphics Array 5:4 1280 1024 N/A
WXGA Widescreen eXtended Graphics Array 8:5 (16:10) 1280 800 N/A
WXGA Widescreen eXtended Graphics Array 16:09 1366 768 N/A
WSXGA Widescreen Super eXtended Graphics Array 8:5 (16:10) 1440 900 N/A
UXGA Ultra eXtended Graphics Array 4:03 1600 1200 N/A
WSXGA+ Widescreen Super eXtended Graphics Array Plus 8:5 (16:10) 1680 1050 N/A
HD-1080 Full High Definition 16:09 1920 1080 N/A
WUXGA Widescreen Ultra eXtended Graphics Array 8:5 (16:10) 1920 1200 N/A