Experience

Experience in Dota 2 is given by a unit on the enemy team that dies. Experience is used to level up, and it takes increasingly more experience to level up as a hero's level progresses.

A few important things about experience:


 * Experience is equally shared by all heroes in a 1200 range.
 * Hero kills outside of 1200 range will give experience to the killer.
 * Denying an allied unit does not grant experience to the ally.
 * Heroes take their share of experience even after level 25, even though they cannot use it.
 * Building kills grant experience.
 * Summoned units (units created by spells or items) give 50% experience.

Leveling
A Hero levels up by acquiring experience points from enemies (including Creeps, Towers, and summoned units) which die nearby. When a Hero levels, its stats get increased according to that Hero's individual attribute bonuses, and it gains a skill point. The skill point can be spent on any of the Hero's spells which has not been maxed out, or to increase the hero's stats by an additional 2 points each (Strength, Agility, and Intelligence). Skill points carry from level-to-level; if a Hero levels up multiple times without spending skill points, they are retained for future use.

The amount of experience required to level up is equal to the upcoming hero level * 100. For example, to increase a Hero's level from 1 to 2 (the first level "gained", as each Hero starts the game at level 1), a Hero requires 200 experience points, while levelling up from 24 to 25 requires 2500 experience points. Recently, this rule got an exeption for reaching the levels 7 and 8, as they now require the same 600 experience as level 6. This oddity is ironed out by the unusual high 1200 xp required for level 9, after which the required experience for each level returns to the usual formula. The reason behind this is to help support-type heroes to sustain their usefulness throughout the midgame by making it easier to obtain a acceptable herolevel, so the difference to carry-type heroes of the enemy team is not as drastical during the first half of the match.

Below is a table that shows the experience gained by one or more Heroes who are near a killed enemy Hero of a given level:

Experience Formula
If L is the level of the killed hero, the amount of experience gained is:
 * 1 Hero:
 * f(0) = 220
 * f(x) = f(x-1) + min(120, 20x)


 * 2 Heroes:
 * f(0) = 140
 * f(x) = f(x - 1) + min(65, 15 + 10x)

Denying
Denying occurs when a hero lands a killing blow on an allied creep or hero. Heroes can only target allied units if the creep or hero is under 25% health(50% for creeps). Melee enemy heroes in 1000 range of the denied unit receive 36/n experience and ranged heroes receive 18/n experience, where n is the total number of enemy heroes within the 1000 range. Denying an allied unit prevents the opponents from earning gold.