The Terraria DPS Calculator gives you an honest damage-per-second figure for any weapon and build, using the game’s real damage, crit, defense, and attack-speed rules. It is built for comparing two weapons or two accessory loadouts side by side.
How it works
Damage is built up in the order Terraria uses, then reduced by the target’s defense and averaged across crits:
modified = base x (1 + percentBonus) + flatBonus
afterDef = max(1, modified - difficultyFactor x defense)
avgPerHit = afterDef x (1 + critChance) // crits deal 2x
attacks/sec = 60 / useTime
DPS = avgPerHit x attacks/sec x hitRate
The difficulty factor is 0.5 on Normal, 0.75 on Expert, and 1.0 on Master. Because the damage after defense is floored at one, fast low-damage weapons still chip away at tanky enemies.
Tips and example
A weapon with 40 base damage, a 30 percent class bonus, 15 percent crit, and a use time of 20 against a 30-defense enemy on Expert lands roughly: 40 x 1.3 = 52, minus 0.75 x 30 = 22.5 to about 29.5, times 1.15 for crits, times three attacks per second — near 102 DPS at full accuracy. Swap in a faster weapon or more crit and re-run to see which build actually wins. Remember that use time, not raw damage, often decides the comparison.