Each officer has his own formula. The cost for the new officer of each is calculated as shown below:
Captains = (Current Number of Captains + 1)^1.5 * 400
Admirals = (Current Number of Admirals + 1)^1.5 * 2000
Merchants = (Current Number of Merchants + 1)^1.5 * 1000