First measure the apparent density da using a parallelepiped block of perfectly known dimensions that you can weigh accurately. da is the ratio of weight to volume. Then use the density of the metal dm and calculated the porosity Fi as Fi = 1 - da/dm.
For measuring the density of porous materials, usually tap density meters are used. Another option is high pressure volumetric gas analyzer that has a mode where you can measures the free volume using He and then you can calculate the density since you would know the mass of your sample.
For measuring the surface area, you can use Nitrogen sorption and by applying BET model, you can measure the surface area.
@Raeesh Muhammad .... thanks for the answer... is there also any possible way to measure the porosity by using Archimedes principal too ??? I do not have the instruments so want to follow it..... Can you help in this regard ?
The problem with Archimedes principal is if you have large open pores it will not be considered so you may need anoteher way like the ones suggested by others or Hg porosimitry to know the volume of these pores and you can use Archimedes principal to check how many percent of closed pores you have.