Windows Server and SQL Server core licensing, with the invoice math
Core licensing is arithmetic with three rules and two minimums. Get those right and the invoice stops surprising you.

The three rules
Every awkward server licensing question resolves to these.
- Rule 1 — licence all physical cores in the host, not the cores you assigned to VMs
- Rule 2 — respect the minimums: 8 cores per processor, 16 per server, and for SQL 4 cores per VM
- Rule 3 — cores are sold in 2-core packs, so always round up to an even number
Worked example: a 2×8-core host
A dual-socket host with eight cores per socket has 16 physical cores. That is exactly the server minimum, so you buy 16 core licences (eight 2-core packs) of Windows Server Standard. Standard then permits two virtual instances on that host.
Need four VMs on the same box? Either stack a second full 16-core set of Standard licences, or move to Datacenter and stop counting. The crossover in practice arrives at around 12–14 VMs per host.
SQL Server: where the 4-core VM minimum bites
Licensing SQL Server 2022 Standard on a 2-vCPU VM still costs four core licences because of the per-VM minimum. Two such VMs cost eight core licences — often more than licensing the small physical host outright.
SQL Server Express remains free but caps the database at 10 GB, 1 GB of buffer pool and a single socket or four cores. Growth past any one of those caps forces the Standard purchase.
- Per-core licensing needs no CALs and permits unlimited users
- Server+CAL licensing can be far cheaper for small, known user counts
- Container and CI workloads still consume core licences on the underlying host
CALs: the line item people forget
Windows Server core licences cover the server operating system, not the right for people to use it. Every user or device that connects needs a CAL. Choose user CALs when staff use several devices, device CALs when several staff share a machine such as a shop till or shift terminal.
Remote Desktop is a separate CAL again — a common gap in audits.
Frequently asked questions
- How many core licences does a 4-core VM need for SQL Server?
- Four, because SQL Server enforces a minimum of four core licences per virtual machine even if the VM has fewer virtual cores assigned.
- What is the minimum core licence count for Windows Server?
- Sixteen per server, with at least eight per physical processor. Cores are sold in 2-core packs, so smaller hosts still buy the 16-core minimum.
- When is Datacenter cheaper than Standard?
- Once you run roughly 12–14 virtual instances on the same host. Below that, stacking Standard licences two OSEs at a time is usually cheaper.
- Do SQL Server core licences require CALs?
- No. Per-core licensing includes unlimited user access. CALs only apply under the Server+CAL model, and separately for Windows Server itself.
Keep reading on this subject
- Microsoft Activation Error Codes: Fix Ordermicrosoft activation error codes
- Office Perpetual vs Microsoft 365: 5-Year Costoffice perpetual vs microsoft 365 cost
- How to Verify a Microsoft Key Before You Buyverify microsoft licence key before buying