Characters advance through 20 levels. With XP leveling, your DM awards experience points (XP) for defeating monsters and other challenges, and you gain a level as soon as your total reaches the next threshold in the XP chart: 300 XP for level 2, 6,500 for level 5, 85,000 for level 11 and 355,000 for level 20. The thresholds are the same in the 2014 and 2024 rules.
The gaps grow fast at first and then level off. Level 2 needs only 300 XP, but going from level 4 to level 5 takes 3,800 XP, and from level 10 to 11 takes 21,000. Monsters with a higher challenge rating are worth more XP, so the climb keeps pace. The XP calculator adds up encounter XP, and the party XP splitter divides it between players.
Your proficiency bonus rises with total character level, not class level: +2 at levels 1–4, then +1 at levels 5, 9, 13 and 17, up to +6. Each time it rises, update every proficient attack, save and skill on your D&D character sheet.
Many tables skip XP and use milestone leveling, where the DM levels everyone at story beats. Either way, hit points, features, Ability Score Improvements and spells arrive at the same character levels.