``Crystal structure`` or ``cif''. The latter means Cristallographic Information File and contains information about the structure....Which program package you have available?
I prefer to do this sort of calculation on paper or using Excel. Firstly calculate the cell volume, e.g. for a cube the cell volume = a x a x a. Next you need to calculate the volume your atoms are occupying within the cell;
What is the chemical composition or stoichiometry, e.g. TiO2 - one titanium to two oxygen?
How many of these units (e.g. TiO2) are contained within the unit cell?
Attain the ionic radii for each element from a table (I'd recommend the Effective Ionic Radii table by Shannon, 1976).
Use the ionic radii to calculate the hard sphere volume for each element, i.e. volume = 4/3 pi r3
Add all the atomic volumes contained within the unit cell (be careful here as some atoms may only have a fraction of their volume within the cell)
Divide atomic volume by cell volume, and there you have it.
You will know if your calculation is in the region of being correct if you're getting values somewhere between 0.5 to 0.75.
If the crystal structure consists of dissimilar atoms or ions with different radii, it is possible to obtain a more dense packing than 0.75 when you take into account the atoms of all varieties (small atoms fill the spaces between large atoms). At the same time the ratio of packaging that is relevant only to small atoms can be even less than 0.5.