ServerCalc
Reviews

How much RAM does a VPS need?

How much RAM a VPS needs by workload, from a static site to a database or a game server, what each size costs per month and how much headroom to leave

August 29, 2026ServerCalc Editorial6 min read

Memory is usually the first resource a VPS runs out of. A bot or a static site fits in 1-2 GB, WordPress wants 2-4 GB, a database 4-8 GB and up. In our catalog 2 GB starts at $3.00 a month, 4 GB at $5.00 and 8 GB at $19.16 (prices checked October 21, 2026)

RAM runs out long before CPU does

On most virtual servers you hit a memory wall well before the processor is busy. When RAM fills up, the system starts swapping to disk, latency climbs and the server feels slow even though CPU usage looks fine. That is why sizing memory to the workload is the most useful single decision, and why the calculator starts from the task, not the price

Estimate from three things: what the server runs, roughly how many users or requests it handles at the same time, and whether the software is memory-hungry. A static site and a busy database with the same traffic have very different needs, so the workload sets the target, not the visitor count alone

Targets by workload

Workload RAM to start with Notes
Static site, landing page 1 GB almost everything is served from cache
Telegram or Discord bot 1-2 GB more if the bot keeps a database on the same server
WordPress or a small web app 2-4 GB PHP workers, cache and MySQL together
Online store 4 GB catalogue search and cart sessions add up
Production database 4-8 GB and up memory holds the hot data, pair with NVMe
Game server 4-8 GB single-thread CPU speed matters as much as RAM
AI inference 8-16 GB and up small models only, larger ones need a GPU

Compute-heavy jobs shift the picture. A game server cares about single-core speed and latency more than raw memory, while AI inference can demand a lot of RAM regardless of traffic

What each size costs per month

RAM Cheapest in our catalog Monthly-billed alternative
2 GB RackNerd KVM 2 GB, $3.00 billed yearly Hostman Cloud 3, $7.00
4 GB RackNerd KVM 4 GB, $5.00 billed yearly Hostman Cloud 4, $10.00
6 GB VPSDime Linux VPS 6 GB, $7.00 DataPacket VServer 6 GB, $19.99
8 GB MassiveGRID Professional (Singapore), $19.16 Hostman Cloud 5, $22.00
16 GB DataPacket VServer 16 GB, $34.99 Hostman Cloud 6, $48.00

Prices checked October 21, 2026, live prices are in the catalog

Put in money: going from 2 GB to 4 GB on the same provider adds $2 to $3 a month. That is cheaper than one hour of debugging a server that swaps, so if your estimate sits on the border, take the bigger size

Plan for 60-70 percent use at peak

Whatever number you land on, add a margin. The operating system caches aggressively, traffic spikes, and updates briefly need extra room. A server at 90 percent memory under normal load has nothing left for a busy hour. Aim for about 60-70 percent at peak

Two cheap safety nets help: a small swap file so a spike slows the server instead of killing a process, and an alert when memory stays above 80 percent

Measure for two weeks, then resize

The best sizing is measured, not guessed. Launch on a plan that matches the estimate, watch real memory use for a week or two (free -m, htop, or your provider's graphs), then resize once you have data. Most providers let you scale up with a reboot, so it is usually cheaper to start reasonable and grow than to over-provision from day one

Disk type matters for databases too: if memory is tight, fast storage softens the hit, see NVMe vs SSD

Frequently asked questions

Is 1 GB of RAM enough for a VPS?

For a static site, a small bot or a utility service, yes. For WordPress with a database on the same server, 1 GB is tight, start with 2 GB

How much RAM does WordPress need on a VPS?

2 GB for a typical site with caching, 4 GB for a busy site, WooCommerce or several sites on one server

How much RAM does a database server need?

Enough to hold the frequently used data and indexes. Start with 4 GB for a small production database and 8 GB or more as it grows, and pair it with NVMe storage

Is more CPU or more RAM better for a VPS?

For most web workloads, more RAM. CPU matters more for game servers, builds and video processing

Can I add RAM to a VPS later?

Usually yes. Most providers resize a plan with a reboot. Shrinking a plan, especially the disk, is often not possible, so grow in steps

Read also