Plan CNN layers with fast reliable size estimates. Test kernels, strides, padding, and dilation quickly. Build cleaner architectures using dependable dimensional calculations every time.
Use separate controls for width, height, stride, dilation, padding, and output channels. This layout stays single column overall, while the form fields switch between 3, 2, and 1 columns responsively.
These examples help compare common CNN and feature map patterns.
| Case | Operation | Input | Kernel | Stride | Padding | Dilation | Output |
|---|---|---|---|---|---|---|---|
| Classic same-size conv | Convolution | 224 × 224 × 3 | 3 × 3 | 1 × 1 | 1 all sides | 1 × 1 | 224 × 224 × 64 |
| Downsampling conv | Convolution | 128 × 128 × 64 | 5 × 5 | 2 × 2 | 2 all sides | 1 × 1 | 64 × 64 × 128 |
| Max pooling style | Pooling | 56 × 56 × 128 | 2 × 2 | 2 × 2 | 0 all sides | 1 × 1 | 28 × 28 × 128 |
| Transposed upsampling | Transposed Convolution | 28 × 28 × 128 | 4 × 4 | 2 × 2 | 1 all sides | 1 × 1 | 56 × 56 × 64 |
These formulas are commonly used for CNN design, pooling analysis, feature extractor planning, encoder-decoder layouts, and dimensional debugging across AI workflows.
Feature map size describes the height, width, and channels produced by a layer. It helps you track spatial resolution and tensor growth across a model.
A larger stride moves the kernel farther each step. Fewer placements fit across the input, so the resulting feature map becomes smaller.
Dilation expands the effective kernel without adding more kernel weights. It increases the receptive coverage while preserving the original parameter count pattern.
Padding adds border values around the input. With a suitable kernel and stride, it offsets shrinkage and can keep output size equal to input size.
Standard pooling usually changes height and width only. The channel count normally stays the same unless another operation changes depth afterward.
Output padding helps fine-tune final upsampled dimensions in transposed convolution. It does not add learned weights, but it changes the resulting spatial size.
Parameter and MAC estimates help compare memory cost and compute demand. They are useful while planning CNN architectures before training or deployment.
Yes. Width and height are entered separately, so you can test non-square images, kernels, stride choices, and asymmetric padding combinations easily.
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.