Porosity is an important parameter for characterizing the microstructure of solids that corresponds to the volume of the void space, which may contain fluid or air, over the total volume of the material. Many materials of natural and technically manufactured origin have a large number of voids in their internal structure, relatively small in size, compared to the characteristic dimensions of the body itself. Thus, porosity is an important feature of industrial materials, but also of biological ones. The porous structure affects a number of material properties, such as sorption capacity, as well as mechanical, thermal, and electrical properties. Porosity of materials is an important factor in research on biomaterials. The most popular materials used to rebuild damaged tooth tissues are composites and ceramics, whilst titanium alloys are used in the production of implants that replace the tooth root. Research indicates that the most comprehensive approach to examining such materials should involve an analysis using several complementary methods covering the widest possible range of pore sizes. In addition to the constantly observed increase in the resolution capabilities of devices, the development of computational models and algorithms improving the quality of the measurement signal remains a big challenge.