{"uid":"cap_9XQuz8VPPAVC4Yq5ws9bc","slug":"shipping-logistics-calc-dimensional-weight-calculator-321f3e0e","name":"Shipping & Logistics Calc – Dimensional Weight Calculator","description":"Dimensional weight and billable weight for a parcel from its size and actual weight, with an overridable carrier divisor.","url":"https://shipping-calc.x402tookit.com/dim-weight?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"weightUnit":{"type":["null","string"]},"actualWeight":{"type":["null","number"]},"heavierBasis":{"type":["null","string"]},"dimensionsUsed":{"type":["array","null"],"items":{"type":"number"}},"dimensionalWeight":{"type":["null","number"]},"billableWeightExact":{"type":["null","number"]},"billableWeightRoundedUp":{"type":["null","number"]},"shipsBelowDimWeightByAmount":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A_57_o37ngc4WEt5SrMKu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates dimensional weight and billable weight for a parcel given its length, width, height, and actual weight, with an optional carrier divisor override.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"E-commerce shipping cost check","prompt":"I'm shipping a box that's 24 inches long, 16 inches wide, and 10 inches tall and it weighs 5 pounds. What will UPS actually bill me — the real weight or the dim weight using their standard 139 divisor?"},{"title":"Carrier divisor comparison","prompt":"My parcel is 40 cm × 30 cm × 20 cm and weighs 3 kg. Can you calculate the billable weight using both the standard 5000 divisor and a custom divisor of 4000 so I can compare what different carriers would charge?"},{"title":"Rounded-dimension billing check","prompt":"I have a package that's 9.3 inches by 6.7 inches by 4.2 inches weighing 2 pounds. Calculate the dimensional weight rounding each dimension up to the nearest whole inch first, the way most carriers do, and tell me whether actual or dim weight is billable."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:25:06.103Z","isFirstParty":false,"canonicalSlug":"shipping-logistics-calc-dimensional-weight-calculator-321f3e0e"}