Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
http://snap.berkeley.edu/snapsource/snap.html#present:Username=SPG141&ProjectName=Move%20Damage%20Calculator
I made a calculator that can factor in all variables that play a part in determining damage and output a damage total in terms of HP, and then tell whether it is a KO. This works for...