Skip to content
ServerCalc ServerCalc
Sizing & Capacity

Server Sizing Calculator

Work backwards from the workload to the hardware. Cores, memory, IOPS and capacity are sized separately, and the one that actually limits your build is named.

Inputs

Workload

Picks a starting set of per-unit figures you can then edit.

Guests to host, including the ones you plan to migrate.

Per-unit demand

Average cores actually consumed, not cores allocated. Headroom is added separately.

GB
GB
70/30

Writes cost more than reads once RAID is applied.

2.0x

Boot storms, backups and batch windows against the steady-state average.

kbps
GB

True for domain controllers and other replicas. Adding servers then buys no memory relief.

Planning assumptions

Microsoft target 40% for N+1 and 60% for N. Above 70% queue delay dominates.

10%
GHz

The clock of the machine the load figure came from.

GHz

Slower parts need proportionally more of them.

10%

Microsoft add about 10% for a shared virtual host. Zero for bare metal.

Throughput gained, not extra cores. Measurements cluster at 5-30%.

Candidate server

Seeds cores and memory from the catalogue. Edit either afterwards.

Storage build

Wider groups waste less on parity but rebuild more slowly.

days
2.0%

Drives snapshot space, which is churn rather than total size.

Results update live as you type.

Results

Servers needed
5
4 to carry the load plus 1 spare.
Physical cores needed
266
144.9 busy cores at a 60% target, grown 5 years.
Cores after SMT credit
213
SMT gain of 1.25x applied to the figure above.
Workload at end of life
242
150 today, growing 10% a year for 5 years.
Utilization on day one
25%
Across all 5 servers, including the spare.
With one server down
50%
RAM per server
491 GB
What to order each box with.
Total RAM
1.93 TB
Workload working set
1.89 TB
vCPU : physical core
3.0 : 1
VMware recommend starting at 1:1 and growing on measured contention.
Raw storage to buy
67.10 TB
After RAID 6 parity and 10% filesystem overhead.
Usable capacity
45.30 TB
Workload data
28.31 TB
Snapshot allowance
7.93 TB
Drives needed
40
5 group(s) of 8. Driven by capacity.
Front-end IOPS at peak
28,989
Back-end drive IOPS
72,473
Reads pass through once, writes cost 6x on RAID 6.
The array delivers
400k
Front-end IOPS at this read/write mix.
Network at peak
242 Mbps
  • 3.0:1 vCPU to physical core is above the 3:1 most guidance treats as comfortable. Watch CPU ready time.
  • The drive count is set by capacity: 36 drives for the data against 4 for the I/O. Larger drives would shrink this.

What actually limits this build

Cores, memory, IOPS and capacity run out independently. The highlighted bar is the one setting the order.

Server count

CPU-bound
To carry the CPU load4 servers
Cores at the utilization target, after growth.
To hold the working set1 server
Memory per server, after the OS reserve.

Drive count

capacity-bound
To serve the I/O4 drives
Back-end IOPS at a 6x write penalty.
To hold the data36 drives
Raw terabytes after parity and overhead.

Cores and capacity are driving this build, which usually means the spec is reasonably balanced.

Why not size to 100%

Response time against utilization. Flat and forgiving to about 60%, then vertical — which is why capacity targets exist.

queue delay dominates1x2x4x6x8x10x0%20%40%60%80%95%day oneCPU utilization
Response time at target
2.5x
Requests already queued
1.50
If one server fails
50%

Cores needed over the hardware's life

cores requiredservers

At 10% growth a year over 5 years. Sizing for today's load is what forces an unplanned upgrade.

0751502253000123456nowY1Y2Y3Y4Y5

Server count rises in year 2, to 5. Buying it up front costs capital; buying it later risks it being unavailable.

About this calculator

Sizing a server is the inverse of the usual question. Instead of asking what a machine draws, you start from the work it has to do and end at a bill of materials. The arithmetic is not hard, but there are four places it is normally got wrong, and this calculator is built around them.

You cannot size to 100%

A server at full utilization has an unbounded queue. Queuing theory puts the mean number of requests already waiting at U / (1 - U) and response time at 1 / (1 - U) times the unloaded figure. At 50% load one request is ahead of you; at 90% nine are, and the curve is effectively vertical past that. This is why every vendor's capacity guidance picks a target in the 40-70% band. Microsoft's Active Directory capacity planning documentation is the most explicit: target 40% peak CPU for an N+1 design and 60% for N, precisely so that losing a node lands the survivors near 80% instead of past the knee.

A core is only a core at the clock it was measured on

If the load figure came from 3.3 GHz parts and you are buying 2.6 GHz parts, you need 3.3 / 2.6 as many of them. Microsoft's own example turns a 10-processor requirement into 12. Virtualizing adds roughly another 10% for the hypervisor.

Growth compounds

Sizing for today's load on hardware you will keep for five years guarantees an unplanned upgrade. The requirement is today's load times (1 + g) ^ years, and the calculator shows which year the next server is needed.

Cores, memory, IOPS and capacity run out independently

This is the one most calculators skip. A build can have ample cores and be unusable because the array cannot carry the write load, or have plenty of terabytes and be short of spindles. Each is sized separately here and the binding constraint is named, because that is the cheapest thing to change: more memory per box, or faster drives, can remove a whole server or a whole shelf from the order.

The formula

Cores

Each line takes the result of the line above it. The order matters: headroom is applied once, in the utilization step, and everything after it scales that figure.

busy cores   = units x busy cores per unit
after growth = busy cores   x (1 + growth) ^ years
at target    = after growth / target utilization
clock adj.   = at target    x (measured GHz / target GHz)
with virt.   = clock adj.   x (1 + hypervisor overhead)
cores to buy = with virt.   / SMT gain

Worked through with this calculator's own defaults, so you can check it against the result panel:

150 VMs x 0.6 busy cores per VM      =    90.0 busy cores
  x 1.10 ^ 5    10% a year for 5 years =   144.9
  / 0.60        60% utilization target =   241.5
  x 2.6 / 2.6   same clock, no change  =   241.5
  x 1.10        hypervisor overhead    =   265.7
  / 1.25        SMT throughput gain    =   212.6 cores

ceil(212.6 / 64 cores per server)      =     4 servers
  + 1 spare for N+1                    =     5 servers

Busy cores means cores actually consumed, not cores allocated. Handing the formula an allocation figure applies headroom twice and typically oversizes the build two or three times over. SMT is credited as throughput rather than as extra cores, because that is what it delivers: independent measurements of Intel SMT on server workloads cluster at 5-30%, so 1.25 is the usual planning multiplier.

Queuing

Why the utilization target is a design decision and not a preference.

requests queued   = U / (1 - U)
response time     = 1 / (1 - U)   x unloaded
after one failure = load / (surviving servers x cores)

At U = 0.5 one request is ahead of you and response time is 2x unloaded. At U = 0.8 it is four requests and 5x. At U = 0.9, nine requests and 10x.

Memory

working set = units x RAM per unit
per server  = working set / servers + OS and agent reserve

That division by server count only holds for a service that distributes its data. For a replicated service such as a domain controller, every node holds the whole dataset, so extra servers buy no memory relief at all:

per server (replicated) = working set + OS and agent reserve

At 100,000 users that returns 18 GB per domain controller, which is the figure Microsoft's own worked example arrives at.

Storage capacity

data          = units x GB per unit x (1 + growth) ^ years
snapshots     = data x daily change rate x retention days
usable needed = (data + snapshots) / target fill level
raw needed    = usable / (RAID efficiency x (1 - filesystem overhead))

RAID efficiency is the usable fraction of a group: (n - parity) / n for RAID 5 and 6, or 0.5 for any mirror. Filesystem and array metadata take about another 10% on top.

Storage performance

Capacity and IOPS are separate requirements, and either one can set the drive count.

front-end IOPS = units x IOPS per unit x peak factor
back-end IOPS  = front-end x (read% + write penalty x write%)
drives         = back-end IOPS / IOPS per drive

The write penalty is how many back-end drive operations each front-end write costs:

RAID 0            1x   striped, no protection
RAID 1 / RAID 10  2x   write both halves of the mirror
RAID 5            4x   read data, read parity, write data, write parity
RAID 6            6x   as RAID 5, plus the second parity block

A worked check. 1,000 front-end IOPS at a 3:1 read/write ratio is 750 reads plus 250 writes:

RAID 5:  750 + (250 x 4)  =  1,750 back-end IOPS
RAID 6:  750 + (250 x 6)  =  2,250 back-end IOPS

Going the other way, to find what a drive set delivers:

front-end IOPS = (drives x IOPS per drive) / (read% + penalty x write%)

So eight 200-IOPS drives at a 70/30 mix give about 842 front-end IOPS on RAID 5, against 1,231 on RAID 10 for the same eight drives. These are small-random-write figures. Full-stripe sequential writes are much cheaper, closer to 1.25x on RAID 5, and write cache absorbs some of the penalty on bursts.

Server count

for CPU    = ceil(cores to buy / cores per server)
for memory = ceil(working set / (RAM per server - reserve))
servers    = max(the two) + spares

Whichever of the two is larger is the binding constraint, and it is the cheapest thing to change. If memory is driving the count, more RAM per box may remove a whole server.

Common use cases

  • Sizing a virtualization cluster from a VM inventory, with a defensible consolidation ratio rather than a guess
  • Replacing ageing servers when the only data you have is peak CPU percentages from the outgoing fleet
  • Checking a vendor's proposal: whether the quoted cores, memory and drive count actually hold the stated workload
  • Deciding whether a build is CPU-bound or memory-bound before signing off the configuration
  • Proving an array cannot carry a write-heavy workload on spinning disks, with the write penalty shown
  • Budgeting a refresh cycle: what the workload needs in year one against year five at a given growth rate
  • Justifying N+1 to a budget holder by showing where utilization lands when a node fails
  • Sizing domain controllers, mail or file servers where each node holds a full replica of the data

Frequently Asked Questions

How do you calculate how many cores a server needs?
Take the cores the workload actually keeps busy at peak, divide by the utilization you are willing to design to, then adjust for growth over the hardware's life, for the clock speed of the parts you are buying, and for the hypervisor's overhead. The division by a utilization target is the step people skip: cores = busy cores / target. Microsoft's own worked example is 485% of a core at a 40% target, which comes to 12.25 cores.
What utilization should I size a server to?
Microsoft's published guidance is 40% peak CPU for an N+1 design and 60% for N, and most teams land in the 50-70% band. The reason is queuing: response time scales as 1/(1-U), so a server at 80% is already five times slower than an idle one, and past roughly 70% small increases in load produce large increases in latency. The 40% figure also means that losing one of two nodes puts the survivor at 80% rather than over 100%.
What is the difference between busy cores and allocated cores?
Busy cores are what the workload actually consumes — the figure you get from a performance counter. Allocated cores are what you assigned to it. Sizing formulas want the busy figure, because the headroom is added afterwards by the utilization target. Feeding an allocation figure into the formula applies headroom twice and typically oversizes the build by two or three times.
What vCPU to physical core ratio is safe?
VMware's current position is that designing to a fixed ratio causes problems and that you should start at 1:1, excluding Hyper-Threading's logical CPUs, then increase density based on measured contention. The long-cited rule of thumb is that 1:1 to 3:1 is comfortable, 3:1 to 5:1 may degrade performance, and 6:1 or above usually causes problems. Either way the metric to watch is CPU ready time, with 5% or below treated as healthy.
Does Hyper-Threading double my cores?
No. SMT presents two logical threads per physical core, so a hypervisor sees twice as many vCPUs, but the throughput gain is far smaller. Independent measurements on server workloads cluster between 5% and 30%, so 1.2x to 1.3x is the normal planning figure. Memory-bandwidth-bound workloads see less, and a few products require it disabled. This calculator credits SMT as throughput and counts vCPU against physical cores, so the same gain is never booked twice.
How do I calculate IOPS for a RAID array?
Split the front-end load into reads and writes, then multiply the writes by the RAID write penalty: 1 for RAID 0, 2 for RAID 1 or 10, 4 for RAID 5, 6 for RAID 6. So 1,000 IOPS at 75% read is 750 + 250x4 = 1,750 back-end IOPS on RAID 5, or 2,250 on RAID 6. Divide by the per-drive IOPS to get the spindle count. Going the other way, a drive set delivers (drives x per-drive IOPS) / (read% + penalty x write%) front-end IOPS.
Why does my drive count come out higher than my capacity needs?
Because IOPS and terabytes are independent requirements and either can bind. A write-heavy workload on RAID 6 pays six back-end operations per write, so the spindle count needed to serve the I/O can far exceed the count needed to hold the data. This is the classic argument for flash or for a mirror instead of parity: both cut the drive count sharply even though neither adds capacity.
How much growth should I plan for?
Enough to cover the hardware's service life, which is normally three to five years. The requirement is today's load times (1+g)^years, so 10% a year over five years is a factor of 1.61 — the workload is 61% larger by the time the hardware is retired. Microsoft's guidance suggests assuming growth over the lifecycle and separately planning for at least 50% network traffic growth.
Do I need to add RAM for every server, or just once?
It depends on whether the service replicates or distributes. A VM farm, web tier or sharded database divides its working set across the nodes, so more servers mean less memory per server. A domain controller, by contrast, holds a full replica of the directory, so every node needs the whole dataset and adding servers buys no relief at all. This calculator has a switch for it, because getting it wrong undersizes a replicated service by the server count.
Should I buy fewer large servers or more small ones?
More smaller ones, usually, for two reasons. The spare in an N+1 design is a smaller share of the total spend, and a failure removes a smaller share of capacity — losing one of two servers takes out half your capacity, one of six takes out a sixth. Large VMs are also harder for a hypervisor to schedule, since it must find as many free physical cores as the guest has vCPUs. The counter-argument is licensing, which is often per-socket or per-core and favours consolidation.
How accurate are the per-unit defaults?
They are starting points, and every vendor guide that publishes figures like these says the same thing. They are drawn from published sources where one exists — VMware's per-tier VDI IOPS, Microsoft's AD database sizing, the standard RAID write penalties — but real workloads vary by an order of magnitude. If you have measured data, use the measured-load option and enter your own numbers; that is the mode the arithmetic is really designed for.
What is the difference between sizing and capacity planning?
Sizing answers what to buy for a known workload; capacity planning tracks whether what you already have is still enough. They use the same arithmetic in opposite directions. In practice you size once from estimates, then replace those estimates with measurements as soon as the system is running, which usually changes the answer — particularly for storage and login times.

Spot an error? Have feedback?

Tell us what is wrong with the math, what is missing, or which server model you would like added. We read everything.