It took a while to make this thing. Click the red button to randomize the Base Stats, the blue to randomize IVs, and yellow to randomize EVs. You can also change the level. Press the green flag and it will ask for the name of a damaging move from Generation I. MAKE SURE TO CAPITALIZE THE ATTACKS (e.g. Earthquake, Razor Leaf, Blizzard). Then it will ask for the types of the attacking and defending Pokémon. Make sure to cap those too (e.g. Ghost, Fire, Water). The calculator will then run through, and the damage given will show up in the middle.
Credit to Tubahead for laying down the main engine concerning the Base Stats