Estimate Cloud SQL costs for MySQL, PostgreSQL, and SQL Server with HA, read replicas, and Committed Use Discounts.
Last verified: May 2026
Doubles instance cost by adding a standby in another zone
Each replica costs the same as the primary instance.
$0.080/GB-month
$0.12/GB cross-region
CUD discounts apply to compute (instance) costs only, not storage or licenses.
Output will appear here...The Cloud SQL Cost Estimator calculates monthly costs for Google Cloud SQL instances running MySQL, PostgreSQL, or SQL Server. It covers machine type selection (shared-core to high-memory), storage type (SSD or HDD), high availability with regional failover, read replica pricing, and backup storage. The tool also models Committed Use Discounts that can reduce compute costs by up to 25% for 1-year commitments and 52% for 3-year commitments. Enter your desired configuration to see a detailed cost breakdown that separates compute, storage, networking, and backup charges for accurate budget planning.
Your team's primary PostgreSQL on Cloud SQL is a db-custom-8-32 with HA + 1 TB SSD, costing $1,400/month. The CFO asks for cost reduction. The estimator shows: 1-year CUDs save 25% on compute = $230/month. Switching daily-backup retention from 30 to 14 days saves $40/month. Adding a replica for reads (currently going to primary) costs +$700/month — but lets you size down the primary to db-custom-4-16, saving $340/month. Net effect: $1,400 → $1,490 with 2x read throughput AND 25% compute discount. Total cost-per-query drops 50%.
Cloud SQL Enterprise Plus edition (announced 2023, GA 2024) offers up to 3x the read throughput and near-zero downtime maintenance vs. standard Enterprise edition for ~50% more cost. For high-traffic production OLTP, the throughput improvement often pays for itself in not needing additional read replicas.
Cloud SQL HA fails over within ~60 seconds in 99% of cases, but the failover process closes all open connections. Applications without connection pooling that handles reconnection will see errors during failover. Always test failover with realistic traffic before relying on it for SLAs.
Cloud SQL backups are billed at $0.08/GB/month — the same rate as the database storage. Default 7-day retention on a 1 TB database adds ~$80/month invisibly. For long-retention backups (30+ days), consider exporting to Cloud Storage Coldline at $0.004/GB/month (20x cheaper) for compliance archives.
The estimator computes Cloud SQL cost across components: machine type vCPU and memory hourly rates × hours (HA roughly doubles), storage type SSD/HDD GB × per-GB-month rate, backup storage based on retention × per-GB-month rate, and read replica costs (each replica is a separate billable instance at the same compute rate). Committed Use Discounts apply to vCPU and memory portions when 1-year or 3-year terms are selected.
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.