QUOTE
"There's no exact formula for calculating CpM, so it requires looking up the CpM table instead."
From here...
https://pokemongo.gamepress.gg/damage-mechanics
The CpM table itself...
https://pokemongo.gamepress.gg/cp-multiplier
While you are at it...
https://pokemongo.gamepress.gg/gym-combat-mechanics