It is based on your smithing skill, and can be increased for specific levels of armor/weapons through smithing perks.
Using some potions/enchantments can increase your smithing more, and there is no upper limit if you use alchemy to enhance enchantments to enhance alchemy, etc, to enhance smithing.
The upper level (found using cheats) is beyond the point where an iron dagger deals hundreds of thousands of damage.