It is dependent on the item slot and gear level. So far, I haven't found any mathematical method to figure out the caps in advance.