I want to know the exact formula.. By chance, is this it?

((Equip Strength + Strength) X 2) - (Defense + Equip Defense of attacked player/boss) + Direct Damage

So lets put numbers in there
500 equip str
200 str
300 def
200 equip def
0 direct

Would be 900 correct?