[RPG] Seeking a maths formula to determine the number of coins in a treasure hoard, given hoard value

statisticstreasure

Lots of online generators will gladly spit out hoards that are heavily inclined toward higher-denomination coins, gems, and other, highly-concentrated instruments of wealth; I want to go heavily into the mid-denomination coins for some treasure hoards, especially where mechanically and/or thematically appropriate, such as in the hoard of a Silver Dragon or in the purse of a tax collector: the former because the Silver wyrm likes silver, the latter because the average person being taxed would not have had high-denomination coins or gems with which to render payment.

Here's an example problem: let us say there exists a hoard of gold, silver, and copper coins which have a combined value of 873 gp; and, the value of 1 gp = 10 sp; and, the value of 1 sp = 20 cp; and, the percentage of coins in this hoard are 13% gold coins, 60% silver coins, and 27% copper coins. Given the above—
1. How many coins of each type are in this hoard?
2. What is the mathematical formula to determine these numbers?

Here's another example problem: let us say there exists a hoard of gold, silver, and copper coins which have a combined value of 212 gp; and, the value of 1 gp = 10 sp; and, the value of 1 sp = 20 cp; and, the percentage of coins in this hoard are 17% gold coins, 54% silver coins, and 29% copper coins. Given the above—
1. How many coins of each type are in this hoard?
2. What is the mathematical formula to determine these numbers?

N.B.—I am not looking for napkin math or juggling numbers to brute force the answers through guessing and elimination. I've already done that to arrive at the answers to part 1 for the above problems; what I don't know, and want, is a maths formula I can use to solve different problems by simply inputting the total coin value and the coin percentages.

Best Answer

You can come up with the formula by figuring out the average value of adding one coin to the hoard. You know the percentage and value of each type of coin, so for each type of coin, multiply that percentage by the value of the coin in gold pieces, and add them all up or $$AvgValue = \sum_{t=Types}{Percentage_t \times ValueInGP_t}$$ Then the total number of coins in the hoard is just the total value divided by the average value. You can figure out the number of each type by multiplying the total number by the percentages.

In the example you gave (which can't be solved using an integer number of coins), the average value would be

$$AvgValue = \underbrace{13\% \times 1}_{Gold} + \underbrace{60\% \times 0.1}_{Silver} + \underbrace{27\% \times 0.005}_{Copper} = 0.19135$$ And the total number of coins in the hoard would be $$Number\;of\;Coins=873/0.19135=4562.32$$ Resulting in

$$ \begin{align} Gold &= 4562.32 \times 13\% = 593.1 \\ Silver &= 4562.32 \times 60\% = 2737.4 \\ Copper &= 4562.32 \times 27\% = 1231.8 \end{align} $$

Related Topic