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:

Hero Kill Experience
Hero kill experience is split by the total number of allied heroes in 1200 range. However, each hero in range will also get extra experience in addition to their basic share.

If L is the level of the killed hero:
 * 1 Hero is granted 120+20*L experience
 * 2 Heroes are granted 90+15*L experience
 * 3 Heroes are granted 30+7*L experience
 * 4 Heroes are granted 15+6*L experience
 * 5 Heroes are granted 10+5*L experience

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.