Tortuosity is a measure of the geometric complexity of the porous media. Knowing the tortuosity value of the porous media is helpful to get detailed information about the fluid behavior at microscale. In order to calculate the tortuosity, the velocity field of the fluid troughthe porous media is determined using the lattice Boltzmann method (LBM). The particle size of the obstacles is varied, keeping the porosity of the material as a constant. As a result, a relationship to determine the particle diameter as a function of the number of particles for a specific porosity value is given, and the dependence of the tortuosity with respect to the main flow direction is demonstrated.