Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions, OSR, & D&D Variants
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Upgrade your account to a Community Supporter account and remove most of the site ads.
Community
General Tabletop Discussion
*TTRPGs General
The formula for magic item prices
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Truename" data-source="post: 4603893" data-attributes="member: 78255"><p>I was working on a spreadsheet to track magic items today and I had to figure out a formula to convert magic item levels to prices. It was a bit tricky, so I thought I'd share it with you.</p><p></p><p>First, the formula. "$A1" is the item's level. I'll explain it below.</p><p></p><p>[code]=360*POWER(5,INT((-1)/5))+((360*POWER(5,INT((-1)/5))/2.25)*((MOD(-1,5))))[/code]Now, how it works.</p><p></p><p>Magic items are divided into "half-tiers." Items of levels 1-5 are in a half-tier, levels 6-10 are in another half-tier, and so forth. We'll number those tiers starting with zero, so levels 1-5 are in tier 0, levels 6-11 are in tier 1, and so on.</p><p></p><p>[code]half_tier = int((level - 1) / 5)[/code]There's a big jump in price between half-tiers. Each half-tier has its own "base price," which is the same as the price of the first item in the half-tier. So the base price of half-tier 0 (levels 1-5) is 360 gold, the base price of half-tier 1 (levels 6-11) is 1800 gold, and so on.</p><p>[code]</p><p>base_price = 360 * (5 ^ half_tier)[/code]Within a tier, the price increases more slowly. It increases differently in each tier, but always by the same amount. For example, in tier 1 (levels 6-10), level 7 items are 800 gold more expensive than level 6 items, and level 8 items are 800 gold more expensive than level 7 items. In tier 0 (levels 1-5), the price increases by 160 gold each time. We'll call this the "per-level increase."</p><p></p><p>[code]per_level = base_price / 2.25[/code]To calculate the price of an item, we need to know the level relative to its tier. We'll count from zero again. For example, a level 6 item is level 0 relative to its tier (which starts at 6), and a level 18 item is level 2 relative to its tier (which starts at 16). This is the "relative level."</p><p></p><p>[code]rel_level = (level - 1) % 5[/code]Given an item's relative level and how much the price increases every level, it's easy to calculate the price increase within the tier. For example, an item of level 8 is in tier 1, which has a per-level increase of 800. It has a level of 2 relative to its tier (which starts at level 6), so the item is 1600 gold more than a level 6 item. We'll call this the "relative price."</p><p></p><p>[code]rel_price = per_level * rel_level[/code]Once we have the relative price, we just add in the base price for the tier, and we're done!</p><p></p><p>[code]price = base_price + rel_price[/code]Now, to put it all together...</p><p>[code]</p><p>price = (360 * (5 ^ (int((level - 1) / 5)))) + (((360 * (5 ^ (int((level - 1) / 5)))) / 2.25) * ((level - 1) % 5))[/code]Simple. <img src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f609.png" class="smilie smilie--emoji" loading="lazy" width="64" height="64" alt=";)" title="Wink ;)" data-smilie="2"data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="Truename, post: 4603893, member: 78255"] I was working on a spreadsheet to track magic items today and I had to figure out a formula to convert magic item levels to prices. It was a bit tricky, so I thought I'd share it with you. First, the formula. "$A1" is the item's level. I'll explain it below. [code]=360*POWER(5,INT((-1)/5))+((360*POWER(5,INT((-1)/5))/2.25)*((MOD(-1,5))))[/code]Now, how it works. Magic items are divided into "half-tiers." Items of levels 1-5 are in a half-tier, levels 6-10 are in another half-tier, and so forth. We'll number those tiers starting with zero, so levels 1-5 are in tier 0, levels 6-11 are in tier 1, and so on. [code]half_tier = int((level - 1) / 5)[/code]There's a big jump in price between half-tiers. Each half-tier has its own "base price," which is the same as the price of the first item in the half-tier. So the base price of half-tier 0 (levels 1-5) is 360 gold, the base price of half-tier 1 (levels 6-11) is 1800 gold, and so on. [code] base_price = 360 * (5 ^ half_tier)[/code]Within a tier, the price increases more slowly. It increases differently in each tier, but always by the same amount. For example, in tier 1 (levels 6-10), level 7 items are 800 gold more expensive than level 6 items, and level 8 items are 800 gold more expensive than level 7 items. In tier 0 (levels 1-5), the price increases by 160 gold each time. We'll call this the "per-level increase." [code]per_level = base_price / 2.25[/code]To calculate the price of an item, we need to know the level relative to its tier. We'll count from zero again. For example, a level 6 item is level 0 relative to its tier (which starts at 6), and a level 18 item is level 2 relative to its tier (which starts at 16). This is the "relative level." [code]rel_level = (level - 1) % 5[/code]Given an item's relative level and how much the price increases every level, it's easy to calculate the price increase within the tier. For example, an item of level 8 is in tier 1, which has a per-level increase of 800. It has a level of 2 relative to its tier (which starts at level 6), so the item is 1600 gold more than a level 6 item. We'll call this the "relative price." [code]rel_price = per_level * rel_level[/code]Once we have the relative price, we just add in the base price for the tier, and we're done! [code]price = base_price + rel_price[/code]Now, to put it all together... [code] price = (360 * (5 ^ (int((level - 1) / 5)))) + (((360 * (5 ^ (int((level - 1) / 5)))) / 2.25) * ((level - 1) % 5))[/code]Simple. ;) [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*TTRPGs General
The formula for magic item prices
Top