# Shipping & Logistics Calc – Dimensional Weight Calculator

> Shipping & Logistics Calc – Dimensional Weight Calculator is a paid API for AI agents from shipping-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-24).

Calculates dimensional weight and billable weight for a parcel given its length, width, height, and actual weight, with an optional carrier divisor override.

## Facts

- Endpoint: GET https://shipping-calc.x402tookit.com/dim-weight?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/shipping-logistics-calc-dimensional-weight-calculator-321f3e0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9XQuz8VPPAVC4Yq5ws9bc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability shipping-logistics-calc-dimensional-weight-calculator-321f3e0e
```

Example prompt: What's the billable weight for a package that's 18 inches long, 14 inches wide, and 12 inches tall, with an actual weight of 8 pounds — and does dimensional weight or actual weight win?

## When to prefer this

Choose this endpoint when you need to determine whether a carrier will bill on actual weight or dimensional (volumetric) weight for a specific parcel, especially when you need to override the default carrier divisor or apply carrier-style dimension rounding. It is ideal for e-commerce fulfillment automation, shipping cost estimation, and carrier comparison workflows. Prefer this over generic freight calculators when you need the explicit dim-weight formula applied with configurable divisors and clear billable-weight verdict output.

## Known failure modes

- Missing required dimension or weight parameter returns a validation error
- Negative or zero dimension values may cause unexpected results or errors
- Invalid unit string (not 'in' or 'cm') may fall back to default or error
- Extremely large or unusual dimension values may produce unexpected results
- Network or service unavailability returns a connection error
- Payment failure via x402 protocol prevents the call from completing

## How this service works

Dimensional weight and billable weight for a parcel from its size and actual weight, with an overridable carrier divisor.

## Output

Returns the dimensional weight, exact and rounded-up billable weight, the volume, the divisor used, which basis (actual vs dimensional) is heavier, the dimensions used in the calculation, a human-readable summary and verdict, and the weight unit — giving everything needed to determine what a carrier will charge for a shipment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "length",
      "width",
      "height",
      "weight"
     ],
     "properties": {
      "unit": {
       "type": "string",
       "description": "in (default; result in pounds) or cm (result in kilograms)"
      },
      "width": {
       "type": "number",
       "description": "Package width"
      },
      "height": {
       "type": "number",
       "description": "Package height"
      },
      "length": {
       "type": "number",
       "description": "Package length in the chosen unit"
      },
      "weight": {
       "type": "number",
       "description": "Actual weight: pounds when unit=in, kilograms when unit=cm"
      },
      "divisor": {
       "type": "number",
       "description": "Carrier divisor override. Defaults: 139 cubic inches per pound, or 5000 cubic cm per kg"
      },
      "roundDims": {
       "type": "string",
       "description": "true to round each dimension up to a whole unit first, as many carriers do (default false)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "unit": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "volume": {
       "type": [
        "null",
        "number"
       ]
      },
      "divisor": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shipping-logistics-calc-dimensional-weight-calculator-321f3e0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from shipping-calc.x402tookit.com](https://www.zero.xyz/host/shipping-calc.x402tookit.com/llms.txt)
