There are 504 3-letter combinations, but not all will be sensible words.
There are 9 different letters in “carpeting”. There are 9 choices for the first letter, 8 for the second and 7 for the third: 9*8*7=504. Of these, only about 63 are recognisable as English words, excluding exclusively proper names and acronyms.