CubeStow装柜规划器

1集装箱

预设尺寸为常见参考值,不同船公司和箱况会有差异,请以实际箱子为准。

2计算模式

3货物

计算中…
拖动旋转 · 滚轮缩放 · 右键/Shift 拖动平移
装载顺序 0/0

货物明细

重心与平衡

独立校验

装柜指南

常用集装箱尺寸、CBM 计算方法,以及纸箱、托盘和混装货物的装柜要点。

常见干货箱参考尺寸

下表为行业常见的参考值。不同船公司、制造年份和箱况会有几厘米的差异,载重上限也取决于箱体自重和箱门铭牌(CSC 牌)上的最大总重。订舱前请向承运人确认。

箱型内部尺寸(长×宽×高)箱门开口(宽×高)容积常见最大载货量
20GP / 20' 普柜5.90 × 2.35 × 2.39 m2.34 × 2.28 m约 33 m³约 28,000 kg
40GP / 40' 普柜12.03 × 2.35 × 2.39 m2.34 × 2.28 m约 67 m³约 26,700 kg
40HQ / 40' 高柜12.03 × 2.35 × 2.70 m2.34 × 2.58 m约 76 m³约 26,500 kg
45HQ / 45' 高柜13.56 × 2.35 × 2.70 m2.34 × 2.58 m约 86 m³约 27,700 kg

实际可装体积通常只有理论容积的 80%–90%:箱壁波纹、门框、货物尺寸不能整除,以及操作空间都会占用一部分。

CBM(立方米)怎么算

单箱体积 = 长(m) × 宽(m) × 高(m)。例如 60 × 40 × 40 cm 的纸箱:0.6 × 0.4 × 0.4 = 0.096 m³;300 箱合计 28.8 m³。

用厘米计算时:长 × 宽 × 高 ÷ 1,000,000。用英寸时:长 × 宽 × 高 ÷ 61,024。

注意:总 CBM 除以箱子容积得到的只是理论上限。一个柜实际能装多少箱,还取决于纸箱尺寸能否整除箱内尺寸、可否侧放、可堆几层,以及重量是否先达到上限。这正是装柜计算器要解决的问题。

一个柜能装多少箱

  1. 先看高度方向:内高 ÷ 箱高 = 可堆层数,再与纸箱抗压允许的最大层数取较小值。
  2. 再看地面排布:同一种箱子可以横放竖放混排,往往比单一方向多出一列。本工具的容量模式会自动搜索最佳地面分割。
  3. 核对重量:件数 × 单重不能超过箱子载重。重货(如五金、石材、液体)通常是重量先到上限,柜子装不满。
  4. 留出余量:门口预留 5–10 cm 便于关门和绑扎,顶部预留 3–5 cm 便于叉车或人工码放。

装柜操作要点

  • 重货放底层、放中间,轻货在上;整柜重心尽量靠近箱子几何中心,纵向偏差一般控制在 ±5% 内较稳妥。
  • 左右两侧重量尽量均衡,避免吊装和拖车行驶时倾斜。
  • 从箱子最里端(前端墙)开始,逐排向门口装。最后一排需要绑扎或加挡板,防止开门时货物倾倒。
  • 空隙用气袋、木方或纸板填充,防止运输途中移位。
  • 托盘货确认叉车可进箱(门高 2.28 m 的普柜对高托盘有限制)。
  • 装柜前检查箱体:无破洞、无漏光、无异味、地板干燥牢固。

多品种混装

多个 SKU 拼一个柜时,建议:

  • 同一 SKU 尽量集中成连续区域,便于目的港分拣和清点。
  • 大件、托盘货先装在里端,小纸箱后装用于补位。
  • 不能倒置、怕压的货物设置“仅水平旋转”和最大层数。
  • 需要优先出货的 SKU 放在门口附近。

在订单装载模式中输入每个 SKU 的数量,工具会按多种顺序和摆放策略尝试,给出装入体积最大的方案,并列出没装下的数量。

Loading guides

Common container dimensions, how to calculate CBM, and practical rules for cartons, pallets and mixed cargo.

Typical dry container dimensions

These are common reference values. Real boxes vary by a few centimetres between lines, builders and condition, and payload depends on the tare weight and the max gross weight on the CSC plate. Confirm with your carrier before booking.

TypeInside (L × W × H)Door (W × H)CapacityTypical payload
20' standard (20GP)5.90 × 2.35 × 2.39 m2.34 × 2.28 m≈ 33 m³≈ 28,000 kg
40' standard (40GP)12.03 × 2.35 × 2.39 m2.34 × 2.28 m≈ 67 m³≈ 26,700 kg
40' high cube (40HQ)12.03 × 2.35 × 2.70 m2.34 × 2.58 m≈ 76 m³≈ 26,500 kg
45' high cube (45HQ)13.56 × 2.35 × 2.70 m2.34 × 2.58 m≈ 86 m³≈ 27,700 kg

In practice you load 80–90% of the nominal volume: corrugated walls, door frames, carton sizes that don't divide evenly and working space all take a share.

How to calculate CBM

Carton volume = length (m) × width (m) × height (m). A 60 × 40 × 40 cm carton is 0.6 × 0.4 × 0.4 = 0.096 m³; 300 cartons are 28.8 m³.

From centimetres: L × W × H ÷ 1,000,000. From inches: L × W × H ÷ 61,024.

Total CBM divided by container volume is only a ceiling. The real count depends on whether carton sizes divide the inside dimensions, whether cartons may lie on their side, how high they may stack, and whether weight runs out first. That is what the planner works out.

How many cartons fit

  1. Height first: inside height ÷ carton height gives the layers, capped by the carton's safe stacking limit.
  2. Then the floor: mixing lengthwise and crosswise rows often gains an extra column. Capacity mode searches floor partitions automatically.
  3. Check weight: count × unit weight must stay under payload. Dense goods usually hit weight before volume.
  4. Leave margins: 5–10 cm at the door for closing and securing, 3–5 cm at the top for handling.

Stuffing tips

  • Heavy goods low and central, light goods on top; keep the centre of gravity near the middle, ideally within ±5% lengthwise.
  • Balance left and right to avoid tilting during lifting and trucking.
  • Load from the front wall toward the door; secure the last row so nothing falls when the doors open.
  • Fill voids with dunnage bags, timber or cardboard.
  • For pallets, check forklift access — standard boxes have a 2.28 m door height.
  • Inspect the box first: no holes or light leaks, no odour, dry and solid floor.

Mixed cargo

  • Keep each SKU in a contiguous zone for easier tallying at destination.
  • Load big items and pallets at the front wall first, then fill with small cartons.
  • Set "upright only" and a layer limit for fragile or this-side-up goods.
  • Put SKUs that must come out first near the door.

In order mode, enter quantities per SKU; the planner tries several orderings and placement strategies, keeps the plan with the most loaded volume and lists anything left over.

计算方法

CubeStow 如何生成装载方案、做了哪些假设,以及结果的适用边界。

1. 确定可用空间

可用长度 = 内长 − 门口预留;可用高度 = 内高 − 顶部预留。坐标原点在箱子最里端(前端墙)左下角,X 指向箱门,Y 为宽度方向,Z 向上。

2. 生成摆放方向

每种货物可设为:固定方向(只按输入的长宽高摆放)、仅水平旋转(保持朝上,长宽可互换)或任意方向(6 种朝向都可以)。每个方向的可堆层数 = ⌊可用高度 ÷ 货物高度⌋,再受“最多层数”限制。

3. 容量测算:断头台式地面分割

对每种高度方向,把箱底看作二维矩形,用动态规划在“正规点”(货物尺寸的整数组合)上搜索所有一刀切(断头台)分割方式,找出地面能放下的最多垛数,并允许不同区域横竖混排。总件数 = 垛数 × 层数,再按载重上限截断。最后选取件数最多的方向。

4. 订单装载:多策略地面装箱

每种货物按选定方向组成同品种的竖向垛,用 MaxRects 空闲矩形法,从里端往门口、从左往右放置。工具会尝试 5 种货物顺序(底面积、体积、最长边、单重、输入顺序)× 3 种方向策略,保留装入体积最大的方案。某个方向放不下时,会换其他允许的方向补位。

5. 独立校验

方案生成后,由一段独立的几何代码重新检查:是否越界、是否相互重叠、朝向是否被允许、上层货物底面是否被完全支撑、是否超过层数限制、件数是否超出订单数量,以及总重是否超载。

6. 重心与平衡

按每件货物重量加权,计算整柜重心,并与箱子几何中心比较。纵向和横向偏差在 ±5% 内显示“良好”,±5–10% 显示“注意”,超过 10% 显示“偏载”。这只是规划参考指标,不能代替承运人的配载要求。

假设与局限

  • 货物视为刚性长方体,每一垛完全支撑,不悬空。
  • 同一垛只放同一种货物;较矮的垛上方剩余空间不会再放其他品种。
  • 不模拟箱门开口、叉车路径和装货先后的可操作性。
  • 不校核纸箱抗压强度、绑扎加固、轴重、吊装设备和运输法规。
  • “未装入”表示本次搜索没有找到位置,不代表一定装不下。
  • 结果是经过校验的可行方案,不保证是全局最优解。
  • 容量模式和订单模式最多支持 30 种货物;3D 视图最多显示 20,000 件,统计数字不受这个限制。
本工具提供的是规划估算。装柜前请核实实际箱子的尺寸和载重、货物包装的承压能力,以及承运人和目的港的要求。货物积载与加固可参考 IMO/ILO/UNECE 的《货物运输单元积载操作规范》(CTU Code)。

How it works

How CubeStow builds a load plan, what it assumes, and where its answers stop.

1. Usable space

Usable length = inside length − door clearance; usable height = inside height − top clearance. The origin is the bottom-left corner at the front wall; X runs toward the doors, Y across the width, Z up.

2. Orientations

Each cargo can be fixed (as entered), upright only (length and width may swap) or any (all six orientations). Layers per orientation = ⌊usable height ÷ cargo height⌋, capped by the max-layers setting.

3. Capacity mode: guillotine floor partitions

For each height orientation the floor is treated as a 2D rectangle. Dynamic programming over normal points (integer combinations of the cargo sizes) searches every guillotine partition and finds the most stacks that fit, mixing lengthwise and crosswise blocks. Count = stacks × layers, then capped by payload. The best orientation wins.

4. Order mode: multi-strategy floor packing

Each SKU forms single-SKU vertical stacks, placed with a MaxRects free-rectangle method from the front wall toward the door, left to right. The planner tries 5 SKU orderings (base area, volume, longest side, unit weight, input order) × 3 orientation strategies and keeps the plan with the most loaded volume. When the chosen orientation no longer fits, other allowed orientations fill the gaps.

5. Independent verification

A separate geometric check then re-tests the result: bounds, overlaps, allowed orientations, full support under every upper unit, layer limits, order quantities and gross weight.

6. Centre of gravity

The weighted centre of gravity is compared with the container's centre. Deviations within ±5% show as good, ±5–10% as caution, beyond 10% as off-balance. These are planning indicators, not a substitute for carrier requirements.

Assumptions and limits

  • Cargo is rigid rectangular boxes; every stack is fully supported with no overhang.
  • Each stack holds one SKU; space above a shorter stack is not reused.
  • Door opening, forklift path and loading sequence feasibility are not modelled.
  • Carton strength, securing, axle loads, lifting gear and regulations are not checked.
  • "Not loaded" means the search found no position, not that it cannot fit.
  • Results are verified feasible plans, not proven global optima.
  • Up to 30 cargo types; the 3D view draws up to 20,000 units (totals are not limited).
This is a planning estimate. Before loading, confirm the actual container's dimensions and payload, packaging strength, and your carrier's and destination's rules. For packing and securing practice, see the IMO/ILO/UNECE Code of Practice for Packing of Cargo Transport Units (CTU Code).

常见问题

关于计算结果、数据和使用方式的常见疑问。

需要注册或付费吗?

不需要。打开即可使用,没有账号系统。

我的货物数据会上传吗?

不会。所有计算都在你的浏览器里完成,产品库保存在浏览器本地存储中。清除浏览器数据或换一台设备后,产品库不会保留。

容量测算和订单装载有什么区别?

容量测算回答“一个柜最多能装多少件这种货”,只计算选中的一种货物。订单装载回答“这批订单里的几种货能不能装进一个柜”,按你填写的数量摆放,并列出装不下的数量。

为什么结果比“总体积 ÷ 箱子容积”少?

货物尺寸通常不能整除箱内尺寸,会留下缝隙;层数受高度和抗压限制;重货还可能先达到载重上限。工具给出的是考虑了这些约束的实际可摆放数量。

“未装入”是不是一定装不下?

不一定。它表示本次搜索没找到位置。可以尝试允许更多摆放方向、调整门口和顶部预留,或换更大的箱型。

“任意方向”和“仅水平旋转”怎么选?

有“此面朝上”标识、液体、易碎品、家电,选“仅水平旋转”。普通纸箱、软包装可以选“任意方向”,侧放往往能装得更多。必须严格按某个方向的选“固定方向”。

重心指标怎么看?

纵向偏差指重心离箱子长度中点有多远,横向偏差指离宽度中线有多远,用占箱长、箱宽的百分比表示。偏差越小,吊装和陆运越安全。

能导出结果吗?

可以生成装柜报告(含 3D 截图和明细),复制报告文字,或复制每件货物坐标的 CSV,直接粘贴到 Excel。

支持托盘吗?

支持。把托盘连同货物当作一件货,输入整体尺寸和重量,“最多层数”设为 1(不可叠托)或 2(可叠一层)。

FAQ

Common questions about results, data and usage.

Do I need an account or to pay?

No. It works straight away; there is no sign-up.

Is my cargo data uploaded?

No. All calculation runs in your browser, and the product library lives in your browser's local storage. It won't follow you to another device or survive clearing browser data.

Capacity mode vs order mode?

Capacity mode answers "how many of this cargo fit, at most?" for one selected item. Order mode answers "do these SKUs at these quantities fit?" and lists anything left over.

Why is the result lower than total volume ÷ container volume?

Carton sizes rarely divide the inside dimensions evenly, layers are capped by height and stacking limits, and heavy goods may hit payload first. The planner counts what can actually be placed.

Does "not loaded" mean it can't fit?

Not necessarily — the search found no position. Try allowing more orientations, adjusting clearances or a larger container.

"Any" vs "upright only"?

Choose upright only for this-side-up, liquids, fragile goods and appliances. Plain cartons and soft packs can use any orientation, which often fits more. Use fixed when one orientation is mandatory.

How do I read the balance indicators?

They show how far the centre of gravity is from the middle of the container lengthwise and crosswise, as a percentage of length and width. Smaller is safer for lifting and trucking.

Can I export?

Yes: a load report with a 3D snapshot and breakdown, copyable report text, and a CSV of every unit's coordinates to paste into Excel.

Pallets?

Yes. Enter the loaded pallet as one item with its overall size and weight, and set max layers to 1 (no double-stacking) or 2.

关于与隐私

CubeStow 是一个在浏览器里运行的免费装柜规划工具,面向外贸出口商、仓库和货代,帮助在装柜前比较尺寸、数量和箱型。

数据与隐私

  • 不需要账号,不收集姓名、邮箱等个人信息。
  • 货物尺寸、数量和计算结果只保存在当前页面和浏览器本地存储中,不会发送到服务器。
  • 页面从公共 CDN 加载 3D 渲染库(three.js)和字体。

使用条款

本工具按“现状”提供,计算结果仅供规划参考。实际装柜需由使用者结合实际箱况、包装强度和承运人要求自行判断。因使用本工具结果造成的损失,工具作者不承担责任。

About & privacy

CubeStow is a free, browser-based container load planner for exporters, warehouses and forwarders to compare sizes, quantities and container types before loading.

Data and privacy

  • No account; no names, emails or other personal data are collected.
  • Cargo sizes, quantities and results stay in this page and your browser's local storage; nothing is sent to a server.
  • The page loads the three.js 3D library and fonts from public CDNs.

Terms

The tool is provided as-is and its results are planning estimates. Actual loading decisions remain with the user, taking into account real container condition, packaging strength and carrier requirements. The author accepts no liability for losses arising from use of the results.