ForHosting KIT · Developer Utilities

Pallet positions in container calculator

The pallet positions in container calculator estimates how many identical rectangular pallets fit on a container floor, then subtracts the quantity already loaded to show the open positions.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

Enter usable internal container dimensions rather than nominal exterior dimensions, add the pallet footprint, and keep every measurement in one unit. The calculator checks straight and rotated orientations, including practical mixed-band layouts. It also identifies an overload when the entered pallet count is greater than the calculated floor capacity, making the result useful for initial load planning and quick operational checks.

Measure the usable floor, not the container label

A container name is not a reliable substitute for its usable internal floor dimensions. Linings, door hardware, refrigeration equipment, wheel wells, damage, and operator clearance can reduce the rectangle available to pallets. Measure or obtain the internal length and width that can genuinely be occupied, then enter those values with the pallet footprint in the same unit. The unit selector documents the measurement system; it does not convert values that were entered inconsistently. For example, if the container dimensions are in centimeters, the pallet dimensions must also be in centimeters. Use the actual loaded footprint, including any overhang, edge protection, or wrapping that extends past the deck. This produces a planning estimate grounded in the space the load can use. It is sensible to reduce the usable dimensions further when loading rules require a ventilation gap, a central aisle, wall clearance, or room for securing equipment. The calculator deliberately works from the dimensions supplied, so those operational allowances remain visible and under your control rather than being hidden assumptions.

Understand how floor positions are calculated

The algorithm treats the container as a rectangle and each pallet as an identical rectangle placed flat on the floor. It tests layouts along both container axes. Within each direction, it evaluates bands of pallets in their normal orientation and uses the remaining width for rotated bands, checking every feasible count of normal bands. The result is the largest whole-pallet count found, with the chosen axis and band counts included for inspection. Fractions are always discarded because part of a pallet position is not usable. This mixed-band search can find arrangements that a single calculation based only on length times width would miss. The calculation assumes orthogonal placement: pallets remain parallel to a container wall and may rotate by ninety degrees, but they are not placed diagonally. It also does not model three-dimensional stacking, axle loads, weight distribution, door clearance during movement, or the turning path of handling equipment. Those constraints can make a mathematically available floor position unusable in practice, so the output should be treated as a capacity estimate and verified against the loading method, equipment, cargo, and applicable transport rules.

Use loaded and remaining counts in a plan

Enter the number of pallets already loaded, booked, or assigned to the container. The result separates total floor positions, occupied positions, remaining positions, and excess pallets. When the loaded quantity is within capacity, occupied positions equal the loaded count and remaining positions show the available balance. When the loaded quantity exceeds the estimated capacity, remaining positions stay at zero and the excess field shows how many pallets need another container or a revised plan. Utilization is based on occupied floor positions, so it never rises above one hundred percent and does not disguise an overload. This separation is helpful in quoting, warehouse handoffs, dispatch checks, and allocation systems because each value has one meaning. For automated use, send the same measured dimensions used by operations and save the returned layout alongside the calculation. Recalculate whenever the pallet footprint changes, even if the pallet standard has the same common name, because wrapping and cargo overhang can alter the effective size. Before release, confirm weight limits, restraint requirements, hazardous-goods separation, stacking permissions, and safe loading access independently; floor geometry alone cannot approve a shipment.

Plan a container allocation

Estimate the floor capacity for a measured container and compare it with the pallets assigned to an order.

Check space during loading

Enter the current loaded count to see the estimated positions still open and flag pallets beyond capacity.

Compare pallet footprints

Run alternative pallet dimensions to see how packaging overhang or a different pallet standard changes floor capacity.

What does the API calculation cost?

The API price is $0.002 per calculation. The browser calculator can run locally on this page.

Does the calculator use standard container sizes?

No. It uses the usable internal length and width you provide, which avoids relying on nominal dimensions that may not match a specific container.

Can pallets be rotated?

Yes. The algorithm evaluates normal and ninety-degree rotated pallets, including mixed bands, along both container axes.

Does this calculate stacked pallet capacity?

No. It calculates floor pallet positions only. Height, stacking strength, cargo weight, and load distribution require separate checks.

What happens when loaded pallets exceed capacity?

Remaining positions are reported as zero, while excess_pallets reports the quantity beyond the estimated floor capacity.

Can I mix measurement units?

No. Choose one unit and enter all four dimensions in that same unit. The selected unit labels the result but does not reconcile mixed measurements.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/ecom/pallet-positions

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/ecom/pallet-positions \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"container_length":1203,"container_width":235,"pallet_length":120,"pallet_width":80}'
{
  "container_length": 1203,
  "container_width": 235,
  "pallet_length": 120,
  "pallet_width": 80
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "ecom.pallet_positions",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →