How to find out what “Blog pages show at most” is set to [duplicate]

You can get that value with

get_option('posts_per_page');