Books vs enchanted items — which is actually cheaper?

Book multipliers are roughly half of item multipliers, so the same enchantment transferred from a book costs about half as much per operation. But merging books is a longer chain, and chains accumulate penalties. The honest answer depends on how many enchantments you're stacking.

The multiplier gap

From the Wiki's table (full list on the XP table):

EnchantmentFrom itemFrom book
Sharpness, Efficiency, Protection, Power, Unbreaking1×1×
Fire Aspect, Looting, Fortune, Mending, most utility4×2×
Thorns, Silk Touch, Infinity, Channeling, Soul Speed8×4×

Note the 1× tier: for the most common enchantments the book advantage is zero on multiplier. The saving there comes from the item route's other cost — destroying a second enchanted item you had to find or trade for.

When the item route wins

When books win

The hybrid that most players actually want

Build the first two enchantments from items if you have donors, then finish the item with books arranged by the calculator. Or simpler: use books for everything and let the tool balance the tree — the difference is usually a handful of levels, and the plan is far less error-prone.

Either way, run the plan through the calculator before touching the anvil: the cheapest route depends on the set of enchantments, not on a universal rule.