> For the complete documentation index, see [llms.txt](https://docs.paigo.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.paigo.tech/business-analytics/profit-margin-analytics.md).

# Profit Margin Analytics

### Understand Profit Margin Analytics

Paigo calculates profit margin metrics based on revenue and costs. The explanation of each profit margin item is listed below.

<table><thead><tr><th width="198.33333333333331">Item</th><th width="322">Explanation</th><th>Source of Data</th></tr></thead><tbody><tr><td>Gross Margin</td><td>Total Revenue - Total Cost. Reflects the net profit SaaS business retains.</td><td>Various Payment Channels, Cloud Billing Data</td></tr><tr><td>Contribution Margin</td><td>Total Revenue - Variable Cost. Reflects marginal profit.</td><td>Paigo Calculated Costs, Various Payment Channels, Cloud Billing Data</td></tr><tr><td>Contribution Margin by Customer</td><td>Revenue from a customer - Variable Cost attributed to a customer. Reflects the profitability on particular customers or contracts.</td><td>Paigo Calculated Costs, Various Payment Channels, Cloud Billing Data</td></tr><tr><td>Contribution Margin by Offering<br>(Coming Soon)</td><td>Revenue from a product offering - Variable Cost attributed to a product offering. Reflects the profitability of product lines or packages.</td><td>Paigo Calculated Costs, Various Payment Channels, Cloud Billing Data</td></tr></tbody></table>

The costs used in profit margin analytics are those defined in [#understand-usage-based-cost](#understand-usage-based-cost "mention").


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paigo.tech/business-analytics/profit-margin-analytics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
