Resistivity can be measured using various techniques, such as the four-point probe method or the Van der Pauw method. These methods involve passing a known current through a sample and measuring the voltage across it to determine the resistance. The dimensions of the sample, such as length and cross-sectional area, are also measured to calculate the resistivity.