There is a lot more to it. Damage is calculated with one large formula:
Damage = ((((2 Level / 5 + 2) AttackStat AttackPower / DefenseStat) / 50) + 2) STAB Weakness/Resistance RandomNumber / 100
To take into account you multiply your pokemon's offensive or defensive stat by the percentage based on this chart.
-6 levels: 25%
-5 levels: 29%
-4 levels: 33%
-3 levels: 40%
-2 levels: 50%
-1 level: 66%
0 levels: 100%
1 level: 150%
2 levels: 200%
3 levels: 250%
4 levels: 300%
5 levels: 350%
6 levels: 400%
The power depends on the power of the pokemon using it. Swords dance and stat boosters affect the pokemon's stats, not the base power of the moves they use.
http://www.serebii.net/games/damage.shtml