How do I get the min and max price of my products?

For example, when I load my products it has a limit (100) by pagination. But For example If I want my users to be capable to filter by price, how do I can get this max and min value? If for example I have 500 products with the first 100 I loaded I don’t truly know what max and min value to show.
image