Density cannot be defined for irregular objects.
Density = MassVolume
Density can be calculated for all types of shapes i.e. regular and irregular objects.
To calculate density of a substance, we need to find out its mass and volume.
The mass and volume of an irregularly shaped object can be measured by a beam balance and by the displacement method respectively.