This is definitely a very dumb question, but I honestly couldn't find a straight answer to my specific question anywhere, so sorry about that.
To better explain, you can do far more damage than necessary to kill a Pokemon, so is recoil based on that damage or on the damage ACTUALLY done, AKA, if the opponent is full health, 300, is the recoil based on that 300?