Free tool · BigQuery on-demand
BigQuery recurring query cost calculator
Before you switch on a dashboard's refresh or a scheduled query, work out what it would cost each day and each month in BigQuery on-demand query processing — and what it would cost at a slower interval.
1. Get the bytes a query will process
BigQuery tells you before you run a query. In the console, the query validator above the results says "This query will process … when run". From the command line, bq query --dry_run prints the same estimate, and the API returns it for a job with dryRun set. Google does not charge for a dry run. Use the figure for each query the dashboard or schedule runs.
Google's documentation:Estimate and control costsand Run a query: dry run.
2. Describe the schedule
3. The estimate
What this estimate leaves out
- BigQuery on-demand query processing only, priced per TiB billed.
- The rate is the one entered here. The prefilled rate is an example, not a current price for your region or contract.
- Bytes per run is an estimate, as from the query validator or a dry run. Google documents that estimate as an upper bound: the bytes actually billed can be lower, and change as the tables grow.
- Every run is assumed to be billed in full. Cached results are not charged, and billing minimums and rounding apply to small queries, so actual spend can differ either way.
- Not included: the free tier, discounts and committed-use agreements, reservations (BigQuery editions), storage and data transfer.
- Refreshes per day are the whole intervals that fit in the active hours, rounded down.
- This is an estimate for planning, not an invoice.
Google documents the dry-run figure as an upper bound inEstimate and control costs, and that cached results are not charged inUse cached query results. Minimums, rounding and the free tier are on BigQuery pricing.
Want each run to stop if it would cost more than a budget? Set a ceiling with themaximum bytes billed calculator. On a reservation instead? Weigh a month of on-demand against slots with theon-demand vs capacity break-even worksheet.
Compare it with what you actually spend
An estimate is what a query should cost. Your project's job history says what each refresh did cost — by user, dbt model and dashboard — and which queries repeat most often.
Writing about BigQuery costs?
Put this calculator in your own article, so readers can try a refresh schedule while they read: embed this calculator. It is one iframe, with no account and no tracking.
Related guides
- Fixes for expensive BigQuery and Snowflake queries, and how to tell which appliesSeven fixes BigQuery, Snowflake and dbt document — full scans, SELECT *, LIMIT, spilling, pruning, dbt full rebuilds, repeated queries — each with SQL that finds the queries it applies to.
- Find your most expensive BigQuery queries with SQLCopy-paste SQL that lists the BigQuery queries that cost the most over the last 30 days, from INFORMATION_SCHEMA.JOBS_BY_PROJECT, with bytes billed, slot hours and estimated cost.