Spray foam insulation or spray polyurethane foam (SPF) is an alternative to traditional building insulation such as fiberglass. A two-component mixture composed of isocyanate and polyol resin comes together at the tip of a gun, and forms an expanding foam that is sprayed onto roof tiles, concrete slabs, into wall cavities, or through holes drilled in into a cavity of a finished wall.
I just received this and it worked well for me. It works well for small gaps (around windows, between studs), but probably not the right tool for larger gaps (>1" or 2"). If used in larger gaps, it works OK if it is layered in. Spray a little and wait for it to set, then layer another on top, etc... This is pretty much noted by the seller. It is pretty much exactly as described and priced right, so 5 stars. If you need to do larger gaps, buy 2 part. http://youtube.com/watch?feature=player_embedded&v=ggLAUsiuI_o
While the R value will vary, most ocSPF products have an R value of around 3.8 per inch. Unlike medium-density closed-cell SPF, ocSPF is not a vapour barrier. When installed at 5.5 inches or more, ocSPF does act as an air barrier. It is often used for interior walls because it provides sound reduction by blocking and absorbing air leakage. It is usually only recommended for indoor applications. http://www.youtube.com/v/ggLAUsiuI_o?version=3
I employed a company to insulate my three story house in 2011. They started Insulating it in August of 2011...They said it would be a 3-4 day job. They installed it in 0.5"-8" lifts all in the same cavity, this left burned insulation and voids. They removed what they told me was the bad insulation and in the process cut many electrical wires. They fixed this. They then reinstalled too thick again in some spots and removed again. They then installed it for a 3rd time. The areas that I thought were good are now separating from the structural members leaving voids. As of October 2012, 1 year and 2 months of dealing with the contractor I told them I want proof that what has been installed carries a warranty or I want my money back and I will fix the problems myself. They have yet to provide me with this warranty. I have spent many hours in the house looking at what is bad and they need to fix. I am frustrated, 14 months of additional rent due to their negligence. I would like to know how I can get proof that the product carries the manufacturers lifetime warranty, or has it been installed improperly throughout the entire house. Desperately awaiting your response.  https://www.youtube.com/watch?v=ggLAUsiuI_o&app=desktop
Spray foam insulation, when properly installed is both an air barrier and when closed cell foam is used at the proper depth a vapor barrier!  Before hiring any contractor you should establish the brand of foam being used and verify that with the named manufacture.  Please ask for ESR reports and MSDS sheets on any foam being installed in your home. A couple areas where you might consider spray foam insulation include:
Spray polyurethane foam, or SPF, is the main type of 2-part, closed-cell spray foam used by insulation contractors. Large-scale insulation jobs require special equipment as well as safety gear to protect the installer from chemical fumes during installation. When the foam cures and hardens just several minutes after application, it's completely safe for as long as it stays in place.

How Much Better Is Spray Foam Insulation

Polyurethane is a closed-cell foam insulation material that initially contains a low-conductivity gas in its cells.[5] As a result of the high thermal resistance of the gas, spray polyurethane insulation typically has an initial R-value around R-3.4 to R-6.7 per inch.[5] In comparison, blown fiberglass typically has an R-Value of only R-3 to R-4 per inch.[6] https://www.youtube.com/v/ggLAUsiuI_o
A unique new event spotlighting the latest design & building processes, products and emerging technologies. This interactive three-day conference & expo is designed to inform and inspire today’s entire building team — innovative and influential architects, engineers, contractors, facility managers, owners and more. Educational sessions will include six separate tracks focused on plumbing, HVACR/mechanical systems, flooring, building envelope, roofing and general contracting.
According to the Department of Energy, an estimated 20 to 40 percent of a home’s utility bill could be going to waste from drafts and air leaks around openings. As temperatures cool and energy costs rise, the positive impact of energy efficiency on a building comes into focus. Air can enter and escape a structure through every gap, compromising the building envelope. Adding the right insulation and air-sealing will close these gaps, keeping interior spaces comfortable and reducing energy bills. 
once the foam is installed correctly, it is a inert plastic not much different than the foam cushions you sit on. there is not a health rick unless you have off ratio uncured foam that has not mixed properly. the foam is absolutely a health risk in its raw forms before it is mixed and cured. You should not be in the building without proper respirators and eye protection. The spray foam industry should be controlled and regulated by the same standards, testing and inspections that framing ,electrical and plumbing are. until that happens then you will have idiots with spray rigs ruining peoples homes and ruining the market for honest foam contractors that know how to price a job fairly and complete it correctly.
Note: The practice of foam insulating the attic has raised eyebrows in the building industry because "standard" roofing techniques call for the attic to be ventilated; however, in a vented attic situation it will become approximately 130 degrees in the summer. There's no reason for an air-conditioning and vent-ductwork to have to work in that type of severe conditions. By applying Icynene right on the underside of the roof deck, the severe temperatures no longer exist in the attic. In short, the attic is now a "conditioned" space of the house that is just as comfortable as any other room in the home. This is called a "Compact Roof", which means you can frame right up against it. The one drawback of using expanded foam on the inside of the roof is that this will cause the temperature of the shingles to rise, but how much is not yet known. And how much damage a rise in temperatures could cause is debatable.

Roof Spray Foam Insulation