WordPress RAM Calculator
Most guides say "2 GB is fine for WordPress." That's true for an empty site with one plugin. Add WooCommerce, a page builder, and 20 plugins, and 2 GB will crash under any real traffic. This calculator gives you a number based on what you're actually running.
Calculate your RAM requirement
How this is calculated
WordPress RAM usage isn't linear with traffic. It scales with concurrent requests, not monthly visitors. A site with 15,000 monthly visitors might only have 20–40 concurrent users at peak. Each PHP process needs 30–80 MB of RAM depending on what it's doing.
This gives a starting point. Real-world testing with htop or ps_mem.py on your actual server will always be more accurate. But this gets you within 1–2 GB, which is usually enough to choose the right plan.
Worked example: WooCommerce with 20 plugins
A client was running WooCommerce on a 2 GB VPS. The site was crashing every time they ran a sale — pages would hang, then the server would throw 502 errors. They had 22 active plugins and about 30,000 monthly visitors during normal periods.
- Concurrent users: 30,000 / 500 = 60
- Per-process memory: 40 + (22 × 2) = 84 MB
- Raw RAM: (60 × 84 × 1.6) / 1024 = 7.9 GB
- With page cache only (0.85): 6.7 GB
We moved them to a 8 GB VPS. The sale-day crashes stopped. They could have optimized plugins down to 10 and fit in 4 GB, but they didn't want to rebuild the site — so 8 GB was the honest requirement.
RAM by site type (quick reference)
| Site type | Monthly visitors | Plugins | Recommended RAM |
|---|---|---|---|
| Static HTML / portfolio | Any | 0 | 512 MB–1 GB |
| Lightweight WordPress blog | <10,000 | 5–10 | 1–2 GB |
| WordPress + page builder | 10,000–30,000 | 10–20 | 2–4 GB |
| WooCommerce store | 10,000–50,000 | 15–25 | 4–8 GB |
| WooCommerce + membership | 50,000+ | 20+ | 8–16 GB |
| Laravel / custom app | Varies | N/A | 2–8 GB |
These match what we see running on real servers[citation:8]. If your site doesn't fit the pattern, the calculator above will give you a more specific answer.
Frequently asked questions
free -m — if swap is being used, you need more RAM.free -m shows you're consistently using more than 70% of available RAM.