The formula for (a-b) whole cube is (a-b)^3 = a^3 - 3a^2b + 3ab^2 - b^3. This formula is used to find the cube of the difference between two terms and is also used to factorize some types of trinomials. The formula can be used to solve problems quickly without undergoing any complicated calculations.