Micro-Segmentation Calculator
Compare the worst-case n-squared policy count against your observed flows to size a micro-segmentation rollout.
Inputs
Take this from flow-log discovery, not from a design document.
Policy Rules Required
384
Worst-Case Policy Count (n²)
576
Inter-Group Pairs
552
Flow Density vs Full Mesh
31.25%
Lateral Paths Removed
68.75%
Policy Rules per Workload
0.427
Step by step
Values used
Workload groups (labels / tiers) = 24 groups; Distinct group-to-group flows observed = 180 flows; Policy rules per allowed flow = 2 rules; Total workloads to enforce on = 900 workloads
Micro-Segmentation
worst case policies = workload groups²; real policies = observed flows × rules per flow + one intra-group rule per group.
Policy Rules Required
= 384
Worst-Case Policy Count (n²)
= 576
Inter-Group Pairs
= 552
Flow Density vs Full Mesh
= 31.25
Lateral Paths Removed
= 68.75
Policy Rules per Workload
= 0.427
How it works
If every group could talk to every group, including itself, you would need groups² policies — 576 for 24 groups. Real estates are sparse: flow discovery typically shows well under a third of that mesh in use, so the achievable policy count is observed flows times the rules each flow needs, plus one intra-group allow per group. The n² figure is why micro-segmentation projects fail when driven from architecture diagrams; the gap between n² and observed flows is exactly the lateral movement you remove, and it is also the risk register for what you might break.
Formula
Micro-Segmentation
worst case policies = workload groups²; real policies = observed flows × rules per flow + one intra-group rule per group.
- workload groups
- Distinct labels or tiers you write policy against
- observed flows
- Group-to-group conversations actually seen in flow logs
Frequently Asked Questions
How is Micro-Segmentation calculated?
worst case policies = workload groups²; real policies = observed flows × rules per flow + one intra-group rule per group. If every group could talk to every group, including itself, you would need groups² policies — 576 for 24 groups. Real estates are sparse: flow discovery typically shows well under a third of that mesh in use, so the achievable policy count is observed flows times the rules each flow needs, plus one intra-group allow per group.
Why does Micro-Segmentation matter?
The n² figure is why micro-segmentation projects fail when driven from architecture diagrams; the gap between n² and observed flows is exactly the lateral movement you remove, and it is also the risk register for what you might break.
What values do I need to enter?
This calculator takes 4 inputs: Workload groups (labels / tiers), Distinct group-to-group flows observed, Policy rules per allowed flow, Total workloads to enforce on. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.
How long should I run in observe-only mode first?
At least one full business cycle — 30 days is the common floor — so that month-end batch jobs, backup windows, quarterly reporting and DR tests all appear in the flow data. Enforcing on two weeks of observation is the classic way to break a monthly finance close.
You might also need
- Network Segmentation CalculatorCommonly used together
- East-West Security CalculatorCommonly used together
- Security Group Coverage CalculatorCommonly used together
- Zero Trust Readiness CalculatorCommonly used together
- ACL Rule CalculatorAlso in Network Security
- Firewall Rule Count CalculatorAlso in Network Security