Ecommerce return rate and returns cost calculator
calculate_return_costsCalculate return rate and operational returns costs for the same order cohort. Separate return freight, handling, reconditioning and actual product losses. Amounts exclude VAT. This is not store profit accounting: it does not automatically add sales refunds, lost margin or customer acquisition costs. With no returns, variable costs are zero and cost per return is undefined. Fixed costs still require a value. The tool does not determine contractual returns eligibility. Input fields: fulfilledOrders: Use the same group and observation window as the returns. returnedOrders: Count returned orders, not units or repeated requests. returnFreight: Average return freight borne by your business; 0 if none. processing: Receipt, inspection and administration. Avoid double counting. reconditioning: Include new packaging where applicable. Enter 0 if absent. productLoss: Only truly unrecoverable cost, averaged across all returns. Resellable stock is not a loss. fixedPeriodCosts: Total for the same scope. Blank does not mean zero.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fulfilledOrders": "<fulfilledOrders>",
"returnedOrders": "<returnedOrders>"
},
"name": "calculate_return_costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| processing | No | ||
| productLoss | No | ||
| returnFreight | No | ||
| reconditioning | No | ||
| returnedOrders | Yes | ||
| fulfilledOrders | Yes | ||
| fixedPeriodCosts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| method | Yes | ||
| status | Yes | ||
| metrics | Yes | ||
| sources | Yes | ||
| currency | No | ||
| limitations | Yes | ||
| vatIncluded | No | ||
| pendingFields | Yes |