OffshoreVps
GuidesOct 1, 20267 min readBy the OffshoreVps team

How Much RAM and CPU Does WordPress Need on a VPS?

Realistic VPS specs for blogs, business sites and WooCommerce by traffic level, what actually uses resources and the caching that matters most.

"How much RAM does WordPress need?" has no single answer. It depends on traffic, plugins and caching. This guide gives realistic starting points so that you neither overpay nor crash on launch day.

CPU, RAM and disk usage gauges illustrating choosing VPS specs for WordPress
The three resources to size: CPU, RAM and disk.

Starting points by traffic

SiteVisitors a daySuggested VPS
Personal blog, portfolioUp to 2,0001 vCPU, 1 to 2 GB RAM
Small business, news site2,000 to 20,0002 vCPU, 4 GB RAM
WooCommerce store, membership site10,000 and up4 vCPU, 8 GB RAM
High-traffic publisher100,000 and upDedicated CPU, 16 GB or more, plus a CDN

These are guides, not guarantees. A well-cached site on 2 GB often beats a badly configured one on 8 GB.

What actually uses resources

  • PHP workers. Each uncached page view takes a PHP process, roughly 50 to 150 MB of RAM. More workers means more simultaneous visitors.
  • The database. MariaDB or MySQL needs memory for its buffer pool. 256 to 512 MB is fine for small sites.
  • Plugins. Page builders, backup plugins and security scanners are the usual causes of slow sites.
  • Images. Large unoptimised images waste bandwidth and CPU on every page.

The cheapest big speed-up: caching

  1. Page caching (a plugin such as WP Super Cache or Nginx FastCGI cache) serves most visitors a saved HTML file with no PHP at all.
  2. Object caching with Redis stores database results in memory.
  3. OPcache keeps compiled PHP in memory. It is built into PHP and should be on.
  4. A CDN serves images and scripts from servers near the visitor.
The steps of this guide in order: 1. Starting points by traffic; 2. What actually uses resources; 3. The cheapest big speed-up: caching; 4. Why NVMe storage matters; 5. Choosing a location; 6. Next steps
The steps in this guide, in order.

Why NVMe storage matters

WordPress reads many small files and runs many small database queries. NVMe disks handle those random reads far faster than SATA SSDs or hard disks, which shows up directly as faster page generation. Every plan we sell uses NVMe.

Choosing a location

Put the server near most of your visitors. A visitor 100 ms away feels every extra round trip. See how to choose a VPS location.

Next steps

Install the stack with our Nginx guide, secure it with the 15-minute checklist and automate backups.