FBA cost is calculated on the size and weight of a package to be shipped, the number of items you want Amazon to store, the Amazon referral fee, the cost of goods sold, and any other miscellaneous costs associated with producing or re-selling a product through Amazon.