# Margin Comparison Graph

The Margin Comparison Graph provides a visual analysis of provider market margins at the competition level. Compare margin differences across multiple providers and markets.

***

## Overview

Margin Comparison shows:

* **Margin percentages** by market type (1X2, Over/Under, Asian Handicap)
* **Provider comparison** — see how your margins compare
* **Competition-level data** — aggregated margin insights
* **Gap visualization** — quickly identify differences

***

## Margin Calculation

Margins are calculated using the **multiplicative method**:

```
Margin = (1/Odds1 + 1/Odds2 + ... + 1/OddsN) - 1
```

Future support for additional calculation methods is planned.

***

## Color Coding

The graph uses color coding to highlight gaps:

| Color     | Meaning                               |
| --------- | ------------------------------------- |
| **Green** | Your margin is higher than competitor |
| **Red**   | Competitor has a higher margin        |

***

## How to Use

1. **Select providers** — Compare your primary against up to 4 competitors
2. **Choose a sport** — Focus on a specific sport
3. **Apply filters** — Optionally filter by location or competition
4. **Hover for details** — See exact margin percentages per market

***

## Related

* [Market Uptime Graph](https://docs.lsports.eu/u/boost/trading-performance/market-uptime-graph) — Compare uptime
* [Trading Performance Overview](https://docs.lsports.eu/u/boost/trading-performance) — Main trading performance docs
