Just wanted to share a macro I made using this equation "&nbsp;(Level) 2 ×10+(ConsumedMaterials×2)+(NonConsumedMaterials×0.1) " from the comment linked at the bottom. Hope this is useful to people! /w gm &amp;{template:npcaction} {{rname= Spell Service }} {{name= Cost }} {{description= That'll cost you [[?{Level of Spell|0}**2*10+?{Cost of Consumed materials|0}*2+?{Value of NonConsumed Materials|0}*.1)]] Gold.}} <a href="https://rpg.stackexchange.com/questions/109343/how-much-should-npcs-charge-for-spells-cast-as-services-to-pcs" rel="nofollow">https://rpg.stackexchange.com/questions/109343/how-much-should-npcs-charge-for-spells-cast-as-services-to-pcs</a>