Licensing
Licensingintermediate18 min read·Updated Nov 12, 2026

SQL Server 2025 Licensing Guide: Core vs Server + CAL, SPLA, and BYOL

Understand SQL Server 2025 licensing on a Windows VPS: Per Core vs Server + CAL, four-core VM minimums, Software Assurance, SPLA, BYOL, virtualization, HA/DR, and hosted deployment decisions.

Genuine, fully-licensed Windows
Spin up a Windows Server: full admin, RDP-ready
Genuine Windows Server 2019, 2022, or 2025 with full administrator access. We handle the Microsoft licensing, billed monthly with nothing to buy upfront.

In short

SQL Server 2025 licensing has two main commercial models:

  • Per Core — available for SQL Server 2025 Standard and Enterprise. You license the compute running SQL Server; users and devices do not need SQL Server CALs under this model.
  • Server + CAL — available for SQL Server 2025 Standard only. You license the server software and also license every user or device that accesses SQL Server, including many indirect-access scenarios.

For hosted or virtual SQL Server, the harder question is often not Standard vs Enterprise. It is who supplies the SQL Server license and which Microsoft rights allow it to run on the chosen infrastructure.

Flowchart showing the SQL Server 2025 licensing decision path for a production workload: choose edition (Standard or Enterprise), choose licensing model (Per Core or Server plus CAL), choose deployment or licensing route (customer-owned/BYOL, service-provider licensing where offered, or Microsoft subscription/Software Assurance rights), then size the Windows VM after licensing impact is understood.

For most self-managed hosted SQL Server workloads with many or unpredictable users, Per Core is the simpler model to evaluate because it does not require counting every accessing user or device. Server + CAL can be attractive for a controlled Standard-edition environment with a small, countable population.

This guide owns the SQL Server licensing-model decision. For edition features, use MSSQL Standard vs Enterprise — When to Pay More. For installation, use Install SQL Server 2025 on a Windows Server VPS. For Windows Server OS licensing, use Windows Server Licensing on Raff.

Licensing note: Microsoft licensing rights depend on the agreement, purchase channel, Software Assurance or subscription status, deployment model, and provider. Microsoft Product Terms and the customer’s executed agreement control if they differ from this guide.

SQL Server 2025 licensing models at a glance

Microsoft’s current SQL Server 2025 licensing guidance identifies these commercial options:

SQL Server 2025 editionPer CoreServer + CAL
StandardYesYes
EnterpriseYesNo

If you already know you need Enterprise, the commercial licensing model is Per Core. If Standard fits the workload, you can evaluate either Per Core or Server + CAL.

Microsoft also notes that Server + CAL is not the licensing model for its SQL pay-as-you-go billing options. This guide focuses on customer commercial licensing and hosted Windows VM planning rather than Azure SQL service pricing.

Per Core licensing pays for SQL compute instead of SQL CALs

Under the Per Core model, SQL Server licenses are assigned according to the physical cores or virtual cores that run SQL Server, depending on the licensing approach being used.

The main advantage is operational simplicity:

Text
Licensed SQL compute → users and devices can access SQL Server → no separate SQL Server CAL for each user/device

This can be a better fit when:

  • the application has many users;
  • users are external or difficult to count;
  • applications, services, devices, APIs, or middleware access SQL Server;
  • the user/device population changes frequently;
  • the database is part of a hosted business application;
  • CAL administration would be more complex than core licensing.

SQL Server core licenses are sold in two-core packs, but licensing calculations are based on the number of required core licenses, not simply the number of packs purchased.

Licensing SQL Server 2025 by virtual machine requires SA or subscription rights

Microsoft allows SQL Server 2025 Standard and Enterprise to be licensed by virtual machine under the Per Core model when the licenses have active Software Assurance or are qualifying software subscription licenses.

For a licensed virtual operating system environment (virtual OSE), Microsoft requires licenses for the virtual cores allocated to that VM, subject to a minimum of four core licenses per virtual OSE.

If a virtual core maps to more than one hardware thread, Microsoft also requires licensing each hardware thread to which that virtual core is mapped.

The practical consequence for a small Windows VM is important:

A very small VM does not automatically create a two-core SQL Server licensing requirement. Under Microsoft’s eligible per-VM core model, the minimum is four core licenses per VM.

Example core-count planning

Assume each vCPU exposed to the VM represents one virtual core and no virtual core maps to multiple hardware threads. Under that simplified assumption:

Windows VMVirtual cores to considerMinimum SQL core licenses under eligible per-VM model
2 vCPU24
4 vCPU44
6 vCPU66
8 vCPU88
16 vCPU1616

This table is a planning example, not a substitute for checking the actual virtualization mapping and Microsoft entitlement.

The four-core minimum matters commercially because infrastructure sizing and SQL licensing cost do not scale identically at the smallest VM sizes.

Physical-server Per Core licensing is different

When licensing a physical server by cores, Microsoft requires enough SQL Server core licenses for the physical cores, with a minimum of four core licenses per physical processor.

Do not copy a physical-host calculation into a virtual-machine calculation. Microsoft treats these as different licensing approaches with different use rights.

This distinction becomes especially important in highly virtualized environments where Enterprise edition plus qualifying Software Assurance or subscription rights can provide broader virtualization benefits.

Server + CAL licensing is Standard-only and licenses the server plus every accessor

SQL Server 2025 Standard can also be licensed using the Server + CAL model.

At a high level:

Text
SQL Server Standard server license + SQL Server CAL for every accessing user or device

Microsoft’s current SQL Server 2025 guidance states that one server license permits one running SQL Server instance in one physical or virtual OSE. Additional server licenses can be stacked on the same device when additional entitled instances/OSEs are required.

A single SQL Server CAL assigned to a user or device can allow that licensed user or device to access more than one properly licensed SQL Server, subject to Microsoft’s terms.

Server + CAL is worth evaluating when:

  • the environment uses Standard edition;
  • the population is small;
  • users or devices are easy to count;
  • access is internal and predictable;
  • the organization already manages Microsoft CALs cleanly;
  • future growth is unlikely to make CAL administration expensive.

It becomes less attractive when the database is accessed by a large, changing, public, customer-facing, or difficult-to-count population.

Multiplexing does not reduce SQL CAL requirements

This is one of the most common SQL Server licensing mistakes.

Putting an application server, API, connection pool, middleware layer, or other multiplexing technology between users and SQL Server does not automatically reduce the number of SQL Server CALs required under Server + CAL licensing.

Conceptually:

Text
100 users ↓ Web / ERP / application server ↓ One SQL connection pool ↓ SQL Server

The fact that SQL Server sees a smaller number of technical connections does not mean only those connection-pool identities need CALs.

Microsoft explicitly states that hardware or software used to reduce the number of users or devices directly accessing SQL Server does not reduce the required CAL count. Microsoft also notes that unattended devices accessing SQL Server require CALs under the Server + CAL model.

For a customer-facing or high-user application, this is one reason Per Core licensing is often easier to model.

Per Core vs Server + CAL is mainly a population and deployment decision

SituationUsually evaluate firstWhy
Small internal app with 5 known usersServer + CAL or Per CoreBoth may be viable; compare total licensing and admin overhead
50 employees using an ERPPer CoreCAL count can become material
Public web application backed by SQL ServerPer CoreEnd users are difficult or impractical to license individually
Devices/services access SQL indirectlyPer Core often simplerMultiplexing does not erase CAL requirements
Enterprise edition requiredPer CoreServer + CAL is not available for Enterprise
User count changes frequentlyPer CoreAvoid recurring CAL-count administration
Small stable Standard-edition environmentServer + CAL can be viablePredictable user/device population may favor CAL economics

Do not choose the model from a generic internet calculator alone. Model the real users, devices, VM cores, edition, growth plan, and deployment rights.

SQL Server edition choice and licensing choice are separate decisions

First ask:

Text
What SQL Server features and scale does the workload need?

Then ask:

Text
How should that edition be licensed in this deployment?

For SQL Server 2025, Microsoft documents Standard edition with a maximum compute capacity of 32 licensed cores. In Microsoft’s virtual-machine licensing guidance, that 32-core Standard limit is expressed in terms of hardware threads for the VM licensing model.

Enterprise is intended for workloads requiring higher scale and additional enterprise capabilities.

The canonical feature decision is covered in MSSQL Standard vs Enterprise — When to Pay More. This page stays focused on licensing.

Developer, Evaluation, and Express are not normal paid-production substitutes

Microsoft identifies Standard Developer, Enterprise Developer, and Evaluation as non-production editions. Express can be used in production within its technical and license limits.

EditionTypical role
Standard DeveloperDevelopment/test against Standard feature set
Enterprise DeveloperDevelopment/test against Enterprise feature set
EvaluationTime-limited evaluation/testing
ExpressSmall workloads that fit Express limits
StandardMain paid production choice for many SMB workloads
EnterprisePaid production for advanced scale/features

Microsoft currently documents SQL Server 2025 Evaluation as providing the Enterprise feature set for up to 180 days. It must be upgraded to Standard or Enterprise for a normal paid production deployment.

Do not deploy Developer edition into production simply because the Windows VM itself is properly licensed.

Windows Server and SQL Server are separate Microsoft products with separate licensing requirements.

SQL Server 2025 adds broader Power BI Report Server use rights

A 2025-specific licensing change is easy to miss: Microsoft’s current SQL Server 2025 guidance states that Power BI Report Server use rights are included with SQL Server 2025 Standard and Enterprise editions even without active Software Assurance.

For pre-2025 SQL Server Enterprise releases, those Power BI Report Server use rights were tied to Enterprise Core licenses with active Software Assurance.

This does not mean every Power BI scenario becomes license-free. Microsoft still documents separate Power BI licensing requirements for actions such as publishing shared Power BI reports. The important point for this SQL Server guide is that the base Power BI Report Server use right changed materially with SQL Server 2025.

Windows Server and SQL Server licensing stack together

A SQL Server VM normally involves more than one licensing layer.

For a customer-managed commercial deployment, think in layers:

Text
Windows VM infrastructure + Windows Server licensing/access rights + SQL Server licensing + RDS licensing if users consume RDS functionality + Microsoft 365 licensing if Office apps are used in shared sessions

One layer does not automatically grant another.

For example, a correctly licensed Windows Server VM does not automatically include SQL Server Standard licensing.

Likewise, buying SQL Server licenses does not create Remote Desktop Services rights for users working through an RD Session Host.

Use Windows Server Licensing on Raff and RDS CAL Licensing Guide for those separate layers.

SPLA and BYOL are different hosted SQL Server routes

The Microsoft Services Provider License Agreement (SPLA) is Microsoft’s licensing program for service providers and software companies that provide hosted software services to customers.

Microsoft describes SPLA as a monthly licensing model for eligible Microsoft products during the agreement term. The service provider reports usage and follows the applicable Services Provider Use Rights (SPUR).

This is different from customer BYOL:

Text
SPLA → service provider licenses eligible hosted Microsoft software → provider reports usage under SPLA BYOL / customer licensing → customer supplies qualifying licenses → customer must have rights that permit the hosted deployment

Do not assume that a provider’s Windows Server SPLA offering automatically includes SQL Server. SQL Server availability, edition, licensing unit, and commercial price must be confirmed for the specific provider/service.

For Raff deployments, treat the Windows VM and SQL Server license as separate decisions unless the current commercial offer explicitly says otherwise.

If you're evaluating hosting options alongside your licensing model, review Raff SQL Server Hosting and confirm Standard or Enterprise licensing entitlements and pricing before deploying.

BYOL depends on entitlement, not whether a product key activates

BYOL is not one universal Microsoft license transfer rule.

A customer may be able to deploy qualifying SQL Server licenses on third-party infrastructure through rights such as:

  • Software Assurance benefits;
  • qualifying Microsoft software subscription licenses;
  • License Mobility through Software Assurance where applicable;
  • Flexible Virtualization Benefit for eligible outsourcing scenarios;
  • other rights in the customer’s Microsoft agreement and Product Terms.

The exact route depends on the license and provider environment.

Do not assume that owning a perpetual SQL Server license automatically means it can be moved to any hosted VM. A product key and a licensing entitlement are not the same thing.

Flexible Virtualization Benefit can permit SQL Server on an Authorized Outsourcer

Microsoft’s Flexible Virtualization Benefit expands outsourcing rights for customers with qualifying subscription licenses or licenses with active Software Assurance.

Microsoft’s current guidance says an Authorized Outsourcer is an outsourcer that is not a Microsoft Listed Provider and is not using a Listed Provider as the datacenter provider for that outsourcing service.

Under the Flexible Virtualization Benefit, eligible SQL Server licenses can be deployed on an Authorized Outsourcer’s shared or dedicated servers, subject to the applicable terms.

When SQL Server Standard or Enterprise is licensed by virtual machine under this benefit, the same virtual-core rules still apply, including the four-core minimum per VM and the hardware-thread mapping rule.

Provider qualification matters. The customer should verify the actual hosting arrangement before treating the Flexible Virtualization Benefit as available.

License Mobility and Flexible Virtualization are not identical

SQL Server licenses with active Software Assurance can include License Mobility through Software Assurance, which Microsoft describes as a route for running SQL Server on an Authorized License Mobility Partner’s shared servers.

Flexible Virtualization Benefit is a separate outsourcing right for qualifying subscription licenses or licenses with active Software Assurance.

These mechanisms can overlap in deployment goals but are not interchangeable.

When a company asks, “We already own SQL Server, can we bring it to Raff?”, the correct next questions are:

  • Which SQL Server edition and version?
  • Per Core or Server + CAL?
  • Perpetual or software subscription?
  • Is Software Assurance active?
  • How is the license currently assigned?
  • Which outsourcing right covers the intended provider/deployment?
  • How many virtual cores will the SQL VM use?
  • Does HA/DR create additional licensing requirements?

Do not answer BYOL from the product key alone.

Software Assurance and subscription rights materially change virtualization

Active Software Assurance or qualifying software subscription licenses can provide important SQL Server rights related to:

  • licensing SQL Server by virtual machine under the Per Core model;
  • moving licensed virtual OSEs across servers in the same server farm more flexibly;
  • License Mobility where applicable;
  • passive failover/disaster-recovery rights;
  • Enterprise unlimited virtualization when the qualifying physical-core requirements are met;
  • Flexible Virtualization Benefit where the provider/deployment qualifies.

If a customer already pays for Software Assurance, model those rights before buying duplicate licenses or redesigning the VM architecture.

High availability and disaster recovery can add or remove licensing cost

Adding a second SQL Server VM for failover is not just an infrastructure decision.

Microsoft’s current SQL Server 2025 licensing guidance states that for each properly licensed physical or virtual OSE with Software Assurance or qualifying subscription licenses, the customer may run passive replicas in anticipation of failover, including:

  • one passive failover replica for high availability in a separate OSE;
  • one passive failover replica for disaster recovery in a separate OSE;
  • one passive disaster-recovery replica in Azure, subject to Microsoft’s applicable terms.

Microsoft defines a passive replica as one that is not serving SQL Server data to clients or running active SQL Server workloads. The passive replica’s otherwise-required license count cannot exceed the licenses covering the primary OSE.

Licenses without qualifying SA/subscription rights do not receive the same HA/DR entitlements.

Do not assume that a second SQL VM is automatically license-free because it is called “passive.” Verify what the replica actually does and which Microsoft entitlement covers it.

SQL Server licensing and VM sizing should be planned together

Licensing can influence the VM shape you choose.

Example:

Text
Application needs 2 vCPU today SQL Server eligible per-VM licensing minimum = 4 core licenses

If you are already licensing four SQL cores, a 2-vCPU VM does not reduce the SQL licensing minimum below four cores. But increasing the VM beyond four virtual cores can increase the required SQL core count.

That does not mean you should oversize the VM just because four licenses are required. VM sizing should still follow workload evidence.

Instead, understand both curves:

Text
Infrastructure requirement → CPU, RAM, storage, workload Licensing requirement → edition, cores, CAL population, SA/subscription rights

Then choose the smallest production configuration that satisfies both performance and licensing requirements with sensible headroom.

For workload-level sizing, use Windows Server Sizing by Workload.

Common SQL Server licensing scenarios

Small internal business application

Assume SQL Server 2025 Standard, a small known employee population, no public/customer access, and a modest database workload.

Evaluate both Server + CAL and Per Core. Server + CAL may be economically attractive if the licensed population is genuinely small and stable.

ERP used by many employees

Assume SQL Server Standard, dozens of employees, and an application server that multiplexes database connections.

Do not count only the application server connection. Multiplexing does not reduce CAL requirements. Per Core can be easier to model as user count rises.

Public SaaS or customer portal

A database behind a customer-facing application can have a large or unpredictable number of indirect users.

Per Core is generally the model to evaluate because Server + CAL requires licensing users/devices that access the SQL Server software, including indirect access scenarios.

Enterprise SQL workload

If the workload needs Enterprise edition, the licensing model is Per Core. Then model physical-core versus eligible virtual-OSE licensing and any Software Assurance/subscription benefits.

Existing SQL licenses moving to hosted Windows VMs

Do not start migration until entitlement is checked.

Review edition, licensing model, active Software Assurance/subscription, outsourcing rights, provider qualification, virtual-core count, license assignment/movement rules, and HA/DR design. Then build the Windows VM around the compliant path.

Common SQL Server licensing mistakes are expensive

Assuming one SQL license covers unlimited VMs

Virtualization rights depend on edition, licensing model, how the licenses are assigned, and Software Assurance/subscription status.

Treating BYOL as “upload my key”

A product key and a licensing entitlement are not the same thing. Hosted deployment rights must exist independently of whether installation media accepts a key.

Counting application servers instead of end users under Server + CAL

Multiplexing does not erase CAL requirements.

Using Developer edition for production

Developer editions are for development, testing, and demonstration, not normal production workloads.

Copying Windows Server core minimums into SQL Server

Windows Server and SQL Server use different core-licensing rules. Under eligible SQL Server per-VM licensing, the SQL minimum is four core licenses per VM; Windows Server has its own licensing framework.

Hard-coding an old SQL Server price into architecture

Microsoft pricing, reseller pricing, SPLA pricing, and commercial-agreement pricing can differ and change over time. Compare current quotes for the exact licensing route.

Building HA first and asking about licensing later

Replica rights can depend on Software Assurance or subscription rights. Resolve the intended licensing path while designing HA/DR.

A purchasing checklist should be completed before SQL Server production go-live

QuestionDecision
Which SQL Server edition does the application require?Standard / Enterprise / other
Is this production?Yes / No
Per Core or Server + CAL?Chosen model
If Server + CAL, how many users/devices really access SQL?Documented count
If Per Core, how many virtual cores will SQL Server use?Documented count
Does the four-core per-VM minimum apply?Verified
Are the licenses perpetual, subscription, or provider supplied?Documented
Is Software Assurance active?Yes / No
Is BYOL permitted for the intended provider/deployment?Verified
Does HA/DR introduce replica licensing?Verified
Is Windows Server licensing handled separately?Yes
Is RDS licensing needed for interactive users?Verified
Is the licensing route documented before go-live?Yes

If several of these are unknown, the licensing decision is not ready for production.

Raff provides the Windows infrastructure layer, not a bundled SQL Server license

Raff provides the Windows Server infrastructure layer for self-managed SQL Server workloads.

A common production architecture is:

Raff Windows VM architecture showing an Application/IIS server connected over a private network to a SQL Server VM with database backups, monitoring, and optional HA/DR design.

The Windows VM size can be selected around the application and database workload, while SQL Server licensing is handled as a separate Microsoft licensing decision.

Current Raff planning examples make that separation visible:

Windows infrastructure exampleComputeWindows Server Standard SPLAWindows subtotal before SQL Server
4 vCPU / 8 GB / 120 GB$40.99/mo$15/mo$55.99/mo
8 vCPU / 16 GB / 180 GB$76.99/mo$15/mo$91.99/mo

Those totals do not include SQL Server licensing, RDS User SALs, additional volumes, backups/snapshots, or third-party application licensing.

Raff Windows VM traffic is unmetered with no VM egress fees. The Standard plan has a 1 Gbps public port; the Business plan has a 3 Gbps public port. Additional Raff Volumes are $0.08/GB/month, and snapshots/backups are $0.06/GB/month.

For customers migrating an existing SQL-backed application, first determine whether the SQL entitlement is Per Core, Server + CAL, BYOL-eligible, or supplied through an appropriate service-provider route; then choose the Windows VM architecture.

Do not assume SQL Server licensing is bundled with a Raff Windows VM unless the current commercial offer explicitly says so.

Plan the Windows VM around the workload, then validate the SQL Server licensing path before production cutover.

Raff is an infrastructure provider, not the customer’s Microsoft licensing authority. The customer’s Microsoft agreement, Product Terms, licensing reseller, or licensing specialist should resolve ambiguous entitlement questions.

Frequently asked questions

How is SQL Server 2025 licensed?

SQL Server 2025 has two main commercial licensing models: Per Core and Server + CAL. Per Core is available for Standard and Enterprise; Server + CAL is available only for Standard.

How many SQL Server core licenses does a VM need?

Under Microsoft’s eligible Per Core virtual-machine licensing model, you license the virtual cores in the virtual OSE with a minimum of four core licenses per VM. Active Software Assurance or qualifying software subscription licensing is required for this VM licensing model.

Does a 2-vCPU SQL VM require only two SQL core licenses?

Not under the eligible per-VM model described by Microsoft. Even when the VM has two virtual cores, the minimum is four core licenses for the virtual OSE. Verify the actual virtualization mapping and entitlement before purchasing.

Does SQL Server Enterprise support Server + CAL licensing?

No. SQL Server Enterprise uses the Per Core licensing model. Server + CAL is available for SQL Server Standard.

What does one SQL Server Standard Server + CAL server license allow?

Microsoft’s current SQL Server 2025 guidance permits one running SQL Server instance in one physical or virtual OSE for each server license. The users or devices that access SQL Server still need the required CALs, and additional server licenses can be stacked when more entitled instances are needed.

Do SQL Server CALs apply to indirect users behind an application server?

Yes. Server + CAL licensing cannot generally avoid user/device CAL requirements through multiplexing or connection pooling. Microsoft states that reducing the number of direct technical connections does not reduce the required CAL count.

Can I bring my existing SQL Server license to a hosted VPS?

Possibly, but not automatically. Eligibility depends on the exact license, Software Assurance/subscription status, Microsoft outsourcing rights, and provider/deployment model. Verify the entitlement before migration.

What is the difference between SPLA and BYOL?

SPLA is a service-provider licensing program under which the provider licenses eligible Microsoft software used to deliver hosted services. BYOL means the customer deploys its own qualifying licenses under rights that permit that hosted deployment. They are different licensing paths.

Does Raff Windows VM include SQL Server licensing?

Do not assume SQL Server licensing is included. Raff’s Windows VM infrastructure and Windows Server licensing are separate from the customer’s SQL Server licensing decision unless a current commercial offer explicitly states otherwise.

Do I need SQL Server CALs if I license by core?

No SQL Server CALs are required for users or devices accessing SQL Server when it is properly licensed under the Per Core model.

Does a passive SQL Server failover VM need a license?

It depends on the entitlement. Microsoft provides specific passive-replica rights for qualifying licenses with Software Assurance or subscription rights. Verify that the replica is genuinely passive and that the applicable current Microsoft benefit covers it.

Does SQL Server 2025 include Power BI Report Server rights?

Microsoft’s current SQL Server 2025 guidance says Standard and Enterprise editions include Power BI Report Server use rights even without active Software Assurance. Separate Power BI licensing requirements can still apply to specific publishing and sharing scenarios.

Validation scope

This September 2026 refresh is a licensing source-of-truth update, not legal advice and not a substitute for Microsoft Product Terms or the customer’s executed agreement. Microsoft’s SQL Server 2025 licensing guidance, Product Terms, Flexible Virtualization Benefit guidance, per-VM four-core minimum, Server + CAL instance rights, Standard 32-core limit, Power BI Report Server change, and HA/DR passive-replica rights were revalidated on September 9, 2026. Current Raff Windows VM, Windows Server SPLA, storage, backup, and network terms were also revalidated.

What’s next

Sources


Microsoft licensing terms can vary by agreement, program, product version, geography, and deployment model. Microsoft Product Terms and the customer’s executed licensing agreement control if they conflict with this guide.

Was this article helpful?

Published September 1, 2026 · Updated November 12, 2026

Back to hub
Ready when you are

Your Windows Server, live in ~55 seconds

Genuine, fully-licensed Windows with full admin and RDP. We handle the Microsoft licensing, billed monthly with nothing upfront. On NVMe SSD, backed by a 14-day money-back guarantee.

Related articles