

# Analyzing your margins
<a name="analyzing-abc"></a>

You can use the margin summary and margin details in Amazon Billing Conductor to analyze your margins both in aggregate and with specific billing groups.

Use the following steps to view your margins for an individual billing group or a set of billing groups.

**Contents**
+ [View your aggregate margins with margin summary](view-margin-summary.md)
  + [Viewing your billing group margins summary](view-margin-summary.md#understand-margin-analysis-table-view)
  + [Understanding your margin analysis table](view-margin-summary.md#understand-margin-analysis-table)
+ [View your margins by Amazon Web Services service using margin details](view-margins-by-service-margin-details.md)
  + [Viewing your billing group margins by service](view-margins-by-service-margin-details.md#understanding-margin-trend-chart-view)
  + [Understanding your margin trend chart](view-margins-by-service-margin-details.md#understanding-margin-trend-chart)
  + [Understanding your margin analysis table](view-margins-by-service-margin-details.md#understanding-margin-analysis-table)

# View your aggregate margins with margin summary
<a name="view-margin-summary"></a>

## Viewing your billing group margins summary
<a name="understand-margin-analysis-table-view"></a>

**To view your billing group margins summary**

1. Open Amazon Billing Conductor at [https://console.amazonaws.cn/billingconductor/](https://console.amazonaws.cn/billingconductor/).

1. In the navigation pane, under **Analytics**, choose **Margin summary**.

1. For **Report type**, choose **All billing groups** or **Select billing group**.

1. If you chose **Select billing groups**, choose a **Billing period** and one or more billing groups.

1. In the **Month-to-date overview** section, you can view your **Charged amount**, **Amazon costs**, and **Margin**.

1. You can view your margin analysis in two ways:
   + As a bar chart in the **Performance (up to last 13 months)** section.
   + As a table in the **Margin analysis** table.

   Negative margins are shown in red in the graph, with a negative dollar amount and negative percentage.

## Understanding your margin analysis table
<a name="understand-margin-analysis-table"></a>

The billing group margin analysis table is sorted in reverse chronological order by default. You can sort the table by all of the columns, which include the following:
+ Month
+ Charged amount
+ Amazon costs
+ Margin amount
+ Margin percentage

The graph and table returns values for the last 13 months of the billing groups selected. If the billing groups were created at different times, we assume the time range of the oldest selected billing group.

You can export your margin analysis table to a downloadable CSV file. Next to your margin analysis table, choose **Download CSV**. Your download will start automatically.

**Note**  
To download a CSV file with your billing group margin analysis, you must have the `billingconductor:ListBillingGroupCostReport` permission added to your IAM policy.

# View your margins by Amazon Web Services service using margin details
<a name="view-margins-by-service-margin-details"></a>

## Viewing your billing group margins by service
<a name="understanding-margin-trend-chart-view"></a>

**To view your billing group margins by service**

1. Open Amazon Billing Conductor at [https://console.amazonaws.cn/billingconductor/](https://console.amazonaws.cn/billingconductor/).

1. In the navigation pane, , under **Analytics**, choose **Margin details**.

1. Under **Report parameters**, choose a **Billing period** and a **Billing group**.

1. You can view your margin analysis in two ways:
   + As a line chart in the **Margin trend by top 5 services** section.
   + As a table in the **Margin analysis** table.

## Understanding your margin trend chart
<a name="understanding-margin-trend-chart"></a>

Your margin details will display a line chart that displays the top five services by margin for the chosen billing period. The line chart will display the margins for each service over the last three months for comparison.

The chart will also include a table that displays the margins for each service for the chosen billing period. The table displays the average margin calculated over the last three months, which includes the following columns:
+ Service name
+ Average
+ Margin

If the billing group wasn't active for the entirety of the last three months, then the chart will only display the cost report data that is available.

## Understanding your margin analysis table
<a name="understanding-margin-analysis-table"></a>

The billing group margin analysis table includes the following columns:
+ Service name
+ Charged amount
+ Amazon costs
+ Margin amount
+ Margin percentage

You can export your margin analysis table to a downloadable CSV file. Next to your margin analysis table, choose **Download CSV**. Your download will start automatically.

**Note**  
To download a CSV file with your billing group margin analysis, you must have the `billingconductor:GetBillingGroupCostReport` permission added to your IAM policy.