n8n Self-Hosted VPS & Queue Mode Sizing Calculator
Size a self-hosted n8n server: single instance or Queue Mode, PostgreSQL, workers, RAM, vCPU and disk, matched to Hetzner and DigitalOcean tiers.

Your estimate
Recommended architecture: Single instance + PostgreSQL. Database: PostgreSQL. Workers: None (single instance). vCPU: 2. RAM (GB): 4. Disk (GB): 40. Hetzner EU: Hetzner CX23: €5.49 ($5.93), 40 GB NVMe. DigitalOcean: DigitalOcean 4 GB / 2 vCPU: $24, 80 GB SSD
- Recommended architecture
- Single instance + PostgreSQL
- Database
- PostgreSQL
- Workers
- None (single instance)
- vCPU
- 2
- RAM (GB)
- 4raw estimate 2.25 GB
- Disk (GB)
- 40history 3 GB
- Hetzner EU
- Hetzner CX23: €5.49 ($5.93), 40 GB NVMe
- DigitalOcean
- DigitalOcean 4 GB / 2 vCPU: $24, 80 GB SSD
| Variable | Value | Purpose |
|---|---|---|
| EXECUTIONS_DATA_PRUNE | true | Delete old execution history automatically |
| EXECUTIONS_DATA_MAX_AGE | 336 | Hours to keep (days x 24) |
Based on the official n8n scaling guidance (docs.n8n.io/hosting/scaling). Memory is the main bottleneck. Disk includes a 2x safety margin. Prices come from the verified Hetzner EU (NVMe) and DigitalOcean Basic Regular (SSD) tiers. For high availability the recommendation is n8n Enterprise multi-main.
- n8n scaling guidance · 2026-11-30
- Hetzner Cloud pricing · 2026-12-01
- DigitalOcean Droplet pricing · 2026-12-01
Reviewed specialists
Browse source-backed specialists alphabeticallyHow the estimate works
Queue Mode (main process, Redis and workers) applies at 20 or more concurrent executions, 10,000 or more executions per day, or when high availability is required. For true high availability the recommendation is Queue Mode with n8n Enterprise multi-main (two or more main instances). SQLite is for development only and PostgreSQL is used for everything else. RAM sums the OS, main process, workers, burst payloads and database, and disk includes a 2x safety margin over projected execution history.
Pricing sources
| Source | Checked on |
|---|---|
| n8n scaling guidance | 2026-11-30 |
| Hetzner Cloud pricing | 2026-12-01 |
| DigitalOcean Droplet pricing | 2026-12-01 |
Frequently asked questions
When do I need n8n Queue Mode?
When you expect 20 or more simultaneous executions, 10,000 or more executions per day, or you need high availability. Queue Mode needs PostgreSQL and Redis, and it cannot run on SQLite. True zero downtime needs multi-main (two or more main instances, an n8n Enterprise feature) plus workers.
Is SQLite fine for production?
Only for development and very low traffic. For anything in production use PostgreSQL, which also unlocks Queue Mode.
How do I stop execution history filling the disk?
Set EXECUTIONS_DATA_PRUNE=true and EXECUTIONS_DATA_MAX_AGE in hours. The calculator shows the exact values for your retention period.
