{"uid":"cap_2XIddu1-ompgyqRUwkeum","slug":"shipping-logistics-calc-box-in-box-packing-calculator-ecbcea53","name":"Shipping & Logistics Calc – Box-in-Box Packing Calculator","description":"How many identical boxes fit inside a larger box or crate: best of six orientations in a simple grid, with utilization.","url":"https://shipping-calc.x402tookit.com/box-packing?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":["outerLength","outerWidth","outerHeight","itemLength","itemWidth","itemHeight"],"properties":{"unit":{"type":"string","description":"in (default), cm or m; both boxes use the same unit"},"upright":{"type":"string","description":"true to keep the item height vertical, allowing only a spin (default false)"},"itemWidth":{"type":"number","description":"Width of one item"},"itemHeight":{"type":"number","description":"Height of one item"},"itemLength":{"type":"number","description":"Length of one item or carton"},"outerWidth":{"type":"number","description":"Inside width"},"outerHeight":{"type":"number","description":"Inside height"},"outerLength":{"type":"number","description":"Inside length of the larger box, crate or container"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"fits":{"type":["null","number"]},"unit":{"type":["null","string"]},"source":{"type":["null","string"]},"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"}},"itemOrientation":{"type":["array","null"],"items":{"type":"number"}},"volumeUpperBound":{"type":["null","number"]},"volumeUtilizationPercent":{"type":["null","number"]},"gridAlongLengthWidthHeight":{"type":["array","null"],"items":{"type":"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_Ii1pg-m-Bbb9E0VUGTx1j","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 how many identical smaller boxes fit inside a larger box or crate using the best of six 3D orientations in a simple grid, returning count and volume utilization percentage.","exampleAgentPrompt":"How many product boxes measuring 12 in × 8 in × 6 in can fit inside a shipping crate that's 48 in × 40 in × 36 in? Try all orientations and tell me the volume utilization.","exampleUseCases":[{"title":"E-commerce carton packing optimization","prompt":"I need to know how many of my product cartons — 30 cm × 20 cm × 15 cm — will fit inside a storage crate that's 120 cm × 80 cm × 100 cm. What's the best orientation and how much of the space is used?"},{"title":"Fragile item upright-only shipping check","prompt":"We ship wine bottles in boxes that are 10 in × 10 in × 14 in tall and they must stay upright — how many fit in our master carton which is 40 in × 30 in × 60 in, and what percentage of space is utilized?"},{"title":"Retail pallet box quantity estimate","prompt":"Can you calculate how many small retail boxes of 5 in × 4 in × 3 in I can fit inside a larger master box measuring 24 in × 18 in × 12 in, trying all six orientations?"}],"resultDescription":"Returns the number of items that fit (fits), the best item orientation as [L,W,H] dimensions, the grid layout along each axis, volume utilization as a percentage, the theoretical upper-bound volume, a human-readable summary and verdict, the unit used, and any reasons or disclaimers about the result.","failureModes":["Missing required dimension parameters returns a 400 error","Non-numeric dimension values cause validation failure","Item dimensions larger than outer box dimensions return fits=0","Unsupported unit strings (not 'in', 'cm', or 'm') may return an error or default","Payment not completed returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic grid-packing estimate for identical rectangular items in a rectangular container, especially when you want to evaluate all six possible 3D orientations automatically. It is ideal for quick logistics planning, carton count estimates, and utilization reporting. Prefer it over full bin-packing solvers when simplicity, speed, and cost matter more than optimal irregular packing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T19:27:42.199Z","isFirstParty":false,"canonicalSlug":"shipping-logistics-calc-box-in-box-packing-calculator-ecbcea53"}