Here a protocol is presented to build a fast and non-destructive system for measuring cell or nucleus compressibility based on acoustofluidic microdevice. Changes in mechanical properties of tumor cells after epithelial-mesenchymal transition or ionizing radiation were investigated, demonstrating the application prospect of this method in scientific research and clinical practice.