Live tool

SQL Server Licensing Estimator

Estimate SQL Server licensing requirements and cost for on-prem deployments. Compare Per Physical Core, Per Virtual Core, and Server + CAL methods. See Perpetual + SA, Subscription, and PAYG pricing models with HA passive replica considerations and SA benefits explained.

Settings

Estimate SQL Server licensing requirements and cost across common on-prem deployment models. Settings update the URL bar live — copy the link to share the exact scenario.

Host configuration
4-core minimum per processor is enforced automatically.
SQL VM workload
4-core minimum per VM is enforced automatically.
Server + CAL workload
CALs are typically per-user or per-device.
A passive secondary that performs no read queries, no backups, and no DBCC. With Software Assurance, this replica does not require a separate license.
Pricing per 2-core pack
Defaults are public reference values — replace with your quoted prices.
Server + CAL pricing
Subscription and PAYG do not apply to Server + CAL.

Results

Sizing and cost across pricing models. Updates live as you change settings.

Sizing summary

Method Per Physical Core
Edition Enterprise
Cores to license 16
2-core packs 8
Server licenses 2
CALs 50
Max VMs Unlimited

Cost — Perpetual + Software Assurance

License (one-time)
SA / year
Year 1 total
3-year TCO
5-year TCO

Cost — Subscription (annual)

Annual
3-year total
5-year total

Cost — Pay-As-You-Go

Per month
Per year

Software Assurance benefits

✓ Version upgrades — Move to newer SQL Server versions during the SA term at no additional license cost.

✓ License Mobility — Move licenses between servers within the server farm without 90-day reassignment limits.

✓ Passive failover rights — One passive secondary per primary instance for HA/DR, provided it stays truly passive (no read queries, no backups, no DBCC).

Fields you should pay extra attention to

The estimator does the maths — but the inputs determine whether the estimate is meaningful. These are the fields that most often cause expensive surprises.

1. Licensing method — the single most expensive choice

Per Physical Core licenses every core on every host running SQL VMs, regardless of how many VMs use those cores. Per Virtual Core licenses only the vCPUs in SQL VMs.

Rule of thumb: Per Virtual Core wins when you have few SQL VMs on a fat host. Per Physical Core wins (especially with Enterprise + SA) when many SQL VMs share the same host — because Enterprise + SA grants unlimited SQL VMs on the licensed host. Switch between them in this tool to compare.

2. The 4-core minimum — silently inflates small VMs

Microsoft requires a minimum of 4 cores per physical CPU and 4 cores per VM. A 2-vCPU SQL VM still costs the same as a 4-vCPU VM. This tool enforces the minimum automatically — but it means you can't "save money" by sizing SQL VMs at 1 or 2 vCPU. If you only need 2 vCPUs of compute, consolidating two such VMs into one 4-vCPU VM is cheaper.

3. SA cost — yearly, every year, forever

The perpetual license is paid once. Software Assurance is paid every year for as long as you want SA benefits. A 5-year TCO of perpetual + SA can easily be 2× the perpetual price alone. Compare it carefully to subscription — sometimes subscription is cheaper across 5 years; sometimes perpetual is. The 3-year and 5-year TCO rows here exist exactly for that reason.

4. PAYG — looks cheap monthly, deceptively expensive annually

PAYG is priced per core per month, not per pack. Multiplied by 12 months and the cores you actually license, it usually overtakes Subscription within the first year. PAYG is meant for short-lived workloads (test environments, temporary spikes) — not for steady-state production.

5. HA passive replica — only "free" if it stays passive

The most common SQL licensing mistake. Microsoft's "free passive secondary with SA" benefit requires the secondary to do nothing useful: no read-only queries, no backups, no DBCC, no monitoring queries. The moment you offload reads to the secondary, it stops being passive and needs its own license set. Microsoft tightened this rule in 2022. Tick the HA checkbox in this tool only if your secondary is truly idle.

6. Pricing inputs — the defaults are illustrative, not authoritative

The pre-filled prices are public reference values used to demonstrate the calculation. Real prices depend on your contract — Enterprise Agreement, CSP, Open Value, distributor markup, region, currency. Replace every pricing field with your actual quoted price before relying on the totals.

7. Standard vs Enterprise — feature gap, not just price

Standard and Enterprise have different licensing rules and very different feature sets. Always Encrypted with secure enclaves, online operations, partitioning, transparent data encryption (without SA), and many high-availability features are Enterprise-only. Don't pick Standard purely on price if your workload needs Enterprise features — you'll end up double-paying when you migrate.

8. Server + CAL — almost never the cheapest in 2026

Server + CAL is Standard-only since SQL Server 2012. It's cheapest only when you have a small, well-known user count (e.g. fewer than ~25 users for a single instance) and you're certain that count won't grow. Adding users later means buying more CALs; growing your DB workload means buying core licenses anyway. Most modern deployments skip Server + CAL.

Licensing model reference

Quick comparison of the three on-prem methods.

Per Physical Core All physical cores on hosts running SQL VMs (4-core minimum per CPU). Enterprise + SA → unlimited VMs.
Per Virtual Core vCPUs of each SQL VM (4-core minimum per VM). Cheaper when VM density is low.
Server + CAL Standard only. One server license per OSE + one CAL per user or device.

Perpetual + SA One-time license + yearly SA. Long-term ownership.
Subscription Annual fee. No ownership. Stop paying → lose the right.
PAYG Per-core monthly. Best for short-lived or burst workloads only.