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