Estimate pooling results for feature maps. Compare floor and ceil sizing across every active axis. Plan feature-map depth, width, and height changes more confidently.
Use the inputs below to estimate pooling layer output size for 1D, 2D, or 3D data.
These examples show common pooling setups for sequence, image, and volume data.
| Use Case | Dimension | Input Shape | Kernel | Stride | Padding | Dilation | Mode | Output Shape |
|---|---|---|---|---|---|---|---|---|
| Text or signal pooling | 1D | 128 | 4 | 2 | 1 + 1 | 1 | Floor | 64 |
| Image feature map reduction | 2D | 32 × 32 | 2 × 2 | 2 × 2 | 0 + 0 / 0 + 0 | 1 × 1 | Floor | 16 × 16 |
| Volume segmentation model | 3D | 16 × 64 × 64 | 2 × 2 × 2 | 2 × 2 × 2 | 0 + 0 on all axes | 1 × 1 × 1 | Floor | 8 × 32 × 32 |
| Asymmetric pooled image | 2D | 31 × 45 | 3 × 3 | 2 × 2 | 1 + 1 / 0 + 2 | 1 × 1 | Ceil | 16 × 23 |
For each active axis, the calculator first computes the effective kernel. It then evaluates the raw output length and applies either floor mode or ceil mode.
effective_kernel = dilation × (kernel − 1) + 1
output = floor(((input + pad_before + pad_after − effective_kernel) / stride) + 1)
output = ceil(((input + pad_before + pad_after − effective_kernel) / stride) + 1)
input_volume = product of all active input axes
output_volume = product of all active output axes
reduction_factor = input_volume / output_volume
The pooling type does not change the output size formula. It changes how values inside each pooling window are aggregated.
It is the size of the feature map after a pooling layer slides across the input using the selected kernel, stride, padding, and dilation values.
No. The output shape formula is the same for both. Only the way each pooling window combines values changes between the two methods.
Dilation increases the effective kernel span by inserting gaps between sampled positions. It changes the output size because the pooling window covers a wider area.
Effective kernel size is the real span seen by the layer after dilation is applied. It equals dilation × (kernel − 1) + 1.
Use ceil mode when your framework or model definition rounds up partial window coverage. It can produce larger output dimensions than standard floor mode.
That happens when the kernel span is too large for the padded input or when the configuration leaves no valid pooling window position.
Yes. Select 3D and enter depth, height, and width values. The calculator then computes output sizes across all three spatial axes.
It shows how strongly the layer downsamples data. A higher factor means stronger spatial reduction and fewer output activations to process later.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.