Here is a more accurate formula for the score:
Score = (A + B + 200*kills + 20*gold - 12*seconds) * D.
“A” is determined by the game progress, every percent of completion of a floor will gives you 100 points. For example, if you died in 67% of 3-6, since you have completed 3-1 to 3-5 (5 floors) and 68% of floor 3-6, so you will get 5 levels * 100 percent * 100 points + 68 percent * 100 points = 56,800 points for “A” score.
“B” is the bonus. If you complete the whole act, you will get 20,000 point bonus, otherwise zero.
“D” is the difficulty factor. If the difficulty is “Normal”, then D = 50% (50% penalty). If the difficulty is “Hard”, then D = 75% (25% penalty). If the difficulty is “Suicide”, then D = 100% (No penalty).
The formula of the score is:
1. Every percent of completion of a level will gives you 100 points.
(That means if you complete a level, you will get 100 points times 100 = 10,000 points)
2. If you complete the whole act, you will get 20,000 point bonus.
3. 200 points per kill.
4. 20 points per money.
5. Minus 12 points for a second.
(Item 3 to 5 are the same as Zelnaught mentioned)
Finally, if the difficulty is “Normal” then 50% discount on the total score, 25% discount for “Hard” and no discount for “Suicide”.