Part of the Technology & IT suite · 35 calculators

VM Consolidation Calculator

How many physical hosts a set of virtual machines needs — from their vCPU and memory, the host's cores and RAM, the overcommit ratios you allow and the headroom you keep — with the binding constraint and the consolidation ratio.

Virtual machines rarely use all their allocated CPU at once, so hypervisors let you allocate more vCPUs than there are cores — four to one is common for general workloads.

Results update as you type
Results
Hosts required
6
Hosts by CPU
Hosts by memory
Binding constraint
VMs per active host
vCPU allocation against capacity (active hosts)
Memory allocation against capacity (active hosts)
Total vCPUs
Total memory allocated (GB)
Reviewed September 2026. Computing arithmetic: bytes, bits, seconds and probabilities do not change by country. Australian broadband speeds are quoted in megabits per second (Mbps).
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About vm consolidation

How the vm consolidation calculator works

Virtual machines rarely use all their allocated CPU at once, so hypervisors let you allocate more vCPUs than there are cores — four to one is common for general workloads. Memory is less forgiving: overcommitting it means swapping, so most designs keep it at one to one. Each host also reserves some memory for itself, and the fleet needs a spare host for failover.

Whichever resource runs out first sets the host count; the other is slack, and the ratio tells you which one to buy more of.

Formula: hosts_cpu = ⌈vCPUs / (cores × overcommit × (1 − headroom))⌉; hosts_ram = ⌈RAM / ((host RAM − reserve) × ratio × (1 − headroom))⌉; hosts = max + spares

Worked examples

InputsHosts requiredNote
120 VMs on 32-core, 384 GB hosts6memory-bound
No overcommit20CPU-bound, many more hosts
Bigger hosts4half the count

Frequently asked questions

What is a CPU overcommit ratio?

How many virtual CPUs you allocate per physical core. Because VMs idle most of the time, 3:1 to 5:1 works for general servers; latency-sensitive or database VMs want 1:1 or 2:1.

Why not overcommit memory?

You can — hypervisors deduplicate identical pages and balloon idle guests — but when it goes wrong the host swaps and everything on it crawls. Most designs keep it at 1:1.

What is headroom for?

Bursts, maintenance and growth. A host planned to 100% has nowhere to put the VMs from a failed neighbour. Twenty per cent is a common reserve.

How many spare hosts?

One for a small cluster; enough to absorb a failure domain — a rack or a power feed — for a large one. The spare is capacity you pay for and hope never to use.

Which constraint should I fix?

The binding one. If memory binds, buy RAM-heavy hosts or trim VM allocations; if CPU binds, raise the overcommit ratio where the workload allows.

Where these figures come from

Last checked: September 2026. Units follow the SI decimal convention (IEC 80000-13 defines the binary alternatives); network and security figures cite the defining standard.