Custom calculator + filter button

Good day. I want to build a calculator on a website. The client can choose options between 3 parameters, and then the calculator gives the client a result based on inputs (for example, their bra size) After that, the client can shop the woocommerce store according to her size. Essentially, it filters the products according to that size. Any idea how I can achieve this?

Here is an example: I believe this example was done with gravity forms: