I was so confused about what items should I buy for my wizard (inteligence over raw damage?), that I decided to discover the formulae to calculate DPS and stop spending money on junk.

This may not be exactly what blizzard does, but my calculations are always and only 1,001 times lower than actual game DPS, so it's not the same but it's close enough to have a good idea what you can expect when changing gear.

You gonna need to know: 1 - your Raw Damage 2 - your inteligence 3 - your chance of critical hit 4 - and your atack per second rate 5 - a trait such as Glass Cannon

1 - Raw Damage
This is the sum of all average damage from all of your damage sources.
The damage source are weapon, rings, amulets, and orbs/books (source).
Any of these has a minimum damage and a maximum damage, you must calculate the average of everything.

example: wand = 11-20
ring 1 = 2-4
ring 2 = 2-4
source = 2-4
Average = [(11+2+2+2) + (20+4+4+4)] / 2 --> 24,5 of raw damage.

Haven't seem yet any atribute like +x do minum/maximum damage. If you find it, consider as 0-x or x-0 and procede with the average colculation.

Obs1 - From what I noticed, the DPS shown on the weapon is not relevant cause it doesn't consider the extra atack peed from other items.
Obs2 - Any bonus of the weapon such as 1-4 poson damage is already calculated in the min and max damage of the weapon, no need to worry about it.

2 - Inteligence
You can see this on you inventory - details. Is the sum of your base inteligence, with no gear, and all +inteligence items you have. No big deal here.

3 - Chance of critical hit
You can see this on you inventory - details. I don't know if there's an item that changes it or if any buff/debuff can increase it or decrease it on this beta patch. I will keep an eye you on it.

4 - atack per second rate
You can see this on you inventory - details. Its your weapon's atack speed plus any bonus from items (generally from gloves) or buff/debuffs (don't know if there's any)

5 - Glass Cannon
It increases in 15% all your damage.

Now the math:
(obs. considering my gear)
int = 149
crit = 5
aps = 1,46 (1,4 from wand + 4% from glove)
Wand = example above
2x rings with 2-4 damage each
a source with 2-4 damage

First you gonna apply the (inteligence + chance to critical) to your raw damage.

(24,5) + (24,5 * 156/100) = 62,23

Then you do the atack speed.

62,23 * 1,46 = 90,8558

Then you do the Glass Cannon

(90,8558) + (90,8558*15/100) = 104,4842

done

The Problem

I don't know what blizzard does with its calculation. I tried many combinations of gear and different aproaches on how the modifiers are applyed to the damage and I can't figure it out

The Calculator

So you can have a more practical calculator, do on excel as I did. Don't forget to extend the formulaes to other lines. Everything that is not based on formula, you should type, except weap. Dps.
(for easier copy&paste)
=F2+H2+I2+J2+K2
=((E2+E2*(A2+B2)/100)*C2)*D2/100+(E2+E2*(A2+B2)/100)*C2

While I calculated 104,4842, the game gives me 104,69. So try some different gears before spending any money on items, I don't know yet if these differences gets bigger with lower +int or higher +int that I used. And don't forget to change your inteligence, aps and damages whenever you plan to remove or add an item.

Thank for reading and if you have any suggestion or correction please inform. The last thing I want is give you false hopes or obviously wrong information.

I was so confused about what items should I buy for my wizard (inteligence over raw damage?), that I decided to discover the formulae to calculate DPS and stop spending money on junk.

This may not be exactly what blizzard does, but my calculations are always and only

1,001 times lower than actual gameDPS, so it's not the same but it's close enough to have a good idea what you can expect when changing gear.You gonna need to know:

1 - your Raw Damage2 - your inteligence3 - your chance of critical hit4 - and your atack per second rate5 - a trait such as Glass Cannon1 - Raw DamageThis is the sum of all average damage from all of your damage sources.

The damage source are weapon, rings, amulets, and orbs/books (source).

Any of these has a minimum damage and a maximum damage, you must calculate the average of everything.

example: wand = 11-20

ring 1 = 2-4

ring 2 = 2-4

source = 2-4

Average = [(11+2+2+2) + (20+4+4+4)] / 2 -->

24,5 of raw damage.Haven't seem yet any atribute like +x do minum/maximum damage. If you find it, consider as 0-x or x-0 and procede with the average colculation.

Obs1 - From what I noticed, the DPS shown on the weapon is not relevant cause it doesn't consider the extra atack peed from other items.

Obs2 - Any bonus of the weapon such as 1-4 poson damage is already calculated in the min and max damage of the weapon, no need to worry about it.

2 - InteligenceYou can see this on you inventory - details. Is the sum of your base inteligence, with no gear, and all +inteligence items you have. No big deal here.

3 - Chance of critical hitYou can see this on you inventory - details. I don't know if there's an item that changes it or if any buff/debuff can increase it or decrease it on this beta patch. I will keep an eye you on it.

4 - atack per second rateYou can see this on you inventory - details. Its your weapon's atack speed plus any bonus from items (generally from gloves) or buff/debuffs (don't know if there's any)

5 - Glass CannonIt increases in 15% all your damage.

Now the math:(obs. considering my gear)

int = 149

crit = 5

aps = 1,46 (1,4 from wand + 4% from glove)

Wand = example above

2x rings with 2-4 damage each

a source with 2-4 damage

First you gonna apply the (inteligence + chance to critical) to your raw damage.

(24,5) + (24,5 * 156/100) = 62,23

Then you do the atack speed.

62,23 * 1,46 = 90,8558

Then you do the Glass Cannon

(90,8558) + (90,8558*15/100) = 104,4842

done

The ProblemI don't know what blizzard does with its calculation. I tried many combinations of gear and different aproaches on how the modifiers are applyed to the damage and I can't figure it out

The CalculatorSo you can have a more practical calculator, do on excel as I did. Don't forget to extend the formulaes to other lines. Everything that is not based on formula, you should type, except weap. Dps.

(for easier copy&paste)

=F2+H2+I2+J2+K2

=((E2+E2*(A2+B2)/100)*C2)*D2/100+(E2+E2*(A2+B2)/100)*C2

While I calculated 104,4842, the game gives me 104,69.So try some different gears before spending any money on items, I don't know yet if these differences gets bigger with lower +int or higher +int that I used. And don't forget to change your inteligence, aps and damages whenever you plan to remove or add an item.Thank for reading and if you have any suggestion or correction please inform. The last thing I want is give you false hopes or obviously wrong information.

21.5 raw dmg * 1.4 attacks per sec = 30.1

30.1 * 1.04 haste = 31.3

31.3 * 2.44 int dmg = 76.37

76.37 * 1.15 glasscannon = 87.83

87.83 * 1.025 crit dmg ( (1.05 * 0.5 =1.025) since crits only add 50%dmg) = 90.03

/flex

I will fix it and repost it soon.

In some countries it is the standard.