% sales margin

No there isn’t at the moment. However, this topic is already an idea for future implementation:

For now your best option is to perform a batch update on Inventory Items whenever the cost changes. Otherwise, you can always fallback to the manual way of updating the price of each sale.