When buying a VPS, everyone asks the same question:
How many GB of RAM do I need? How many CPU cores are enough?
But most people look in the wrong place.
- "8 GB is fine" β they overpay
- "2 GB is enough" β the site crashes
The truth is:
VPS requirements are calculated not by RAM or CPU, but by the number of concurrent users
In this guide, I'll show you exactly how to calculate this.
What Does RAM Do?
RAM is the server's active memory.
It holds:
- Active visitors
- PHP processes
- MySQL queries
- Cache (Redis / Memcached)
- Background services
Critical: RAM = Determines how many people can use the site smoothly at the same time
What Happens When RAM Is Insufficient?
- The site slows down
- 502 / 504 errors
- MySQL crashes
- Swap kicks in β severe slowdown
What Does CPU Do?
The CPU executes processes.
It affects:
- Page load speed
- WordPress performance
- WooCommerce operations
- API and search operations
- Import/export
Critical:
CPU = speed RAM = capacity
RAM vs CPU
| Resource | Role |
|---|---|
| RAM | Concurrent users |
| CPU | Processing speed |
What Is a Concurrent User?
What matters is not daily traffic but how many people are on the site at the same time.
| Daily Traffic | Concurrent Users |
|---|---|
| 1,000 | 10β20 |
| 5,000 | 30β50 |
| 10,000 | 50β80 |
| 20,000 | 80β120 |
| 50,000 | 150β300 |
WordPress Resource Requirements
| Site Type | RAM | CPU |
|---|---|---|
| Small blog | 1β2 GB | 1 CPU |
| Medium site | 2β4 GB | 2 CPU |
| Large site | 4β8 GB | 3β4 CPU |
| WooCommerce | 6β8 GB | 4 CPU |
| Large e-commerce | 8β16 GB | 6β8 CPU |
The Effect of Cache
With cache:
- Less RAM is used
- CPU load decreases
- More traffic is handled
Without cache:
- Every user consumes CPU
- RAM fills up quickly
VPS Resources by Traffic
| Daily Traffic | RAM | CPU |
|---|---|---|
| 0 β 3K | 2 GB | 1 CPU |
| 3K β 10K | 4 GB | 2 CPU |
| 10K β 25K | 8 GB | 3β4 CPU |
| 25K β 50K | 8β16 GB | 4β6 CPU |
| 50K+ | 16 GB+ | 6β8 CPU |
Quick Calculation Formula
RAM
RAM = concurrent users Γ 50 MB
CPU
1 CPU β 40β50 concurrent users
Control Panel RAM Usage
| Panel | RAM |
|---|---|
| cPanel | 1β2 GB |
| Plesk | 0.5β1 GB |
| CyberPanel | 0.5 GB |
| No panel | 0 |
Full Calculation Formula
Total RAM =
(Concurrent users Γ 50 MB)
+ Panel RAM
+ Cache RAM
+ 20% safety margin
Example Calculation
10K traffic:
- 70 users
- 70 Γ 50 MB = 3.5 GB
- cPanel = 1.5 GB
- Redis = 1 GB
- Buffer = 1 GB
Total β 7 GB β 8 GB VPS
CPU: 2β3 cores
The Biggest Mistakes
- Looking only at RAM
- Underestimating CPU
- Not using cache
- Ignoring disk speed
- Not accounting for panel RAM
Final VPS Selection Table
| Use Case | RAM | CPU |
|---|---|---|
| Blog | 2β4 GB | 1β2 |
| Corporate | 4 GB | 2 |
| WooCommerce | 8 GB | 4 |
| Agency | 8β16 GB | 4 |
| E-commerce | 16 GB | 6 |
| SaaS | 16β32 GB | 6β8 |
Conclusion
- RAM β capacity
- CPU β speed
If traffic is growing, increase RAM
If the site is slow, increase CPU
If you have WooCommerce, increase CPU
If there's no cache, set it up immediately