# Methodology: Delivery Cost per Order

One row per package. Money is what the carrier or 3PL charged for the package, after discounts, including surcharges. Delivery dates are optional and are used only for the ground check behind the premium-service test.

## Per package (Package_Results)

```
Speed tier             = Service_Map lookup (Ground, Economy, 3-Day, 2-Day, Overnight, Other)
Units                  = units in package, blank = 1
Actual rounded up      = ROUNDUP(actual weight, 0)                      (carriers bill whole pounds)
Box volume             = length x width x height                         (only if all three are given)
Dim weight             = ROUNDUP(volume / divisor, 0)
                         USPS: only when volume > 1,728 cubic inches (1 cubic foot), USPS divisor
Billed weight used     = billed weight from the invoice, or if blank: MAX(actual rounded up, dim weight)
Billed above actual    = MAX(0, billed weight used - actual rounded up)
Cost of extra lb       = billed above actual x cost per extra billed lb (Rate_Estimates, by carrier + tier)
Weight band            = 1 lb, 2-5, 6-10, 11-20, 21-50, 51+ (on billed weight used)
Business days transit  = NETWORKDAYS(ship date, delivery date) - 1       (weekends excluded, holidays not)
Within promise         = transit <= promise days (Brand_Profile)          (ground check only)
Premium                = tier is 3-Day, 2-Day or Overnight
Ground benchmark       = average cost of Ground packages, same ship-from, zone and weight band;
                         if none, same zone and weight band from any ship-from
Premium where ground would do =
                         cost - ground benchmark (not below 0), only when all of:
                         premium, customer did NOT choose faster shipping, ground meets the promise on
                         this ship-from + zone (Ground_Check), a benchmark exists
```

## Cost per extra billed lb (Rate_Estimates)

For each carrier + speed tier: the slope of package cost against billed weight used, by ordinary least squares, from the brand's own packages. Needs at least 10 packages and more than one billed weight. Otherwise the slope across all carriers in that tier, otherwise across all packages. Values are written as blue inputs: replace them with the rate card's per-pound step if the brand has it. The slope is blurred by zone mix and surcharges, so it is an estimate.

## Per ship-from + zone (Ground_Check)

Used only to decide whether a premium package could have gone ground.

```
Ground packages with a delivery date  = count, tier Ground
Share within promise                  = ground within promise / ground with a date
Basis                                  = Measured if ground with a date >= minimum (default 10), else Rule of thumb
Ground meets your promise              = Measured: share within promise >= threshold
                                          Rule of thumb: zone <= 3 (2-day promise), 5 (3-day promise), any zone (4+ days)
```

Threshold = 85% by default; 80% or 95% from the strictness answer.

## Per order (Orders)

```
Cost           = sum of its packages
Cost per unit  = cost / units
Zone           = farthest package's zone
Origin         = first package's ship-from
```

## Summary

- Cost per order = total shipping cost / orders. Cost per unit = total / units. Cost per package = total / packages.
- Tables by zone, speed tier, ship-from location, carrier and service.
- Overpaying in total = paid for air + premium spend where ground would do.
- Per-year figures = this period x 365 / days between first and last ship date (inclusive).

## How the brand's answers change parameters

| Answer | Effect |
|---|---|
| Promise 2 / 3 / 3-5 / 5+ business days | Promise days 2 / 3 / 5 / 7; rule-of-thumb zone where ground meets it 3 / 5 / all / all |
| Strictness = Usually (80%) | Threshold 80% (more lanes count as fine on ground, more premium counted as unnecessary) |
| Strictness = Most of the time (85%) | Template threshold (default 85%) |
| Strictness = Almost always (95%) | Threshold 95% (stricter before calling premium unnecessary) |
| Customers can pay for speed, export marks it | Marked packages never counted as overspend |
| Customers can pay for speed, export doesn't mark it | Overspend reported as an upper bound |
| Contract dim divisor | Replaces the 139 default for UPS, FedEx and other carriers |

## Defaults and where they come from

| Assumption | Default | Source |
|---|---|---|
| Dim divisor, UPS / FedEx | 139 | UPS and FedEx daily-rate divisor since 2017; check the current service guide and contract |
| Dim divisor, USPS | 166, only above 1 cubic foot | USPS price list rule for dimensional weight; check the current version |
| Rule of thumb for the ground check | Zone 3 for a 2-day promise, zone 5 for 3 days | Rough rule for ground from one origin, used only when a lane has too few delivery dates; replace with the carrier's time-in-transit map |

## Glossary

- **Zone**: the carrier's distance band between the ship-from ZIP and the destination. Zone 2 is local, zone 8 is across the lower 48.
- **Dim weight**: what a carrier charges for a box's size instead of its weight (length x width x height / divisor). The carrier bills whichever is higher.
- **Billed (rated) weight**: the weight the carrier actually charged for.
- **Paid for air**: the cost of billed weight above the package's actual weight.
- **Speed tier**: Ground, Economy (slower hand-off services), 3-Day, 2-Day, Overnight. The last three are premium.
- **Business days in transit**: weekdays from ship date to delivery date, not counting the ship date.
