Docker Overlay Network Calculator
Calculate overlay network overhead and capacity across a Docker Swarm cluster.
About Docker Overlay Network Calculator
Docker overlay networks use VXLAN to tunnel container traffic across hosts. Each packet gains ~50 bytes of encapsulation overhead, reducing effective MTU and throughput. Formula: effectiveBandwidth = hostBandwidth × (1 − vxlanOverhead/MTU).
Formula
Effective Bandwidth
effective = hostBandwidth × (1 − vxlanOverhead / MTU)
- hostBandwidth
- Physical host bandwidth
- vxlanOverhead
- VXLAN encapsulation bytes
- MTU
- Maximum transmission unit (typically 1500)
Worked example
With the default values below, Docker Overlay Network Calculator returns Effective Cross-Node Bandwidth of 9.67. Change any input above and every figure here is recalculated in your browser.
Inputs used
- Swarm Nodesaccepts 2–10,000 nodes
- 5 nodes
- Containers per Nodeaccepts 1–5,000 containers
- 30 containers
- Host Bandwidthaccepts 0.1–400 Gbps
- 10 Gbps
- VXLAN Overheadaccepts 30–100 bytes
- 50 bytes
Results
- Effective Cross-Node Bandwidth
- 9.67 Gbps
- VXLAN Overhead
- 3.3%
- Total Containers on Overlay
- 150
- Node Mesh Connections
- 10
Step by step
- 1Total containers on overlay= 150
- 2VXLAN overhead percentage= 3.3%
- 3Effective cross-node bandwidth= 9.67Gbps
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 2 decimal places, 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
Can I reduce VXLAN overhead?
Using jumbo frames (MTU 9000) on the physical network reduces the relative overhead percentage, since the VXLAN header is a fixed ~50 bytes regardless of payload size.
How does gossip protocol scale?
Docker's gossip-based overlay uses a full mesh between nodes — at very large node counts (100+), gossip traffic and convergence time can become significant.
Related Calculators
- Docker Bridge Network Calculator
- Docker Network Throughput Calculator
- Docker Container Density Calculator
- Docker Build Time Estimator
- Docker Cache Efficiency Calculator
- Docker Container Memory Calculator
- Docker Container Startup Time Calculator
- Docker CPU Limit Calculator
- Docker Image Compression Calculator
- Docker Image Size Calculator
You might also need
- Docker Network Throughput CalculatorCommonly used together
- Docker Bridge Network CalculatorCommonly used together
- Docker Container Density CalculatorCommonly used together
- Docker Storage Driver Overhead CalculatorAlso in Docker
- Docker Build Time EstimatorAlso in Docker
- Docker Container Memory CalculatorAlso in Docker
