CNN Receptive Field Calculator

Design convolutional networks, inspect every layer, map output cells to inputs, compare architectures, and understand receptive field growth through clear calculations and visualisations instantly.

Calculated Results

Results appear here after calculation.

Not calculated
#LayerTypeInputChannelsKernelStrideDilationPaddingOutputJumpReceptive fieldStartParametersMACsActivationCoverage
Configure the network and calculate.

Output Coordinate Analysis

Calculate the network first.

Input Coverage Map

The highlighted rectangle shows one selected output cell projected onto the original input.

Network Configuration

Build sequential, residual, branched, one-dimensional, two-dimensional, or three-dimensional CNN paths.

Architecture Comparison

Capture two configurations and compare final receptive field, output resolution, jump, depth, and coverage.

MetricArchitecture AArchitecture B
Capture two calculated architectures.

Target Receptive Field Helper

Estimate how many stride-one layers are needed for a target field.

Formula Used

effectiveKernel = dilation × (kernel − 1) + 1

Dilation expands the kernel footprint without adding sampled weights.

jumpₗ = jumpₗ₋₁ × strideₗ

Jump describes spacing between neighbouring output centres on the original input.

receptiveFieldₗ = receptiveFieldₗ₋₁ + (effectiveKernel − 1) × jumpₗ₋₁

Each spatial layer enlarges the previous theoretical receptive field.

output = floor((input + padBefore + padAfter − effectiveKernel) / stride) + 1

Transposed convolution and upsampling use their own reverse-size rules.

How to Use

  1. Select one-dimensional, two-dimensional, or three-dimensional mode.
  2. Enter the original input dimensions.
  3. Add layers and choose kernels, strides, dilation, padding, and optional graph connections.
  4. Press calculate to inspect every intermediate output and receptive field.
  5. Select an output coordinate to project its coverage onto the original input.
  6. Export results or capture two architectures for comparison.

Example Data

LayerKernelStrideDilationPaddingExpected effect
Conv 3×3311SameAdds two input pixels to receptive field.
Max pool221ValidDoubles jump and reduces feature-map size.
Dilated conv314SameActs like an effective 9×9 kernel.
Upsample121ValidIncreases resolution while reducing effective jump.

Understanding the Results

Theoretical field

The maximum original-input region capable of influencing an output unit.

Effective field estimate

A simplified concentration estimate showing the central region likely to contribute most strongly.

Valid field

The portion remaining inside real input boundaries after padded coordinates are clipped.

Projected field

The selected output unit mapped back to coordinates on the original image, sequence, or volume.

Frequently Asked Questions

What is a CNN receptive field?

The receptive field is the input region influencing one output activation.

Does same padding stop receptive-field growth?

No. It preserves output size but still enlarges the theoretical field.

How does stride affect receptive fields?

Stride increases the jump between neighbouring output centres on the original input.

Why does dilation increase coverage?

Dilation spaces kernel samples apart and increases the effective kernel size.

Can the receptive field exceed the image?

Yes. Theoretical coverage may extend into padded coordinates beyond the image.

How are residual connections handled?

The calculator combines referenced paths and reports mismatched shapes as warnings.

Is transposed convolution exact here?

Output size is exact, while receptive-field growth is reported as a practical approximation.

What is effective jump?

It is the spacing between adjacent feature-map positions measured on the original input.

Why compare architectures?

Comparison reveals trade-offs between context, resolution, downsampling, and boundary dependence.

Related Calculators

Convolution Output Size CalculatorCNN Filter Size CalculatorCNN Padding CalculatorCNN Stride CalculatorPooling Output Size CalculatorCNN Parameter Count CalculatorImage Tensor Size CalculatorCNN Computational Cost Calculator

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.