Cells are incubated with the MTT reagent, where metabolically active cells convert MTT into insoluble formazan crystals. These crystals are then solubilized, and the resulting colored solution is quantified by measuring its absorbance with a spectrophotometer. The absorbance value is directly proportional to the number of viable cells.