Crates/Crate values in 1.4

This page is devoted to figuring the value of crate contents. If you're not into the subtotals, you can skip to the Recap at the end. Wiki editors can examine the formulas in the source.
The advent of 1.4 has added new types of crates, splitting pre-and-post Hardmode crates into separate items. It has also added a few new crate pairs, for Oasis and Lava.

## Crate contents

Crates of all types have contents according to a loose formula. Few of the contents are guaranteed, but when opening many crates, all of them will show up in the gathered loot.

* Coins can be found in any crate, and for all types of crates, the average coins received exceeds the average sale price of all other contents.
* Metal ores and bars:
	+ Any crate can contain bars, but before 1.4, only Wooden crates contained ores. In 1.4, all crates do.
	+ Before and after Hardmode, different crates will be caught in the same biomes, and any "legacy" crates from an upgraded world will be the pre-Hardmode versions.
	+ pre-Hardmode crates will only have pre-Hardmode metals; Hardmode crates will include and favor Hardmode metals. This raises the average metal value for Hardmode crates.
	+ low-tier crates omit high-tier metals, higher-tier crates omit low-tier metals. Biome crates have all metals except for omitting Copper and Tin bars.
	+ For any given tier of crate, all pre-Hardmode metals which do appear, will appear with equal chance and number, and likewise for all Hardmode metals. This includes the "alternate" metals for each tier.
* Buff potions. The particular potions and their number vary, but all such buff potions sell for 2.
* Wooden and biome crates can contain one item from a list of rare "special" items. In the case of the Dungeon crate, this item comes by way of a Golden Lock Box. Lava crates have both their own drop list and a Obsidian Lock Box. These items mostly duplicate the items offered by corresponding chests placed in the world; while many of them are significant to early-game progression, they are still pre-Hardmode items, and not hugely valuable. In 1.4, this item always appears, in previous versions it was a 1 in 6 chance.
* Various miscellaneous items, including Healing and Mana potions and Fishing Bait, both of various tiers according to the crate tier. This subtotal also includes any other "rare" items which have their own drop chance, instead of being part of the "special" list -- these add significant value only for the iron and gold crates, which lack a "special" list entirely.
* In Hardmode, beside the above changes in metals, some crates will offer additional items with their own drop chances.
* I am ignoring the overlap among some rare drops that are exclusive to each other. This may slightly inflate their contribution.

Initial values for ores, bars, and "special list" items are simple averages of the list -- that is, one item from the list. Again, healing/mana potions aren't on the main potion list, but go with the "misc" items; similarly, "specials" are only the main list for the crate type, anything with its own chance to appear goes in "misc". "Pro-rated" values are adjusted for chance-to-hit and number given. Crate values are averages per crate.

* average of 1 ore, all pre-hardmode "basic" metals: 2
* average of 1 ore, all Hardmode "basic" metals: 12
* average of 1 bar, all pre-hardmode "basic" metals: 7
* average of 1 bar, all Hardmode "basic" metals: 45

## Wooden Crate

Wooden and Pearlwood crates have Copper, Tin, Iron, and Lead only. Average price per piece: ore 94, bar 281
Pearlwood crates have Cobalt and Palladium only. Average price per piece: ore 8, bar 24

### Partial Sums

* average of 1 "special item", wood-crate list: 44
* pro-rated share for cash in a wood crate: 17
* pro-rated share for other items in a wood crate: 15
* pro-rated share for Hardmode-only items (besides ores/bars) in a wood crate: 6
* Metal average yield for wood crate, Pre-Hardmode: 2.07 ore and 0.5 bars among 4 metals
* Metal average yield for wood crate, Hardmode: 1.04 ore and 0.25 bars among 4 early metals, 1.04 ore and 0.18 bars among 2 late metals

### Final Values

* Wooden Crate average value: 37
* Pearlwood Crate average value: 53

## Iron Crate

Iron and Mythril crates don't include Gold, Platinum, Adamantite, or Titanium.

### Partial Sums

* Iron Specials: No list items
* Iron Cash, pro-rated: 18750
* Iron Misc, pro-rated: 4270.5
* Iron Hard, pro-rated: 5
* Metal average yield for Iron crate, Pre-Hardmode: 3.92 ores 1.5 bars among 6 metals
* Metal average yield for Mythril crate, Hardmode: 1.96 ores and 0.54 bars bars among 6 early metals, 1.96 ores and 1 bars among 4 late metals

### Final Values

* Iron Crate: 24316.33
* Mythril Crate: 3129.87

## Biome Crates

### Partial Sums

Biome crates Omit only Copper and Tin bars

* Some biomes have hardmode bonuses (see below).
* Biome (common) Misc, pro-rated: 3287.5
* Biome (common) Cash, pro-rated: 21250
* Metal average yield for pre-Hardmode Biome crate: 2.79 ores among 8 metals, and 3.75 bars among 6 metals
* Metal average yield for Hard-mode Biome crate: 1.39 ores among 8 early metals, and 1.25 bars among 6 early metals, 1.39 ores among 6 late metals, and 2.33 bars among 6 late metals

* Biome (common) Value, pre-Hard: 28491.07
* Biome (common) Value, Hardmode: 4740.28

* Jungle Special, misc: 110, 40,
* Sky Special: 1133.33
* Corrupt Special: 150
* Crimson Special: 150
* Hallowed Special: none
* Desert Special, misc: 1750, 375
* Frozen Special, misc: 1666.67, 10
* Ocean Special, misc: 66, 10
* Dungeon Special (lockbox), misc: 23333.33, 15
* Lava Special, Lockbox, misc: 2220, 25833.33, 7666.67
* Corrupt Hard, pro-rated: 1750
* Crimson Hard, pro-rated: 1925
* Hallowed Hard, pro-rated: 5950

### Final Values

* Jungle/Bramble Value: 43491.07 / 55740.28
* Sky/Azure Value: 38624.4 / 5873.61
* Oasis/Mirage Value: 39616.07 / 51865.28
* Frozen/Boreal Value: 4157.74 / 5246.94
* Ocean/Seaside Value: 36091.07 / 48340.28
* Dungeon/Stockade Value: 53324.4 / 65573.61
* Obsidian/Hellstone Value: 82211.07 / 94460.28
* Corrupt/Defiled Value: 43491.07 / 57490.28
* Crimson/Hematic Value: 43491.07 / 57665.28
* Hallowed/Divine Value: 28491.07 / 46690.28

## Golden Crate

### Partial Sums

Golden crates provide only the top four (two tiers) of pre-Hardmode and Hardmode metals.

* Average 1 ore from Gold Crate pre-Hardmode bars: 281.25
* Average 1 ore from Titanium Crate Hardmode bars: 14
* Average 1 bar from Gold Crate pre-Hardmode bars: 1125
* Average 1 bar from Titanium Crate Hardmode bars: 56
* Gold Specials: No list items
* Gold Cash pro-rated: 46666.67
* Gold Misc, pro-rated: 13370.83
* Gold Hard, pro-rated: 15
* Metal average yield for Gold crate: 7.4 ores and 6.4 bars among 4 early metals
* Metal average yield for Titanium crate: 3.7 ores 2 bars among 4 early metals, 3.7 ores and 4 bars among 4 late metals

Golden crates are the only crates with a chance of being rolled "empty", because they don't always have at least bait. Such crates are re-rolled, which in theory should add about 4% to the average returns.

### Final Values

* Gold Crate : 6187.44
* Titanium Crate : 92641.46

## Recap

### Overall values

In all cases, the coin alone vastly exceeds the sale prices for unopened crates. Biome crates gain at least 122 in Hardmode from the new metals; a few types have other extra items in Hardmode. Obsidian and Hellstone crates are anomalously valuable because they have both their own "special items" list and the Obsidian Lockbox., with some miscellaneous drops to boot.

### Metal contents

This table lists the average per crate for *each* ore and metal available for a given crate, e.g. the amount of Iron Ore.

0.13 @
0.06 @
0.52 @
 Iron Crate | 0.65 @
0.25 @
0.09 @
0.49 @
 PHM Biome Crates
0.63 @
0.21 @
0.23 @
 Golden Crate | 1.85 @
1.6 @
0.5 @
0.93 @
1 @