Compute Engine costs
Resource Details
Estimation
Choose Your Commitment Plan
Optimize Your GCP Spend
Connect your GCP project to Economize and discover savings opportunities up to 30% instantly.
Get started for freeHOW TO USE THIS CALCULATOR
Estimate your GCP bill in three steps
Configure your workloads
Select machine families (e.g. N1, N2, C2) or database configs and choose your GCP region. Rates vary by region — us-central1 is typically the cheapest baseline.
Set usage and quantity
Enter how many days per month each instance runs and how many instances you need. A 24/7 workload is 730 hours per month; dev environments often run far less.
Compare and decide
Evaluate Committed Use Discounts (1-yr or 3-yr CUDs) against On-Demand pricing to see instant savings and totals updated live.
PRICING MODEL
How Compute Engine pricing works
Compute Engine bills vCPU and memory as separate line items rather than charging a flat rate per instance, which is why two machine types with the same vCPU count can cost very different amounts. Predefined families such as E2, N2, N2D, C3, and the memory-optimized M series each carry their own per-vCPU and per-GB rates, and custom machine types are priced from the same components. Billing is per second after a one minute minimum, so short-lived batch jobs are charged only for what they use.
On top of the base rate, Google applies Sustained Use Discounts automatically once an instance runs for a significant share of the month, and Committed Use Discounts apply when you commit to one or three years of usage in a region. Spot VMs trade availability for a steep reduction and suit fault-tolerant work. The rates here cover the compute portion of the bill; persistent disks, snapshots, load balancing, and network egress are billed separately and should be added when you budget.
What drives your Compute Engine bill
Machine family and size
Each family targets a different workload profile. E2 is the cost-optimized general purpose option, N2 and N2D balance price and performance, C3 targets compute-bound work, and the M series is built for large in-memory databases.
Region
The same machine type varies noticeably between regions. us-central1 is usually among the cheapest, while Asia-Pacific and South American regions typically carry a premium for identical hardware.
Commitment term
Committed Use Discounts reduce the hourly rate in exchange for a one or three year commitment to a level of vCPU and memory in a region. Three year terms discount the most but lock capacity for longer.
Sustained use
Instances that run for a large portion of a month earn an automatic discount with no commitment and no configuration. This applies to eligible general purpose and memory-optimized families.
Spot capacity
Spot VMs use spare capacity at a large reduction and can be reclaimed at short notice. They fit batch processing, CI runners, and rendering, not stateful production services.
Start with AWS