# Virtual CPU (vCPU)

> A slice of a real chip that a VM gets to use.

**Field:** Infrastructure  
**Category:** Virtualization & Cloud  
**Also known as:** vCPU, Virtual Processor, vCore

## Think of it like

It is like a seat at a shared desk. The seat is yours, but the desk belongs to many.

## Definition

A vCPU is a share of a real processor that a virtual machine gets. Cloud providers sell server sizes by how many vCPUs they have. Often one vCPU is one thread on a real processor core. Many cores run two threads, so two vCPUs can share one core. More vCPUs let a machine do more work at the same time.

## Example

On AWS, an m5.xlarge instance has two processor cores with two threads each. That makes four vCPUs.

## Why it matters

The vCPU count is one of the first numbers you choose and pay for. It decides how much work a server can do at once.

## Common mistake

Thinking 4 vCPUs means 4 full processor cores. It often means 4 threads, which may be just 2 real cores.

## Three principles

- **A share.** Part of a real processor.
- **Often a thread.** Two may share one core.
- **Sold by count.** Server sizes list them.

## Related terms

- [Central Processing Unit (CPU)](https://learn.benibix.com/term/infrastructure/central-processing-unit)
- [Virtual Machine (VM)](https://learn.benibix.com/term/infrastructure/virtual-machine)
- [Cloud Instance](https://learn.benibix.com/term/infrastructure/cloud-instance)
- [Hypervisor](https://learn.benibix.com/term/infrastructure/hypervisor)

## Taught in

- [VPS Plans and Billing](https://learn.benibix.com/learn/infrastructure-vps/vps-plans-and-billing): VPS, 2/7
- [Virtualization and VMs](https://learn.benibix.com/learn/infrastructure-virtualization/virtualization-and-virtual-machines): Cloud Computing, 1/11

![Two stacks side by side. On the left, type 1: the hardware at the bottom, a hypervisor straight on top of it, and three virtual machines above, each with its own system, apps and a few vCPUs. On the right, type 2: the hardware, then a normal operating system such as Windows, then a hypervisor app, then two virtual machines.](https://learn.benibix.com/diagrams/inf2-hypervisor.svg)

---

Source: https://learn.benibix.com/term/infrastructure/virtual-cpu
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
