jQuery(window).width() // viewport width jQuery(window).height() // viewport height jQuery(document).width() // document width jQuery(document).height() // document height window.innerwidth // viewport width window.innerheight // viewport height screen.width // hardware width screen.height // hardware height