The periodic table consists of 118 elements. However, please note that the periodic table can be subject to updates and changes as new elements are discovered or synthesized in laboratories. Scientists continue to research and study elements, and the periodic table may expand or be modified in the future. Always check for the latest information to get the most up-to-date number of elements in the periodic table.