Artifact Registry Storage Calculator
Estimate Artifact Registry storage from image size, retained versions and layer sharing, plus egress and scanning.
About Artifact Registry Storage Calculator
Container layers are content-addressed and stored once, so retaining ten versions of an image costs far less than ten times one image — only the changed layers add bytes. Egress, not storage, is usually the larger line once a CI system or a multi-region GKE fleet pulls the same image repeatedly from outside the registry's region. Registries grow without anyone owning them, and the two effective controls are a cleanup policy on old versions and putting the registry in the same region as the clusters that pull from it. Confirm storage, egress and scanning prices in the Google Cloud pricing calculator before budgeting.
Formula
Artifact Registry Storage
stored GB = images × size × (1 + (versions − 1) × (1 − layer sharing)); cost = (stored GB − free allotment) × storage price + pulled GB crossing a region × egress price + scans × scan price.
- layer sharing
- Fraction of each new version already present as an existing layer
- versions
- Tags or digests retained per image before a cleanup policy deletes them
- egress share
- Pulls that leave the registry's region and therefore attract network charges
Worked example
With the default values below, Artifact Registry Storage Calculator returns Monthly Cost of $617.95. Change any input above and every figure here is recalculated in your browser.
Inputs used
- Distinct imagesaccepts 0–1,000,000 images
- 500 images
- Average image sizeaccepts 0.001–100 GB
- 0.8 GB
- Versions retained per imageaccepts 1–1,000 versions
- 10 versions
- Layers shared between versionsaccepts 0–99 %
- 75 %
- Storage price per GBaccepts 0–10 USD/GB-month
- 0.1 USD/GB-month
- Free storage allotmentaccepts 0–1,000 GB
- 0.5 GB
- Image pulls per monthaccepts 0–100,000,000 pulls
- 20,000 pulls
- Pulls that cross a region or leave Googleaccepts 0–100 %
- 20 %
- Egress price per GBaccepts 0–10 USD/GB
- 0.12 USD/GB
- Images scanned for vulnerabilitiesaccepts 0–1,000,000 scans
- 400 scans
- Price per image scanaccepts 0–100 USD
- 0.26 USD
Results
- Monthly Cost
- $617.95
- Stored Data
- 1 TiB
- Billed Storage
- 1,299.50 GB
- Storage Charge
- $129.95
- Egress Charge
- $384.00
- Vulnerability Scanning Charge
- $104.00
- Storage Avoided by Layer Sharing
- 2,700.00 GB
- Cost per Retained Image
- $1.2359
Step by step
- 1Values used
- 2Artifact Registry Storage
- 3Monthly Cost= 617.95
- 4Stored Data= 1,300,000,000,000
- 5Billed Storage= 1,299.50 GB
- 6Storage Charge= 129.95
- 7Egress Charge= 384.00
- 8Vulnerability Scanning Charge= 104.00
Assumptions and limits
- The result is derived only from the 11 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 4 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 Artifact Registry Storage calculated?
stored GB = images × size × (1 + (versions − 1) × (1 − layer sharing)); cost = (stored GB − free allotment) × storage price + pulled GB crossing a region × egress price + scans × scan price. Container layers are content-addressed and stored once, so retaining ten versions of an image costs far less than ten times one image — only the changed layers add bytes. Egress, not storage, is usually the larger line once a CI system or a multi-region GKE fleet pulls the same image repeatedly from outside the registry's region.
Why does Artifact Registry Storage matter?
Registries grow without anyone owning them, and the two effective controls are a cleanup policy on old versions and putting the registry in the same region as the clusters that pull from it. Confirm storage, egress and scanning prices in the Google Cloud pricing calculator before budgeting.
What values do I need to enter?
This calculator takes 11 inputs: Distinct images, Average image size, Versions retained per image, Layers shared between versions, Storage price per GB, Free storage allotment, Image pulls per month, Pulls that cross a region or leave Google, Egress price per GB, Images scanned for vulnerabilities, Price per image scan. 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 deleting a tag free up storage?
Only if no other tag references the same layers. Because layers are shared, removing one version of an image frequently reclaims very little — sustained savings come from cleanup policies that retire whole generations of base images.
Related Calculators
You might also need
- Container Registry Migration CalculatorCommonly used together
- Cloud Storage Cost CalculatorCommonly used together
- Cloud Build Cost CalculatorCommonly used together
- Google Kubernetes Engine (GKE) CalculatorCommonly used together
- Cloud Run Cost CalculatorAlso in Google Cloud
- BigQuery Cost CalculatorAlso in Google Cloud
