Products that can be created from current raw materials

I have a following scenario

i have raw materials raw1, raw2 and raw3.
I have 2 finished products out of these raw materials
(product 1 = raw1 + raw2) and (product2 = raw1 + raw3)

I have BOMs for both these products.

Also i have some stock in my store for all these raw materials (they are currently located in 1 store only but can be spread across multiple stores as well)

Can ERPNext tell me how many product1 and product2 i can create?

Please check