A 2.1 soundbar consists of two speakers and a subwoofer, while a 5.1 soundbar, on the other hand, consists of five speakers and a subwoofer.