The main difference between a coffee table and a large square cocktail table is that the former is round and, traditionally, a bit lower, whereas cocktail tables are usually slightly taller and either square or rectangular.
While they used to have different purposes in the past, nowadays they’re both used as a small surface placed in the middle of a seating area and can both be found in different heights.