⌂ Home

How Much RAM Does a Small Website Need

We earn commissions when you shop through the links below.

Estimate website RAM from your software and measured memory use, and see what each step up in memory costs on plans we checked.

Updated Oct 15, 2026

There is no single RAM figure that fits every small website. A site serving cached pages uses memory differently from a shop calculating carts or an application processing uploads. Start with the software you run and how it behaves under realistic use.

RAM holds data that running processes need quickly: the operating system, web server, application workers, database, and background jobs. If the database runs on a separate service, its memory is not part of your web server's budget.

Count the work happening at once

Monthly visitor totals hide short busy periods. A newsletter can bring many visitors at once, and a scheduled job can run while people browse. List the processes on your server and look for tasks that overlap: page requests, admin screens, imports, image processing, backups, and deployments.

Build an estimate from measurements

A first estimate is: memory for the operating system and always-running services, plus active application workers, plus room for background jobs.

Here is a rough paper calculation, just to show the math:

Those inputs must come from your own server before you use them to buy anything.

What each step up costs

Once you know roughly how much memory you need, the next question is what the next size costs. These are self-managed VPS plans from our price tables:

RAMVultr Cloud Compute (checked 2026-10-08/11)DigitalOcean Basic (checked 2026-10-01/15)
0.5 GB / 512 MiB$3.50/mo$4/mo
1 GB$5/mo$6/mo
2 GB$10/mo (1 vCPU)$12/mo (1 vCPU)
2 GB, 2 vCPU—$18/mo
4 GB, 2 vCPU$20/mo$24/mo
8 GB, 4 vCPU$40/mo$48/mo

Both providers' prices above are monthly. Vultr bills hourly and DigitalOcean by the second, both up to that monthly price. Both let you move to a larger plan later (Vultr does not support shrinking a server, DigitalOcean can't shrink a disk once it has been enlarged, and a resize means some downtime), so starting at a measured size and moving up when the numbers show pressure is usually cheaper than buying extra headroom on day one. Full details are on our Vultr and DigitalOcean plan pages.

Read the right signals

On Linux, low "free" memory does not mean the server is struggling; the system uses spare memory for caches. The MemAvailable value estimates memory available for new programs without swapping. [1]

Watch for out-of-memory events, failed jobs, slower responses, and constant swap use. A slowdown is not always a memory problem: CPU, disk, network, or database design may be the cause.

If you use PHP, memory_limit caps what one script may use. It is not the server's total RAM, and raising it does not add memory. [2]

Test before you commit

Test ordinary browsing, admin tasks, and the heaviest routine jobs in a test environment, and record memory, response time, and errors together. Before upgrading, check for unnecessary services, too many workers, and expensive jobs, and watch the memory graphs over time. [3]

Sources

Checked 2026-10-14. The worker numbers above are a hypothetical example to show how the math works. Prices are from official pricing pages on the dates shown.

Found this helpful? Share this article.