Skip to content
ENExplore Calculators

Cloud SQL Cost Calculator

Price a Cloud SQL instance from per-vCPU and per-GB rates, then add high availability, read replicas and backups.

About Cloud SQL Cost Calculator

Cloud SQL bills vCPU and memory separately, then multiplies the compute and data-storage lines by two when regional HA is enabled because the standby is a full second copy. Read replicas are billed as their own instances, and committed use discounts apply only to the compute meter — never to storage or backups. HA plus two read replicas quietly turns one instance into four billable machines, so the topology decision dominates the size decision. Check the current per-vCPU, per-GB and storage rates for your edition and region in the Google Cloud pricing calculator before you size a fleet.

Formula

Cloud SQL Cost

monthly = (vCPU × vCPU rate + GB × GB rate) × hours × HA factor × (1 − commitment discount) + storage GB × storage price × HA factor + replicas × (compute + storage) + backup GB × backup price.

HA factor
2 when regional high availability runs a standby in a second zone
commitment discount
Cloud SQL committed use discount, which covers compute only
replicas
Read replicas, each billed like a standalone instance without the HA standby

Worked example

With the default values below, Cloud SQL Cost Calculator returns Monthly Cost of $910.07. Change any input above and every figure here is recalculated in your browser.

Inputs used

vCPUsaccepts 1–96 vCPU
4 vCPU
Memoryaccepts 0.6–624 GB
16 GB
Price per vCPU-houraccepts 0–10 USD/vCPU-hour
0.0413 USD/vCPU-hour
Price per GB-houraccepts 0–10 USD/GB-hour
0.007 USD/GB-hour
Hours in the billing monthaccepts 1–744 hours
730 hours
Data storageaccepts 10–65,536 GB
500 GB
SSD storage price per GBaccepts 0–5 USD/GB-month
0.17 USD/GB-month
Backup storage retainedaccepts 0–200,000 GB
600 GB
Backup price per GBaccepts 0–5 USD/GB-month
0.08 USD/GB-month
Enable regional high availability
Yes
Read replicasaccepts 0–10 replicas
1 replicas
Commitment termone of No commitment, 1-year committed use discount, 3-year committed use discount
No commitment
1-year commitment discountaccepts 0–90 %
25 %
3-year commitment discountaccepts 0–95 %
52 %

Results

Monthly Cost
$910.07
Compute Charge
$404.71
Data Storage Charge
$170.00
Read Replica Charge
$287.36
Backup Charge
$48.00
High Availability Premium
$287.36
Commitment Discount
0.0%
Annual Cost
$10,920.82

Step by step

  1. 1Values used
  2. 2Cloud SQL Cost
  3. 3Monthly Cost= 910.07
  4. 4Compute Charge= 404.71
  5. 5Data Storage Charge= 170.00
  6. 6Read Replica Charge= 287.36
  7. 7Backup Charge= 48.00
  8. 8High Availability Premium= 287.36

Assumptions and limits

  • The result is derived only from the 14 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax or compounding frequency into account.
  • Figures are rounded for display to 2 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

How is Cloud SQL Cost calculated?

monthly = (vCPU × vCPU rate + GB × GB rate) × hours × HA factor × (1 − commitment discount) + storage GB × storage price × HA factor + replicas × (compute + storage) + backup GB × backup price. Cloud SQL bills vCPU and memory separately, then multiplies the compute and data-storage lines by two when regional HA is enabled because the standby is a full second copy. Read replicas are billed as their own instances, and committed use discounts apply only to the compute meter — never to storage or backups.

Why does Cloud SQL Cost matter?

HA plus two read replicas quietly turns one instance into four billable machines, so the topology decision dominates the size decision. Check the current per-vCPU, per-GB and storage rates for your edition and region in the Google Cloud pricing calculator before you size a fleet.

What values do I need to enter?

This calculator takes 14 inputs: vCPUs, Memory, Price per vCPU-hour, Price per GB-hour, Hours in the billing month, Data storage, SSD storage price per GB, Backup storage retained, Backup price per GB, Enable regional high availability, Read replicas, Commitment term, 1-year commitment discount, 3-year commitment discount. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

Does a read replica also need high availability?

Only if it serves traffic you cannot lose. A replica is already a separate copy in its own zone, so most designs run replicas as zonal instances and reserve regional HA for the primary, which halves the replica bill.

Cloud SQL Cost Calculator | Calcrivo