How is my percentage calculated in Paypal chained payments?

Does anyone know if the percentage deducted from a store’s sales that go to the main store are taken from the whole price (shipping included) or just the product price? Thanks!