---
title: Cost Summary Widget
description: >-
  Visualize your cloud spending with a compact overview of total costs,
  time-based comparisons, and spend context.
breadcrumbs: Docs > Dashboards > Widgets > Cost Summary Widget
---

# Cost Summary Widget

The Cost Summary widget provides a compact, high-level overview of your cloud spend over a selected time range. It combines total cost, time-based comparison, and spend context into a single widget.

Use the Cost Summary widget to surface key cost signals on dashboards without relying on multiple individual cost widgets.

{% image
   source="https://docs.dd-static.net/images/dashboards/widgets/cost_summary/cost_summary_widget.0c0598b3c3c721386cecbec52bc97c34.png?auto=format"
   alt="Cost Summary widget in a dashboard." /%}

## Setup{% #setup %}

### Configuration{% #configuration %}

1. Select the provider (for example, AWS, Azure, Datadog) you'd like to show costs from.
1. Click **+ And** or **+ Or cost where** buttons to add logical operators to your query.
1. Click the **+ Group By** button to group by the available cloud cost tags.
1. Choose the dynamic time frame and time aggregation to use (Daily, Weekly, Monthly).
1. Toggle the global time frame on or off.

### Options{% #options %}

#### Display{% #display %}

Customize the way your costs are visualized by modifying the display setting. You can change the graph type from the default Bar Chart to any of the following:

- Line Chart
- Cumulative Area Chart
- [Pie Chart](https://docs.datadoghq.com/dashboards/widgets/pie_chart/)
- [Treemap](https://docs.datadoghq.com/dashboards/widgets/treemap/)

#### Show complete days only{% #show-complete-days-only %}

This feature automatically excludes days with incomplete cost data. This helps you base your historical analysis on complete, finalized data.

#### Cost type{% #cost-type %}

Cost types determine how charges are calculated and presented in your widget. Learn more about the [different cost types](https://docs.datadoghq.com/cloud_cost_management/setup/aws/?tab=cloudformation#cost-types) available.

**Note**: This option is available depending on the provider you choose. Cost Types are not applicable to all CCM providers.

#### Enable container allocation{% #enable-container-allocation %}

This feature breaks down the costs of your cloud clusters to individual services and workloads running in those clusters so that shared infrastructure costs can be attributed to specific services and workloads. Learn more about [Container Cost Allocation](https://docs.datadoghq.com/cloud_cost_management/allocation/container_cost_allocation).

#### Show usage charges only{% #show-usage-charges-only %}

This feature excludes fees, taxes, refunds, and credits from your cloud costs.

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

- [Cloud Cost Management](https://docs.datadoghq.com/cloud_cost_management/)
- [Graphing with JSON](https://docs.datadoghq.com/dashboards/guide/graphing_json/)
