I learned that we could estimate the porosity based on the differences between actual electrode density (=loading mass/loading volume) and theoretical electrode density (assuming no void space in the electrode) based on densities of individual components (such as active material, binder, carbon black).