Muhammad Ismail Khalid

n8n Server Size Calculator

Answer five questions about your workflows to get a starting server size for self-hosted n8n.

What is this instance for?
Do workflows handle any of these?
Start with
Light production
CPU
Memory
Database
Storage

How the sizes are chosen

The calculator uses the workload tiers from the n8n system requirements guide. The checks run in this order:

  1. 1,000 or more executions an hour: queue mode with Redis, PostgreSQL and workers.
  2. Files, large data or AI: 2 to 4 vCPU, 4 to 8 GB RAM, PostgreSQL.
  3. More than 20 workflows or more than one client: 2 vCPU, 4 GB RAM, PostgreSQL.
  4. Testing only: 1 vCPU, 1 to 2 GB RAM, SQLite.
  5. Otherwise: 1 to 2 vCPU, 2 GB RAM, PostgreSQL.

Weighing self-hosting against n8n Cloud? Our n8n pricing 2026 guide compares every plan with the real cost of running your own server.

The thresholds are rules of thumb, not limits set by n8n. Memory matters more than CPU, so if executions fail with out-of-memory errors, add RAM or split the work into smaller batches first.

Whatever the size, run n8n in Docker behind HTTPS, back up the database daily, and set up an error workflow so failures reach you.

Frequently asked questions

How much RAM does n8n need?

For light production use, 2 GB of RAM is a sensible start. Plan for 4 GB or more if workflows handle files, large datasets or AI prompts, because n8n holds each execution's data in memory.

Do I need PostgreSQL for n8n?

Not for testing, where the default SQLite works. For production, PostgreSQL is the safer choice, and it is required for queue mode.

When does n8n need queue mode?

When one instance can't keep up, for example with thousands of executions an hour or long jobs blocking others. Queue mode splits work between a main instance and workers and needs Redis and PostgreSQL.

Are these sizes guaranteed to work?

No. They are starting points based on the workload. Watch memory use for the first few weeks and resize if executions fail or slow down.

Sources: n8n memory issues, n8n queue mode, n8n database options.