Carbon residue is a test performed on lubricating oils and fuels to determine their potential to form carbon deposits. The test involves heating an oil sample in a small tube and measuring the carbon residue left behind. A higher carbon residue number indicates the oil or fuel is more likely to leave deposits that can clog engines or damage components over time.