There are several types of insulation foam that you may use to create a thicker barrier between rooms and floors to reduce noise but know that sound deadening is not the main goal when it comes to using this type of foam.
Open cell spray foam insulation soundproofing.
Foam it green 1202 class 1 open cell spray foam kit is a diy product that allows you to add acoustic value to any wall ceiling or floor.
It is also less temperature sensitive than the open cell spray.
The cost of the material depends on where you live and if you plan to install it or have the pros.
The kit produces an excellent thermal barrier plus an air moisture and sound barrier.
Open or closed cell foam is a common consideration but not appropriate for soundproofing.
Is less expensive than closed cell.
Some places give the cost per board foot and others by square foot at r 1.
It ties with rock wool batts for an stc of 50 in a laboratory test environment.
However i prefer a 1 inch thick square foot price.
However to help you find.
All of these are open and airy enough to adequately interact with the sound waves in the sealed wall or ceiling cavity.
Spray foam insulation cost open cell polyurethane spray foam.
The main thing you should know is that the principal use for spray foam is creating insulation.
Why open cell oc spray foam is best for sound attenuation.
First spray foam has the best stc rating of all the options.