---
title: Cost Explorer
description: >-
  Query and analyze cloud costs in real time with flexible filters and
  visualizations.
breadcrumbs: Docs > Cloud Cost Management > Cost Reports > Cost Explorer
---

# Cost Explorer

## Overview{% #overview %}

The [Cloud Cost Explorer](https://app.datadoghq.com/cost/analyze/explorer) provides an interactive, query-based interface for analyzing your cloud spending across [AWS](https://docs.datadoghq.com/cloud_cost_management/aws/), [Azure](https://docs.datadoghq.com/cloud_cost_management/azure/), [Google Cloud](https://docs.datadoghq.com/cloud_cost_management/google_cloud/), [Oracle](https://docs.datadoghq.com/cloud_cost_management/oracle/), [SaaS providers](https://docs.datadoghq.com/cloud_cost_management/saas_costs/), and [Datadog costs](https://docs.datadoghq.com/cloud_cost_management/datadog_costs/). Unlike saved reports, the Explorer lets you perform ad-hoc analysis with flexible queries, filters, and visualizations to investigate cost trends, identify anomalies, and answer specific questions about your cloud spend.

Use the Cost Explorer to:

- Build custom queries across multiple providers using tags, services, and filters
- Investigate cost changes over time with flexible groupings and breakdowns
- Download data, create dashboard widgets, or set up cost monitors

## Query your cost data{% #query-your-cost-data %}

1. Navigate to [**Cloud Cost > Analyze > Explorer**](https://app.datadoghq.com/cost/analyze/explorer) in Datadog.

1. Build a search query using the query editor or dropdown filters:

   - Use the **Provider** dropdown to select one or more cloud providers
   - Click **+ Filter** to add filters for services, tags, regions, teams, and other attributes
   - Type directly in the search bar for more advanced queries

   {% image
      source="https://datadog-docs.imgix.net/images/cloud_cost/reporting/reporting-overview-1.4b1d07d9aa75243178be50c98416095f.png?auto=format"
      alt="The Cloud Cost Explorer query builder showing provider selection, cost type filters, tag search, service filters, and group by options" /%}

1. Group your cost data by clicking **Group by** and selecting dimensions like:

   - Provider name
   - Service name
   - Resource tags (such as `team`, `env`, `project`)
   - Region
   - Account ID

1. Select a time range using the time picker to analyze costs over different periods (hour, day, week, month, or custom range).

**Note**: When querying costs across multiple providers, resource-level tags are not available. To access resource-specific tags, filter to a single provider in your query.

## Cost Change Summary side panel{% #cost-change-summary-side-panel %}

Click any row in the table at the bottom of the Explorer to open the **Cost Change Summary panel** for that specific provider, service, or resource. The panel highlights what and who may be driving cost changes for the current period versus the prior period.

The panel contains four general sections:

- Cost change summary
- Associated teams
- Change details
- Investigate further

{% image
   source="https://datadog-docs.imgix.net/images/cloud_cost/reporting/cost-change-sidepanel.d16054f17fda2f0e9577d6e3789e2488.png?auto=format"
   alt="The Cost Change Summary panel highlights what and who may be driving cost changes for the current period versus the prior period." /%}

At the top, you can see the **total cost** for the current period and the dollar and percent cost change versus the prior period (**what happened**).

### Investigate the change{% #investigate-the-change %}

Use the **Change Details** and **Investigate Further** sections to:

- **Instantly identify cost anomalies**: Unexpected deviations in cost, calculated against historical data, are automatically highlighted in red, allowing you to focus your investigation on critical trends.

- **Analyze Change Drivers**: Easily determine the cause of a cost change—whether it was driven by a change in **usage** (the count of resources) or a change in **unit price** (the cost per resource). For example, in the screenshot below, the change in spend is driven by a shift in unit price rather than usage—the resource count stays flat while cost per resource rises and falls, causing the overall cost change.

{% image
   source="https://datadog-docs.imgix.net/images/cloud_cost/reporting/cloud-cost-spend-summary.9c92a50a4d63649aeb22107982d4feea.png?auto=format"
   alt="The change in spend is driven by a shift in unit price rather than usage—the resource count stays flat while cost per resource rises and falls, causing the overall cost change" /%}

### Collaborate and monitor{% #collaborate-and-monitor %}

- **Contact the responsible team**:

  - Review the **Associated Team(s)** section to identify which teams own the resources driving the cost change (inferred from tags like `team:shopist`). Follow up with the listed teams (for example, Shopist, Platform, Cloud-Networks) to gain full context for the change.
  - Click **Send Notebook** to share the full cost investigation context directly with the team, allowing them to capture findings, add annotations, and track the investigation thread.

- **Filter by tags**:

  - Use **Associated Tags** to see all tags contributing to the cost line item.
  - Click any tag value (like `account:demo` or a specific `aws_account`) to refine your search and filter the entire Explorer to show only resources with that tag.

- **Create a monitor**:

  - Set up a Cloud Cost Monitor to be alerted the next time a similar change occurs. Learn more about [Cloud Cost Monitors](https://docs.datadoghq.com/monitors/types/cloud_cost/).

## Refine your results{% #refine-your-results %}

Click **Refine Results** to access advanced filtering options that help you focus on specific cost patterns.

{% image
   source="https://datadog-docs.imgix.net/images/cloud_cost/reporting/refine-results.8dfa81087697c8396b50f153578298a1.png?auto=format"
   alt="The Refine Results panel shows filtering options including Usage Charges Only, Complete Days Only, Total Cost, Dollar Change, and Percent Change" /%}

{% dl %}

{% dt %}
**Complete Days Only**
{% /dt %}

{% dd %}
Exclude the past two days of cost data, which may be incomplete. Use this option for accurate historical analysis.
{% /dd %}

{% dt %}
**Total Cost**
{% /dt %}

{% dd %}
Filter the data to view costs within a specific dollar range (for example, show only resources costing more than $1,000).
{% /dd %}

{% dt %}
**Dollar Change**
{% /dt %}

{% dd %}
Display only cost changes within a specified dollar change range (for example, show services with a $500+ increase).
{% /dd %}

{% dt %}
**Percent Change**
{% /dt %}

{% dd %}
Display only cost changes within a specified percentage range (for example, show resources with a 20%+ cost increase).
{% /dd %}

{% /dl %}

## Change data views{% #change-data-views %}

The Cost Explorer displays your cost data as a timeseries graph with a table breakdown. You can change how the graph displays data by selecting from the following views:

- **Costs ($)**: View total costs in dollars over time
- **Change trends (%)**: View cost changes as percentage increases or decreases
- **Change trends ($)**: View cost changes in dollar amounts

{% image
   source="https://datadog-docs.imgix.net/images/cloud_cost/reporting/change-view.7b3418236225a641e2aaec3b4596eda2.png?auto=format"
   alt="Dropdown menu showing three view options: Costs in $, Change trends in %, and Change trends in $" /%}

Switch between these views to identify whether you're tracking absolute costs or investigating cost variations.

### Table display options{% #table-display-options %}

Below the graph, the table displays costs broken down by your selected grouping (such as provider, service name, or tags). You can customize how this data is displayed.

{% image
   source="https://datadog-docs.imgix.net/images/cloud_cost/reporting/table-display-options.041f43f64706c31c9caad80f5b023050.png?auto=format"
   alt="Table display options showing Summary and Breakdown view modes, column visibility toggles, and Top changes only filter" /%}

**View modes**

- **Summary**: View aggregated costs across all time periods for a high-level overview
- **Breakdown**: See costs broken down by time period (daily, weekly, or monthly depending on your selected time range)

**Filters**

- **Top changes only**: Enable this checkbox to filter the table and show only the resources or services with the largest cost increases or decreases

**Column visibility**

Show or hide columns in the table to focus on the metrics that matter:

- **Total**: Total aggregated costs for each resource or service
- **Dollar change trends**: Cost changes in dollar amounts over time
- **Change trends**: Percentage-based cost changes over time

## Export and share{% #export-and-share %}

After analyzing costs in the Explorer, you can:

### Export to csv{% #export-to-csv %}

Download your cost data for offline analysis, reporting, or sharing with stakeholders. Click the **Export** button and select **Download as CSV**.

### Create a dashboard widget{% #create-a-dashboard-widget %}

Save your current query as a dashboard widget to monitor costs alongside other metrics:

1. Click **Export** and select **Export to Dashboard**.
1. Choose an existing dashboard or create one.
1. Customize the widget title and settings.

### Create a cost monitor{% #create-a-cost-monitor %}

Set up alerts based on your current query to get notified when costs exceed thresholds or change unexpectedly:

1. Click **Export** and select **Create Monitor**.
1. Configure alert conditions (for example, when costs exceed $10,000 or increase by 20%).
1. Set notification channels (email, Slack, PagerDuty).

Learn more about [Cloud Cost Monitors](https://docs.datadoghq.com/monitors/types/cloud_cost/).

### Share your query{% #share-your-query %}

Copy the URL from your browser to share your current cost query with team members. The URL includes all filters, groupings, and time range settings.

## Further reading{% #further-reading %}

- [Create and save cost reports](https://docs.datadoghq.com/cloud_cost_management/reporting/)
- [Query costs across multiple providers](https://docs.datadoghq.com/cloud_cost_management/tags/multisource_querying)
- [Create cost monitors](https://docs.datadoghq.com/monitors/types/cloud_cost/)
- [Learn about Cloud Cost Management](https://docs.datadoghq.com/cloud_cost_management/)
