# Gun Damage Formulas

Hey guys, I’m looking for anybody who has any knowledge about the formulas used to calculate a gun’s damage (that you see printed on the card). I’m not looking for the DPS formulas, I’m looking for the formula that calculates the parts and how they adjust a gun’s base damage at different levels. Basically how the parts build the numbers you see on the card. Whether the body is the base, and the other parts adjust that number, or if it’s some crazy combination of variables I could never imagine.

I know just about all there is to know about the parts and what they adjust, but I just need some more knowledge about what variables are involved and how they work together. This probably requires a package disassembly of the game, but I was wondering if somebody had already done this and happened to know what it was, before I go down that road.

-Moved To Gameplay Section to hopefully attract some more people-

Have you seen the Gear Calculator?

Yes. It’s outdated, and it’s minified, so I can’t really figure out what they are by using the source code. All links to the forums involving the calculator are broken, and there’s no e-mail contact to ask the creator for the formulas or how he found them.

I am using it for some research, but that’s about it.

If you mean links to posts in the GBX forums, try changing the URL in the location bar by inserting “old” in front of “forums”. Most of the discussion will now be on oldforums.gearboxsoftware.com, but URLs may not have been updated accordingly.

Awesome, thank you! I’m not sure there’s anything buried in here that might answer me, and the user has been offline since late 2013. I appreciate it though, really helps me find older data!

Try these links to the old forums.

For anybody who wants it:

d = (((.24r + 1) * (b * 10w)) + ((b * 10w) * (a + g + c1 + c2))) * 1.13^l

r = rarity (0, 1, 2 or 3)
b = body modifier ( 0 < r < 2)
w = weapon modifier (0 < w < 1)
a = barrel modifier (0 <= a < 1)
g = grip modifier (0 <= g < 1)
c1 and c2 = accessory modifiers (0 <= c1 < 1) (0 <= c2 < 1)

This does not yet include legendary or unique and also doesn’t equate the barrel matching the body. However, I know what that modifier is, it’s just a matter of time until I can put it where it needs to be.

Also, this may not be the formula Gear Box uses. It does however, work.

1 Like