The compaction factor test is used to determine the workability of concrete. It measures the degree of compaction achieved by a specific concrete mix. The test involves compacting a known volume of concrete and comparing the mass before and after compaction. The compaction factor is calculated by dividing the mass after compaction by the mass before compaction.