This depends on the geographic location, insulation, and cost of electricity. Lawrence Berkeley National Laboratory (LBNL), Oak Ridge National Laboratory (ORNL), National Roofing Contractors Association (NRCA), and several roofing material manufacturers have computer programs that can estimate the savings. A growing number of energy consultants are available to provide environmental regulation compliance information.
Spray foam is available in two different types: open-cell spray foam which is usually $0.44 to $0.65 per board foot and closed-cell spray foam which is about $1 to $1.50 per board foot. The average cost to have spray foam professionally installed is about $2,314. This number can vary depending on whether the home being insulated is newly constructed. However, finished homes are not a good candidate for spray foam insulation but great for weatherization or an energy audit.
What do you mean by "our AC units require fresh air ventilation"? Fresh air doesn't come from the attic. If there's an atmospheric combustion appliance in the attic, such as an 80 AFUE furnace, then you shouldn't be encapsulating the attic anyway. If that's the case, you don't want spray foam on the roofline at all. You can either change out the furnace to a sealed combustion unit or do your insulating and air-sealing at the flat-ceiling level.
I don't know if it's common or uncommon, but installing a layer of rigid foam above your roof sheathing in order to interrupt thermal bridging is always a good idea, and is preferable in all respects to a roof assembly without any rigid foam above the sheathing. If you decide to install rigid foam above the roof sheathing, you shouldn't use closed-cell spray foam under the sheathing; either use open-cell spray foam (which is vapor-permeable) or a fluffy insulation like cellulose, mineral wool, or fiberglass (any of which will allow the roof sheathing to dry to the interior).
If what you are looking for is a fiberglass roof coating for your recreational vehicle, then the Dicor RPFRC1, which is available in a 1-gallon container is an ideal option. It makes use of a hundred percent acrylic fiberglass resins formula, which is effective in providing a more flexible coating, which tends to contract and expand with each roof movement.