Managed Database Cost Calculator

Last updated

Prices one Postgres database on six services from the vCPUs, memory, storage, IOPS, Aurora I/O requests, standby, read replicas and backups you enter. Each service gets the cheapest dedicated-CPU size with both enough vCPUs and enough memory, from Graviton4 classes on AWS, at list prices for 730 hours a month: Amazon RDS and Aurora in us-east-1, Cloud SQL Enterprise in us-central1, Supabase Pro, Neon Launch and Scale for the hours you set, and a self-managed Hetzner AX server.

Cheapest managed service –
I/O-Optimized break-even –
Monthly cost by service

Prices last verified November 2, 2026. Figures are estimates in US dollars; confirm with each provider before committing.

Describe one database and the table prices it on eight rows across six services, each at its cheapest dedicated-CPU size with enough vCPUs and memory, using Graviton4 classes on AWS. A row that can't run the shape says why. The headline names the cheapest managed service; Hetzner is there for scale, since on it you would run Postgres yourself. Every figure is a US-dollar list price for a 730-hour month.

From POSTGRES to a line on a cloud bill

PostgreSQL began as POSTGRES, a Berkeley project led by Michael Stonebraker whose implementation started in 1986. In 1994 Andrew Yu and Jolly Chen added an SQL interpreter, and the result was released as Postgres95; by 1996 it was PostgreSQL, numbered from 6.0 to continue the Berkeley sequence.

Amazon RDS opened in beta on 26 October 2009 with MySQL 5.1 in five instance classes. One, db.m1.xlarge with 15 GB of memory, cost $0.88 an hour, or $642.40 for 730 hours. Today's db.m8g.xlarge with 16 GiB costs $245.28 for the same month, in nominal dollars and with MySQL then against PostgreSQL now.

Google opened Cloud SQL as a limited preview on 6 October 2011, a MySQL database for App Engine. RDS added PostgreSQL on 14 November 2013. AWS previewed Aurora, a MySQL-compatible engine, on 12 November 2014; its PostgreSQL edition became generally available on 24 October 2017. Aurora I/O-Optimized followed on 11 May 2023.

Work on Supabase started in January 2020, and Neon was founded in 2021 to build serverless Postgres. On 14 May 2025 Databricks announced an agreement to acquire Neon, saying AI agents had created over 80% of the databases provisioned on Neon.

How the calculator prices each service

Each row adds up the same parts:

monthly cost = hourly rate × 730 × instances + storage GB × rate per GB-month + extra IOPS × rate per IOPS-month + I/O millions × rate per million + billable backup GB × backup rate

Compute and storage are rounded to the cent before they are added.

Amazon RDS takes whichever Graviton4 class meets both numbers for less: db.m8g, with 4 GiB per vCPU, or db.r8g, with 8 GiB. Below 400 GB, gp3 storage on RDS for PostgreSQL gives 3,000 IOPS and can't provision more, so asking for more moves the disk to 400 GB, where RDS stripes four volumes for a 12,000 IOPS baseline and bills only IOPS above it. Backups are free up to the storage of the instance and its replicas.

Aurora has no m classes for PostgreSQL, so it takes the smallest db.r8g class. It bills storage once per cluster and backups beyond the cluster's size. Standard bills every I/O request, while I/O-Optimized raises the instance and storage rates and drops the I/O charge.

Cloud SQL Enterprise builds a custom machine with one or an even number of vCPUs up to 96 and 0.9 to 6.5 GB per vCPU in 256 MB steps, at least 3.75 GB. It bills every backup gigabyte, with no free allowance listed. The dearer Enterprise Plus, the default for PostgreSQL 16 and later, is left out. On SSD, which this row prices, Cloud SQL sets IOPS from the machine type and disk size, so the IOPS input leaves the row alone; N4 machines use Hyperdisk Balanced instead, which costs less per GB and bills IOPS above 3,000.

Supabase Pro adds its $25 plan to a Large or larger compute, the sizes on dedicated vCPUs, less a $10 monthly compute credit that doesn't cover replicas. Its gp3 disk includes 8 GB and 3,000 IOPS and allows 500 IOPS per GB, so high IOPS can grow the disk. Daily backups kept for 7 days come with the plan.

Neon bills compute units of about 4 GB of RAM for the hours they run. Its docs no longer give vCPUs per unit, so the calculator uses one, after the 0.25 vCPU per GiB in Neon's open-source autoscaler. Launch stops at 16 units and Scale at 56, with sizes above 16 in beta. Backups are priced as Neon's scheduled snapshots at $0.09 per GB-month.

Hetzner gets the cheapest AX server whose threads, memory and mirrored NVMe pair cover the request, plus its $1.90 IPv4 address. Backups fill whole 20 TB Storage Boxes, then the smallest box that holds the rest. Setup fees appear in the Size column, not the monthly total.

Hourly rates in us-east-1:

Size RDS db.m8g RDS db.r8g Aurora Standard Aurora I/O-Optimized
large, 2 vCPUs $0.168, 8 GiB $0.239, 16 GiB $0.276 $0.359
xlarge, 4 vCPUs $0.336, 16 GiB $0.478, 32 GiB $0.552 $0.718
2xlarge, 8 vCPUs $0.672, 32 GiB $0.956, 64 GiB $1.104 $1.436
4xlarge, 16 vCPUs $1.344, 64 GiB $1.912, 128 GiB $2.208 $2.872
8xlarge, 32 vCPUs $2.688, 128 GiB $3.824, 256 GiB $4.416 $5.744
12xlarge, 48 vCPUs $4.032, 192 GiB $5.736, 384 GiB $6.624 $8.616
16xlarge, 64 vCPUs $5.376, 256 GiB $7.648, 512 GiB $8.832 $11.488
24xlarge, 96 vCPUs $8.064, 384 GiB $11.472, 768 GiB $13.248 $17.232

The other rates:

Service Rates used
Amazon RDS gp3 storage $0.115 per GB-month, $0.23 Multi-AZ; IOPS $0.02, $0.04 Multi-AZ; backups $0.095
Aurora storage $0.10 Standard, $0.225 I/O-Optimized; I/O $0.20 per million; backups $0.021
Cloud SQL, us-central1 $0.0413 per vCPU-hour and $0.007 per GB-hour, doubled for HA; SSD $0.17, $0.34 HA; backups $0.08
Supabase Pro Large $0.1517, XL $0.2877, 2XL $0.562, 4XL $1.32, 8XL $2.562, 12XL $3.836, 16XL $5.12 an hour; disk $0.125 per GB; IOPS $0.024
Neon Launch $0.106, Scale $0.222 per CU-hour; storage $0.35; snapshots $0.09
Hetzner AX41 $67.10, AX42 $117.10, AX102 $302.10, AX162 $722.10 a month; Storage Boxes $4, $13, $24, $46

Worked example: the defaults

The defaults are 4 vCPUs, 16 GB, 200 GB, 3,000 IOPS, 500 million Aurora I/Os, 300 GB of backups, no standby or replicas, and Neon on all month.

RDS picks db.m8g.xlarge at $0.336 an hour, $245.28. Storage is 200 × $0.115 = $23.00, the IOPS sit within the baseline, and 100 GB of backups beyond the free allowance add $9.50, for $277.78.

Aurora's db.r8g.xlarge costs $402.96. Standard adds $20.00 of storage, $100.00 for 500 million I/Os and $2.10 of backups, for $525.06. I/O-Optimized costs $524.14 for the instance, $45.00 for storage and the same $2.10, for $571.24.

Cloud SQL's 4 vCPU, 16 GB machine costs $0.2772 an hour, $202.36 a month, plus $34.00 of SSD and $24.00 for all 300 GB of backups: $260.36.

Supabase's XL compute is $210.02, or $200.02 after the credit. The plan adds $25 and 192 GB of disk beyond the included 8 GB add $24.00, for $249.02, the cheapest managed service.

Neon needs 4 units. Launch runs them for 730 hours at $0.106, $309.52, plus $70.00 of storage and $27.00 for 300 GB of scheduled backups, for $406.52. Scale's $0.222 rate gives $745.24. The Hetzner AX41 costs $69.00 with its IPv4 address, and a 1 TB Storage Box adds $4.00, for $73.00.

Standby, replicas and the I/O break-even

Under Multi-AZ, RDS doubles its instance, storage and IOPS rates, so the defaults rise from $277.78 to $546.06. Aurora replicas are failover targets, so Multi-AZ adds an instance only to a cluster without one, and two db.r8g.xlarge instances bring Aurora Standard to $928.02. Cloud SQL's HA rates double the vCPU, memory and SSD prices, for $496.71. Neon keeps no idle standby compute, so its price stays put and its rows say so. Supabase's high-availability option, Multigres, is in private alpha, so that row shows no price.

The calculator prices each RDS replica as a Single-AZ copy with its own disk, which also raises the free backup allowance. Cloud SQL charges replicas at standalone rates and allows 10 per primary. Supabase replicas copy the primary's compute size and extra IOPS on a disk 1.25 times larger, billed from the first byte; more than two need an XL or larger primary, and five is the limit. Neon replicas are extra read-only computes, priced here for the primary's hours.

The two Aurora bills meet at this I/O volume:

break-even I/Os = (I/O-Optimized compute − Standard compute + storage GB × $0.125) ÷ $0.20 per million

At the defaults that is ($524.14 − $402.96 + 200 × $0.125) ÷ $0.20, or 731 million I/Os a month. AWS says I/O-Optimized can save up to 40% once I/O passes 25% of the Aurora bill, and at the break-even I/O is $146.18 of a $571.24 Standard bill, about 25.6%. With Multi-AZ the second instance doubles the compute gap, and the break-even rises to 1,337 million.

What the estimate leaves out

These are list prices, before reserved instances, savings plans or committed-use discounts. The calculator doesn't price data transfer, point-in-time recovery on Supabase at $100 a month per 7 days of retention, Neon's change history at $0.20 per GB-month, which paid plans keep for 1 day by default, RDS Extended Support for old Postgres versions, gp3 throughput above the baseline, each instance's own IOPS ceiling, or cheaper AX42, AX102 and AX162 variants in Hetzner's price list.

Nor are the rows equal machines. A Graviton vCPU is a whole core, while AWS and Google describe most x86 vCPUs as single hardware threads that can share a core, and the Hetzner row counts threads the same way. Aurora and Neon bill data stored; the others bill disk provisioned. GB and GiB are treated alike.

Hetzner's price covers hardware alone. Patching, failover and restore drills are the staff time a self-managed server needs, often the larger cost. To fill in the backup input, work out how much backup storage your retention policy keeps. If the database will also hold embeddings for vector search, pgvector on one of these instances is an alternative to a separate vector database.

Prices change without notice and figures here are estimates from list prices, not quotes; this site is not affiliated with any provider named above. See the site disclaimer.

Frequently asked questions

How much does a 4 vCPU, 16 GB Postgres database cost on Amazon RDS?

In us-east-1 a Graviton4 db.m8g.xlarge costs $0.336 an hour, or $245.28 for a 730-hour month. Add 200 GB of gp3 storage at $0.115 per GB-month and 100 GB of backups beyond the free allowance at $0.095, and the bill is $277.78. With a Multi-AZ standby it is $546.06, because the instance, storage and IOPS rates double. The older Graviton2 db.m6g.xlarge lists at $0.318 an hour, $232.14 a month.

When does Aurora I/O-Optimized cost less than Aurora Standard?

At the calculator defaults, above about 731 million I/O requests a month. I/O-Optimized instances cost about 30% more and its storage costs $0.225 per GB-month instead of $0.10, but it charges nothing for I/O, while Standard charges $0.20 per million requests. At the break-even both cost $571.24 and I/O is about 25.6% of the Standard bill, close to the 25% threshold AWS quotes.

Is Supabase or Neon cheaper for a small production database?

It depends on how many hours the compute runs. At 4 vCPUs and 16 GB, Supabase Pro's dedicated XL compute comes to $249.02 a month with the $25 plan, the $10 compute credit and 200 GB of disk. Neon Launch at 4 compute units costs $406.52 if it runs all 730 hours, but $181.80 if it is active for 200 hours and scales to zero the rest of the time.

What does a Multi-AZ standby add to the bill?

At the defaults it adds $268.28 a month on RDS and $236.35 on Cloud SQL, and a second Aurora instance adds $402.96. Neon adds nothing because it keeps no standby compute and relies on storage replicated across zones, with 1 to 10 minutes to recover from a lost zone. Supabase's high-availability option is in private alpha, so the calculator shows no standby price for it.

Why is the Hetzner server so much cheaper?

Because you run the database yourself. An AX41 with 12 threads, 64 GB of RAM and two 512 GB NVMe drives costs $67.10 a month plus $1.90 for its IPv4 address, and a 1 TB Storage Box for backups adds $4, for $73.00 against $249.02 for the cheapest managed service. Patching, failover, monitoring and restore tests become your work, and the server sits in Germany or Finland.

Why does Aurora get 32 GB of memory when I asked for 16?

Aurora PostgreSQL offers memory-optimized r classes and burstable t classes but no general-purpose m classes, and the calculator skips burstable sizes. The smallest Graviton4 class with 4 vCPUs is db.r8g.xlarge, which has 32 GiB, so Aurora's compute on it costs $402.96 a month where RDS can use the 16 GiB db.m8g.xlarge. The older Graviton2 db.r6g.xlarge lists at $378.87 a month.

Sources

  1. Amazon RDS for PostgreSQL pricing, Amazon Web Services, 2026
  2. RDS for PostgreSQL on-demand price list, Amazon Web Services, 2026
  3. RDS storage price list, Amazon Web Services, 2026
  4. Hardware specifications for DB instance classes, Amazon RDS User Guide
  5. Amazon RDS DB instance storage, Amazon RDS User Guide
  6. Quotas and constraints for Amazon RDS, Amazon RDS User Guide
  7. Amazon Aurora pricing, Amazon Web Services, 2026
  8. Aurora on-demand price list, Amazon Web Services, 2026
  9. Aurora storage price list, Amazon Web Services, 2026
  10. Replication with Amazon Aurora, Amazon Aurora User Guide
  11. CPU options: supported CPU cores and threads per instance type, Amazon EC2 User Guide
  12. Cloud SQL pricing, Google Cloud, 2026
  13. About instance settings (Cloud SQL for PostgreSQL), Google Cloud
  14. About replication in Cloud SQL, Google Cloud
  15. Introduction to Cloud SQL for PostgreSQL editions, Google Cloud
  16. Storage options overview (Cloud SQL for PostgreSQL), Google Cloud
  17. CPU platforms, Google Cloud
  18. Compute and Disk, Supabase
  19. Manage Compute usage, Supabase
  20. Manage Disk size usage, Supabase
  21. Manage Read Replica usage, Supabase
  22. Getting started with Read Replicas, Supabase
  23. Supabase Pricing, Supabase
  24. Multigres, Supabase
  25. Neon plans, Neon
  26. Manage computes, Neon
  27. Backup & restore, Neon
  28. High Availability (HA) in Neon, Neon
  29. autoscaler-agent config_map.yaml, Neon on GitHub
  30. AMD dedicated servers, AX line, Hetzner Online
  31. Website price API, AX102, Hetzner Online
  32. Storage Box, Hetzner Online
  33. Details regarding the standardization and price adjustment of our server products effective 15 June 2026, Hetzner Online, 2026
  34. A Brief History of PostgreSQL, PostgreSQL Global Development Group
  35. Introducing Amazon RDS – The Amazon Relational Database Service, Jeff Barr, AWS News Blog, 2009
  36. Google Cloud SQL: your database in the cloud, Navneet Joneja, Google Code Blog, 2011
  37. Amazon RDS for PostgreSQL – Now Available, Jeff Barr, AWS News Blog, 2013
  38. Amazon Aurora – New Cost-Effective MySQL-Compatible Database Engine for Amazon RDS, Jeff Barr, AWS News Blog, 2014
  39. Now Available – Amazon Aurora with PostgreSQL Compatibility, Jeff Barr, AWS News Blog, 2017
  40. How we launch at Supabase, Supabase Blog, 2021
  41. New – Amazon Aurora I/O-Optimized Cluster Configuration with Up to 40% Cost Savings for I/O-Intensive Applications, Channy Yun, AWS News Blog, 2023
  42. Databricks Agrees to Acquire Neon to Deliver Serverless Postgres for Developers + AI Agents, Databricks, 2025