I have read a formula for porosity that says ratio of volume of pore to total bulk volume of material. From the BET analysis I can get the pore volume of the material. How do I calculate the total bulk volume of the material? Is there any formula?
Just to clarify, BET strictly refers to surface area measurement not pore volume. A complete gas sorption isotherm , say to P/Po = 0.99 can be used to evaluate total pore volume if it reaches a plateau value (if not, the curve is still increasing at 0.99 this suggests there are larger pores not yet filled so pore volume will be underestimated).
If you additionally know the "true" density of the solid (from literature, XRD, gas pycnometric measurement, etc) then determining porosity is trivial. The reciprocal of density is "specific volume", that is the volume of solid structure per unit mass, say cc/g. Add pore volume, also cc/g, and you have the bulk volume (solid + pores) per unit mass. Porosity is simply the pore volume fraction of the bulk volume (it's usual to express porosity as a percentage, but not absolutely required).