# Shipping costs advanced calculation

**URL:** <https://forum.shopware.com/t/shipping-costs-advanced-calculation/88386>\
**Category:** Shopware 5\
**Created:** [16. Juni 2021 um 14:30 UTC](https://forum.shopware.com/t/shipping-costs-advanced-calculation/88386 "2021-06-16T14:30:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marketing4](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@marketing4](https://forum.shopware.com/u/marketing4)\
**Post date:** [16. Juni 2021 um 14:30 UTC](https://forum.shopware.com/t/shipping-costs-advanced-calculation/88386/1 "2021-06-16T14:30:30Z")

</div>

I’d like to create a specific shipping costs entity for a specific customer group.  
The shipping costs should be based on a calculation, which calculates shipping costs with the formula:  
€ 100 - (total order value \* 0.05).

- How do I enter this as a formula in the calculation field under advanced configuration?
- Is it enough to change ‚calculate dispatch cotst based on‘ to ‚calculation‘ to activate the entered calculation to calculate shipping costs for the customer group selected in the so called dropdown field?
