When companies ship it , they also take into consideration the cost of the packing materials ( boxes or envelopes ) , the payroll for the person to pack the product, etc... It does add up. Rent and utilties for the building.
I agree sometimes they are way out of line with the charges, but for a company there are other expenses to consider.