Voids ratio is defined as the ratio of the volume of voids to the volume of solids Porosity is defined as ratio of the volume of voids to the total volume. http://www.intelligentcompaction.com/downloads/IC_RelatedDocs/SoilCmpct_Basic%20definitions%20of%20Soils.pdf
Article The relationship between porosity and strength for porous concrete
It is clear that porosity is defined as ratio of the volume of voids to the total volume while, voids ratio is defined as the ratio of the volume of voids to the volume of solids.