Skip to content
ENExplore Calculators

Max Pool Output Calculator

Calculate the output feature map size after a max pooling operation.

About Max Pool Output Calculator

Max pooling downsamples feature maps by taking the maximum value in each pooling window. The output size is computed as floor((input + 2×padding − pool_size) / stride) + 1. Standard 2×2 max pooling with stride 2 halves the spatial dimensions.

Formula

Pooling Output

output = floor((input + 2*padding - pool_size) / stride) + 1

pool_size
Size of the pooling window
stride
Step size between pooling windows

Worked example

With the default values below, Max Pool Output Calculator returns Output Size of 16. Change any input above and every figure here is recalculated in your browser.

Inputs used

Input Size (H or W)minimum 1
32
Pool Sizeminimum 1
2
Strideminimum 1
2
Paddingminimum 0
0

Results

Output Size
16

Step by step

  1. 1Output = floor((input + 2×pad − pool) / stride) + 1= 16

Assumptions and limits

  • The result is derived only from the 4 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to whole numbers, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

Does max pooling have trainable parameters?

No — max pooling is a fixed operation with no learned parameters. It simply selects the maximum value in each window.

Why use max pooling instead of average pooling?

Max pooling preserves the strongest feature activations and provides some translation invariance. Average pooling is smoother and preferred in later layers or for global aggregation.

Max Pool Output Calculator – Calculate Output Size