Diablo – Calculating Dual Wield Character DPS

diablo-3

I've been hacking through several formulas across this site and others. I'm running into problems trying to figure out the true DPS when the character is dual wielding. Let's take a low level Barbarian for example.

Strength: 28
Damage Increased by Skills: 0%
Attacks per second: 1.24
Crit Chance: 5%
Crit Hit Damage: 50%

Weapon Stats:
1 Hand Spear: 7-11 Damage
Spear Base Attacks per Second: 1.20
Bonus: Increase Attack Speed by 3%

So, the formula for this would be (or any one handed character):

7 + 11 = **18**; (weapon damage range added together)
1.20 * (1 + (3 * 0.01)) = **1.236**; (base weapon speed, times any IAS bonus on the weapon plus 1)
(0 * 0.01) + 1 = **1**; (damage bonus from skills. this character has 0)
((5 * 0.01) * (50 * 0.01)) + 1 = **1.025**; (crit chance * crit damage)
(28 * 0.01) + 1 = **1.28**; (attribute to percent + 1)

multiple all of the results above, and divide by two and you get:
14.59

which is the correct DPS of the character. But now, how would you calculate the DPS of an offhand weapon equipped to this character, say:

1H Axe
Base Speed: 1.30
Damage Range: 9-14

Does anyone know how to calculate this?

Best Answer

The actual formula the game calculates damage is:

(AvgMainHandHit + AvgOffHandHit) / (MainHandSwingTime + OffHandSwingTime)

which equals:

( Average Double Hit Damage ) / ( Average Double Hit Time ).

I purposefully named it Hands, because we calculate both weapon and character statistics into it.