Enchanting is gambling with your gold, and the failure rule changes the math dramatically. This calculator computes expected attempts and total cost to reach your target enchant level, plus the chance of hitting it within a fixed budget.
How it works
Each attempt succeeds with probability p, so the expected attempts for one
level is 1 / p. Across L levels:
hold-on-failure: expected attempts = L / p
reset-on-failure: expected attempts = (1/p^L − 1) / (1/p − 1) [chain expectation]
expected cost = expected attempts × cost per attempt
For hold-on-failure, the chance of reaching L successes within B attempts is
the negative binomial CDF — the probability of seeing at least L successes in
B independent Bernoulli trials.
Example and tips
A 25% enchant over four levels averages 16 attempts with hold-on-failure (4 per level). The same target with reset-on-failure averages far more, because any failure can cost you progress. Always confirm whether your game resets on failure, and prefer protection items or pity floors where available — they turn a punishing reset chain into a bounded cost.