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
Once a hero has acquired enough experience it will level up. When a hero levels, its stats get increased (each hero's stats increase differently) and it gains a skill point. The skill point can be spent on any one of the hero's spells or to increase the hero's stats.

Below is a table that shows the experience required by Heroes to reach different levels and experience gained by killing heroes and units of a certain 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. 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.