Skip Navigation
Show nav
Heroku Dev Center Dev Center
  • Get Started
  • Documentation
  • Changelog
  • Search
Heroku Dev Center Dev Center
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
    • .NET
  • Documentation
  • Changelog
  • More
    Additional Resources
    • Home
    • Elements
    • Products
    • Pricing
    • Careers
    • Help
    • Status
    • Events
    • Podcasts
    • Compliance Center
    Heroku Blog

    Heroku Blog

    Find out what's new with Heroku on our blog.

    Visit Blog
  • Log in or Sign up
View categories

Categories

  • Heroku Architecture
    • Compute (Dynos)
      • Dyno Management
      • Dyno Concepts
      • Dyno Behavior
      • Dyno Reference
      • Dyno Troubleshooting
    • Stacks (operating system images)
    • Networking & DNS
    • Platform Policies
    • Platform Principles
    • Buildpacks
  • Developer Tools
    • AI Tools
    • Command Line
    • Heroku VS Code Extension
  • Deployment
    • Deploying with Git
    • Deploying with Docker
    • Deployment Integrations
  • Continuous Delivery & Integration (Heroku Flow)
    • Continuous Integration
  • Language Support
    • Node.js
      • Node.js Behavior in Heroku
      • Working with Node.js
      • Troubleshooting Node.js Apps
    • Ruby
      • Rails Support
        • Working with Rails
      • Working with Bundler
      • Working with Ruby
      • Ruby Behavior in Heroku
      • Troubleshooting Ruby Apps
    • Python
      • Working with Python
      • Background Jobs in Python
      • Python Behavior in Heroku
      • Working with Django
    • Java
      • Java Behavior in Heroku
      • Working with Java
      • Working with Maven
      • Working with Spring Boot
      • Troubleshooting Java Apps
    • PHP
      • Working with PHP
      • PHP Behavior in Heroku
    • Go
      • Go Dependency Management
    • Scala
    • Clojure
    • .NET
      • Working with .NET
  • Databases & Data Management
    • Heroku Postgres
      • Postgres Basics
      • Postgres Getting Started
      • Postgres Performance
      • Postgres Data Transfer & Preservation
      • Postgres Availability
      • Postgres Special Topics
      • Migrating to Heroku Postgres
      • Heroku Postgres Advanced (Limited GA)
    • Heroku Key-Value Store
    • Apache Kafka on Heroku
    • Other Data Stores
  • AI
    • Inference Essentials
    • Inference API
    • Inference Quick Start Guides
    • AI Models
    • Tool Use
    • AI Integrations
    • Vector Database
  • Monitoring & Metrics
    • Logging
  • App Performance
  • Add-ons
    • All Add-ons
  • Collaboration
  • Security
    • App Security
    • Identities & Authentication
      • Single Sign-on (SSO)
    • Private Spaces
      • Infrastructure Networking
    • Compliance
  • Heroku Enterprise
    • Enterprise Accounts
    • Enterprise Teams
  • Patterns & Best Practices
  • Extending Heroku
    • Platform API
    • App Webhooks
    • Heroku Labs
    • Building Add-ons
      • Add-on Development Tasks
      • Add-on APIs
      • Add-on Guidelines & Requirements
    • Building CLI Plugins
    • Developing Buildpacks
    • Dev Center
  • Accounts & Billing
  • Troubleshooting & Support
  • Integrating with Salesforce
    • Heroku AppLink
      • Working with Heroku AppLink
      • Heroku AppLink Reference
      • Getting Started with Heroku AppLink
    • Heroku Connect (Salesforce sync)
      • Heroku Connect Administration
      • Heroku Connect Reference
      • Heroku Connect Troubleshooting
    • Other Salesforce Integrations
  • Databases & Data Management
  • Heroku Postgres
  • Heroku Postgres Advanced (Limited GA)
  • Usage and Billing on Heroku Postgres Advanced (Limited GA)

Usage and Billing on Heroku Postgres Advanced (Limited GA)

Table of Contents [expand]

  • View Usage
  • Compute Billing
  • Storage Billing
  • Additional Reading

Last updated May 18, 2026

Heroku Postgres Advanced is in limited general availability. To start creating and using Advanced databases, open a ticket with Heroku Support to request access. Subscribe to our changelog to stay informed of when Heroku Postgres Advanced is generally available.

Heroku Postgres Advanced uses different methods of calculating billing depending on the usage. This article explains how billing is calculated for compute usage and storage usage for Advanced databases.

This article covers usage and billing on Postgres Advanced databases. For usage and billing information on non-Advanced-tier databases, see Usage & Billing.

View Usage

Heroku Enterprise customers can export CSVs to view Heroku Postgres Advanced database usage. In the Downloadable Usage section of the Heroku Enterprise Usage dashboard, select a given month from the dropdown menu and click Download as CSV. In the CSV, Advanced database usage is included in the Data Add-on Usage field.

Compute Billing

Heroku Postgres Advanced databases calculate the compute usage from wall-clock time. A compute instance accrues usage as long as it’s enabled in a database cluster. Heroku prorates all costs to the second, calculated based on when you created or destroyed the compute instance.

Compute usage on Heroku Postgres Advanced databases are billed by the compute-month. For example:

  • A 32G-Performance instance is $900 per compute-month. Using one instance for 15 out of 30 days, your compute usage is billed as 0.5 compute-months and a cost of $450 (0.5 compute-months * $900).

Storage Billing

Storage on Heroku Postgres Advanced databases is billed by the gigabyte-month (GB-month). A GB-month measures the amount of storage your database used in a 30-day month. For example:

  • Your database usage is at 90 GB throughout all 30 days of the month. Your storage usage is billed as 90 GB-month (90 GB * (30/30).
  • Your database uses 90 GB for 20 out of 30 days. Your storage usage is billed as 60 GB-month (90 GB * (20/30).

There are three components that calculate the storage cost on a Heroku Postgres Advanced database:

(Average Storage Used - Average Storage Included) * Storage Rate
  • Average Storage Used: The amount of storage used in the month divided by the days the database was used for the month.
  • Average Storage Included: The amount of storage included divided by the days the database was used for the month. All Advanced databases include up to 100 GB of storage.
  • Storage Rate: The cost for storage usage exceeding the included amount is $0.20 per GB-month.

In your invoice, there are two entries for Optimized Storage that calculate the total storage used and cost. The first Optimized Storage line is the average storage included amount, and the second Optimized Storage line is the average storage used amount. If your average storage used amount is less than the average storage included amount, there’s no cost for database storage for that month.

Here are some examples:

Database 1 Database 2 Database 3
Storage Used Day 1-7: 200 GB
Day 8-30: 50 GB

Average storage used: 85 GB-month

((200 GB * 7 days)+(50 GB * 23 days))/30 days
Day 1-7: 200 GB
Day 8-22: 50 GB
Day 23-30: 200 GB

Average storage used: 125 GB-month

((200 GB * 7 days)+(50 GB * 15 days)+(200 GB * 8 days))/30 days
Day 1-7: not provisioned
Day 8-30: 120 GB

Average storage used: 92 GB-month

((120 GB * 23 days))/30 days
Storage Included Days used: 30
Included storage: 100 GB

Average storage included: 100 GB-month

100 GB * (30 days/30 days)
Days used: 30
Included Storage: 100 GB

Average storage included: 100 GB-month

100 GB * (30 days/30 days)
Days used: 23
Included Storage: 100 GB

Average storage included: 76.67 GB-month

100 * (23 days/30 days)
Total Storage Cost No additional costs

Average storage used (85 GB-month) < Average storage included (100 GB-month)
Additional cost: $5.00

(125 - 100) * $0.20
Additional cost: $3.07

(92 - 76.67) * $0.20
Total Compute Cost 32G-Performance: $900 per compute-month

Days used: 30

Compute Cost: $900

900 * (30 / 30)
16G-Performance: $500 per compute-month

Days used: 30

Compute Cost: $500

500 * (30 / 30)
32G-Performance: $900 per compute-month

Days used: 23

Compute Cost: $690

900 * (23 / 30)
Total Storage and Compute Cost $900 $505 $693.74

Additional Reading

  • Heroku Postgres Advanced category
  • Heroku Postgres Advanced Quotas

Feedback

Log in to submit feedback.

Information & Support

  • Getting Started
  • Documentation
  • Changelog
  • Compliance Center
  • Training & Education
  • Blog
  • Support Channels
  • Status

Language Reference

  • Node.js
  • Ruby
  • Java
  • PHP
  • Python
  • Go
  • Scala
  • Clojure
  • .NET

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing
  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Github
  • LinkedIn
  • © 2026 Salesforce, Inc. All rights reserved. Various trademarks held by their respective owners. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States
  • heroku.com
  • Legal
  • Terms of Service
  • Privacy Information
  • Responsible Disclosure
  • Trust
  • Contact
  • Cookie Preferences
  • Your Privacy Choices