Damage * Shots / Reload
MAX(Damage - Armor, Damage * 0.2) * Shots * Hull Multiplier / Reload
For full DPS against a specific target. Armor can have a major effect against ships like MLRS, which have a ton of low damage shots. And actually, I'm not sure if armor is applied before or after the multiplier...it could be:
MAX(Damage * Hull Multiplier - Armor, Damage * Hull Multiplier * 0.2) * Shots / Reload
(I'd be grateful to hear from anyone who knows which way the armor formula works.)
You know, because it's so much more fun to complicate things.
Of course, if you are only looking for base DPS (ignoring what it's targeting), which it sounds like the author wants, you would use the formula Draco mentioned.