CompareHostingOnline

Home / Guides / How to choose a VPS size: CPU, memory and storage explained

Guide

How to choose a VPS size: CPU, memory and storage explained

How much CPU, memory and storage a VPS needs for common sites and apps, how to measure real usage and when to resize.

By Muhammad Hamza, Founder & EditorUpdated Nov 30, 2026
A private slice with root access

Short answer

Start small and measure. A single small WordPress site often runs on 1 to 2 vCPUs and 2 GB of memory; busier sites and applications need more. Memory is usually the first limit, so watch it first and resize when usage stays high.

Last verified Nov 28, 2026 · How we test
At a glance
  • What do vCPU, memory, storage and transfer mean on a VPS?A VPS plan is described by four numbers.
  • What size do common workloads need?These are starting points, not guarantees.
  • Why is memory usually the first limit?Web stacks keep many things in memory at once: the web server, PHP or application workers, the database and its caches, and…

What do vCPU, memory, storage and transfer mean on a VPS?

A VPS plan is described by four numbers. vCPUs are virtual processor cores, which decide how much work runs at the same time. Memory (RAM) holds running programs and caches; when it runs out, the system slows sharply or kills processes. Storage is the disk space for the system, your files, databases and backups, and its type (NVMe, SSD) affects speed; see NVMe vs SSD. Transfer is how much traffic you may send each month; see bandwidth, storage and data transfer.

What size do common workloads need?

These are starting points, not guarantees. The right size depends on your software, your traffic and how well you cache. Always check the requirements of what you run.

WorkloadStarting pointWhat grows first
One small static or WordPress site1 vCPU, 1 to 2 GB memoryMemory, as plugins are added
A few WordPress sites2 vCPUs, 2 to 4 GB memoryMemory and CPU at peak
A busy shop or membership site2 to 4 vCPUs, 4 to 8 GB memoryDatabase and PHP workers
A Node.js or Python app with a database1 to 2 vCPUs, 2 to 4 GB memoryMemory, then CPU
Docker with several services2 vCPUs, 4 GB memory or moreMemory
A game or media serverDepends on the softwareCPU and network

Why is memory usually the first limit?

Web stacks keep many things in memory at once: the web server, PHP or application workers, the database and its caches, and the operating system. A page request can use tens of megabytes in a PHP worker, so ten simultaneous visitors need hundreds of megabytes. When memory is exhausted, the system starts swapping to disk, which is far slower, or the kernel kills a process, often the database. A little spare memory is cheap insurance, and giving the database room to cache data speeds everything up.

How do you measure what you actually use?

  1. Watch memory and CPU over a week

    Use the provider's graphs or tools such as htop, and include your busiest day.

  2. Look at the peaks, not the average

    An average of 30% can hide spikes to 100%.

  3. Check disk use and inodes

    Include logs, backups and the database.

  4. Test under load

    Use a load testing tool on a staging copy to see where it breaks.

When should you resize?

  • Memory use stays above about 80% and swap is in use.
  • CPU is near 100% for long stretches at busy times.
  • Response times rise at peak, as shown in time to first byte.
  • You are adding a new site, a shop or a service.
  • Before an event you expect to bring traffic, such as a sale or a launch.

First try cheaper fixes: page caching, object caching with Redis, a CDN and removing heavy plugins. They often delay or avoid an upgrade.

How does resizing work?

Providers differ. Some let you upgrade CPU and memory with a short restart and a bigger price; some let you add only disk, or allow downgrades only for some resources; some require rebuilding on a new plan. Check whether a resize is reversible, whether it changes your IP address and how long it takes. Take a snapshot and a backup first; see website backups.

How do cost and size relate?

Prices rise with resources, but not evenly. Often a plan with double the memory costs less than double the price, so the next size up can be good value. Compare plans on our best VPS hosting, cheap VPS and unmanaged VPS lists, and remember that a managed plan includes work you would otherwise do yourself; see managed vs unmanaged VPS.

What are the common mistakes?

  • Buying the largest plan “to be safe” and paying for resources you never use.
  • Buying the smallest plan and ignoring memory warnings.
  • Judging by the average, not the peak.
  • Running the database, cache and web server with default settings that waste memory.
  • Forgetting to include backups, logs and updates when sizing storage.

A worked example: sizing a server for three WordPress sites

An agency wants to host three small WordPress sites for clients on one VPS. Each site gets about 3,000 visits a month with page caching. They start with 2 vCPUs and 4 GB of memory. After a week of monitoring, memory use averages 1.6 GB and peaks at 2.4 GB during a backup run, and CPU peaks at 40 percent. That leaves comfortable headroom. A month later one client launches a campaign, and memory peaks at 3.6 GB with swap in use. The agency moves that site to its own 2 GB server and keeps the other two where they are.

They sized on measurement, split the load when one site grew and avoided paying for a much larger server that most sites did not need.

How should you set up monitoring for sizing?

  • Record CPU, memory, disk and network at one-minute or five-minute intervals.
  • Keep at least a few weeks of history, including backup and update times.
  • Alert at 80 percent sustained memory use and on swap usage.
  • Check slow queries and the busiest URLs when load rises.
  • Review the numbers monthly and after any change.

Sources and further reading

Common questions

How much memory does a WordPress site need on a VPS?

A single small site often runs on 1 to 2 GB. Busier sites and several sites on one server need more. Watch memory use and swap, and resize when use stays high or processes are being killed.

Is more CPU or more memory better for a web server?

Memory usually runs out first on web workloads, so add memory before CPU unless monitoring shows CPU is the bottleneck. Check both at peak times, not only on average.

Can I resize a VPS later?

Most providers let you upgrade, and some let you downgrade. Check whether resizing needs downtime, changes the IP address or can be reversed, and take a snapshot and backup first.

How many websites can one VPS host?

It depends on their size and traffic. A 2 to 4 GB VPS can host several small sites with caching. Monitor resource use and move busy sites to their own server when they grow.

Do I need a control panel on a VPS?

Not necessarily. A panel makes management easier but uses memory and may need a licence. If you are comfortable with the command line, you can run without one; otherwise choose a managed or panel plan.

Related

More guides

Esc

Use the arrow keys, then Enter.