This east-west traffic calculator turns a list of flows into the ratio of traffic that stays inside the data centre (east-west) to traffic that enters or leaves it (north-south). It estimates how much east-west traffic must cross the spine layer, how much border capacity you need, and charts the split so you can see what kind of fabric the workload calls for.
Result
The result updates automatically as you change any input.
Formula and worked steps
Formulas used
- East-west share = east-west Gbps / (east-west + north-south Gbps); ratio = east-west / north-south
- Traffic crossing the spine layer = east-west x (L - 1) / L for L leaves with workloads spread evenly
- Border capacity = north-south x (1 + headroom)
- Profile: east-west dominated at or above the threshold (default 70%), mixed from 40%, north-south dominated below
- Each flow is entered once with its total bandwidth. Count both directions of a conversation together, in the same way for every row.
- Even placement of workloads across leaves is an assumption; placing chatty workloads on the same leaf lowers spine traffic.
- The 70% and 40% bands are editable guidance, not standards.
What are east-west and north-south traffic?
In data centre diagrams the internet or WAN sits at the top, and servers sit at the bottom. Traffic that moves vertically, between clients outside and servers inside, is north-south. Traffic that moves horizontally, between servers inside the data centre, is east-west. The terms come from the layout of old three-tier networks, where most traffic flowed from users through the core to a server and back. Modern applications are different: a single user request may trigger dozens of calls between services, databases, caches and storage systems, none of which leave the building.
What drives east-west traffic
Microservices, distributed databases, virtual machine migration, storage replication and rebuilds, big data analytics, machine learning clusters and backup all generate east-west traffic. Industry studies commonly report that it makes up the majority of data centre traffic, and a single outside request can generate many times its size inside. North-south traffic is still important, because it passes through firewalls, load balancers and internet links that are expensive, but it is often the smaller share by volume.
Why the ratio shapes the network
A three-tier design funnels traffic through the aggregation and core layers, and oversubscribes each tier. That is fine when most traffic goes north. When traffic is mostly east-west, the funnel becomes a bottleneck, and every server-to-server flow passes through the same few devices. Leaf-spine fabrics give every pair of leaves the same number of equal-cost paths, so east-west traffic spreads across many links using equal-cost multipath routing, as described in RFC 7938 for large data centres.
How the east-west traffic calculator works
Entering flows
List each flow on its own line as a name, a type (ew or ns) and a bandwidth in Gbps. Use real measurements from flow records, or estimates from the application owners. The tool adds up each class, shows the share and the ratio, and draws a chart. A flow table lists each row’s share of total traffic so you can see which flows matter.
Spine crossing
If workloads are spread evenly over L leaf switches, a given server’s partner sits on the same leaf with probability 1/L, so a fraction (L − 1) ÷ L of east-west traffic must cross the spine layer. With eight leaves that is 87.5%; with 32 it is 96.9%. The remaining share is switched locally on a leaf and never touches the spine. The calculator reports both numbers, since the spine and its uplinks must carry the crossing part.
Worked example
The starting flows give 95 Gbps of east-west traffic (web to application 40, application to database 30 and storage replication 25) and 20 Gbps of north-south (8 in, 12 out). Total traffic is 115 Gbps, east-west is 82.6% and the ratio is 4.75 to 1. That is above the 70% threshold, so the profile is east-west dominated. With eight leaves, 83.1 Gbps must cross the spine layer and 11.9 Gbps stays local. The border links and firewalls carry only 20 Gbps, or 24 Gbps with 20% headroom, a small fraction of the fabric capacity.
What the profile means for design
East-west dominated workloads favour a leaf-spine fabric with low oversubscription, often 3:1 or better at the leaf and 1:1 for storage and clustering traffic, with the border sized separately and kept small. Mixed profiles tolerate more oversubscription. North-south dominated sites, such as a content front end, can still use leaf-spine, but the border and the load balancers are the first limits.
Why it matters for network engineers
Sizing a fabric from port counts alone ignores what the traffic actually does. Two designs with identical hardware can behave very differently under a different traffic mix. An estimate of the east-west share tells you where to spend: spine bandwidth and low oversubscription for east-west, and firewall and edge capacity for north-south. It also finds the traffic that deserves special treatment, such as storage replication flows, which are large and steady. Once you know the profile, turn it into a design with the leaf-spine oversubscription calculator.
Best practices and common mistakes
Measure instead of guessing: collect flow data at the top-of-rack switches for a representative week, and classify flows by whether both endpoints are inside the data centre. Include the peaks, such as backup windows, migration events and month-end processing, because the fabric must carry them. Plan for growth in east-west traffic, which tends to outpace north-south as applications are split into services.
Common mistakes are counting a flow twice, once at each end, ignoring storage traffic, and assuming that east-west traffic is evenly spread. Hotspots form when one rack hosts popular services, and placement policies can reduce them. Another is sizing firewalls for the total traffic when only north-south traffic passes through them, an approach that can inflate costs by an order of magnitude. Do not use this tool in place of a traffic matrix when you design large fabrics. For the internal capacity of individual switches, check the switch backplane capacity calculator, and for the way uplinks are oversubscribed at each layer, use the oversubscription ratio calculator.
Turning the result into link sizes
Take the spine-crossing figure and divide it by the number of spine uplinks to see the average load per uplink, then compare it with the uplink speed. Add the peak-to-average ratio of your flows, since a fabric must carry peaks. If the average already uses more than half of an uplink, the fabric is a candidate for more uplinks or faster links.
Revisiting the profile
The balance of east-west and north-south traffic shifts when applications move to containers, when storage moves from dedicated networks to the data centre fabric, or when workloads migrate to the cloud, which turns east-west traffic into north-south traffic across your internet or WAN links. Review the table after each major platform change and update the capacity plan.
FAQs
What is east-west traffic?
East-west traffic flows between servers inside a data centre, such as application to database or storage replication. North-south traffic enters or leaves the data centre.
Why is east-west traffic growing?
Microservices, distributed storage, virtualisation and analytics create many internal calls for each external request, so internal traffic can be several times larger than the traffic from users.
How do I calculate the east-west to north-south ratio?
Add up the Gbps of flows between internal servers and divide by the Gbps of flows that enter or leave the data centre. For 95 Gbps and 20 Gbps the ratio is 4.75 to 1.
How much east-west traffic crosses the spine?
With workloads spread evenly over L leaves, a fraction (L – 1) / L crosses the spine layer. With 8 leaves that is 87.5%.
Next, try the leaf spine calculator, the oversubscription ratio calculator and switch backplane capacity, or browse all Data Center & Infrastructure calculators and the full list of network calculators.