MINEVIL
Cheapest anvil order for Bedrock enchantments.
1. Pick your item
2. Pick enchantments
Click a name to add it at max level, or click a numeral to set the level. Conflicting enchantments are crossed out.
3. Cheapest anvil order
Rules used
The enchantment level times its book multiplier (Unbreaking III = 3), plus a penalty for each earlier anvil use on either side: 1, 3, 7, 15 and so on.
A step costing 40 levels or more shows "Too Expensive" in survival. MineVil never suggests an order that hits it.
Merging small books together before adding them to the item keeps penalties low. MineVil checks every order and shows the cheapest total.
There is no Sweeping Edge, and Infinity and Mending can't share a bow. Conflicting enchantments are blocked so nothing is lost.
XP points assume each step is paid from level 0. Your real cost in points depends on your starting level.
Spear and Lunge are the newest additions here. Check them in your world in case Mojang has changed them.