Damage per hit
Attacks per second
Crit chance %
Crit multiplier (e.g. 2 = double)
DPS: 150.0
Formula: DPS = damage × attacks per second × (1 + crit chance × (crit multiplier − 1)). Example: 100 × 1.2 × (1 + 0.25 × 1) = 150.
Caveats: this ignores armor, resistances, cooldowns and buffs; game-specific versions add those.