You may find this interseting.
https://pokemongo.gamepress.gg/damage-mechanics
Basically, the amount of damage the moves do is dependent on...
1. Your attack stat, (base stat + IV)
2. Your opponents defence stat (base stat + IV)
3. Your attackers level, by way of CpM (see link)
EDIT Just added the link I meant to put in first time.