# Odds Format

## Decimal Odds

The Odds API returns odds data in **decimal format**. The payout of a bet is the decimal odd multiplied by your wager.

**Example**

Consider team A with decimal odds **1.4**, and team B with decimal odds **3.9**

If you wager $100 on team A and win, you’ll receive a payout of `100 x 1.4 = $140`

, and profit of `140 - 100 = $40`

.

If you wager $100 on team B and win, you’ll receive a payout of `100 x 3.9 = $390`

, and profit of `390 - 100 = $290`

.

## Converting Decimal Odds To American Odds

To convert decimal odds to American odds, take the **higher odd** and apply this formula:

```
A = (D - 1) x 100
```

and take the **lower odd** and apply this formula:

```
A = 100 / (1 - D)
```

where `D`

is the decimal odd and `A`

is the American odd.

**Example**

Consider team A with decimal odds **1.4**, and team B with decimal odds **3.9**

**3.9** is the higher odd, so apply the first formula:

A = (3.9 - 1) x 100 = **290**

**1.4** is the lower odd, so apply the second formula:

A = 100 / (1 - 1.4) = **-250**

## Get Started with The Odds API

Get a free API key

Check out the API docs

Check out our Python and NodeJS code samples

Check out add-ons to bring odds data into Google Sheets or Excel