Minecraft wiki entry for Combat, associated text: Anvils deal as much damage when falling on an entity as that entity would take with no armor or potion effects falling from the same height. This means to kill a player or mob with 20 health, it has to fall 24 blocks. This will damage the anvil as well.