Guides / Decimal, American and fractional odds

Decimal, American and fractional odds

By the dino.markets team · Updated 25 Nov 2026

The same price can be written three ways. This guide converts one real market: the Packers at the Rams, DraftKings, read 25 Nov 2026 at 03:33 UTC.

curl "https://api.dino.markets/v2/odds?league=nfl&markets=moneyline&books=draftkings&limit=1" -H "Authorization: Bearer $DINO_API_KEY"

The book in that answer:

200 OK
{
  "key": "draftkings",
  "name": "DraftKings",
  "markets": [{ "key": "moneyline", "period": "game", "line": null, "main": true, "updated_at": "2026-11-25T03:22:14Z", "outcomes": [
    { "name": "Los Angeles Rams", "participant_id": "p_jxucgly", "side": "home", "price": "1.746", "american": "-134" },
    { "name": "Green Bay Packers", "participant_id": "p_w5fnawc", "side": "away", "price": "2.140", "american": "+114" }
  ] }]
}
Team Decimal American Fractional
Rams 1.746 -134 373/500, about 3/4
Packers 2.140 +114 57/50, about 8/7

Read the decimal price

Decimal odds are what a winning stake of 1 returns, stake included. A stake of 100 on the Packers at 2.140 returns 214, a profit of 114. The same stake on the Rams at 1.746 returns 174.60.

Turn decimal into American

At 2.000 or above, take (decimal - 1) x 100. For the Packers, 1.140 x 100 gives +114.

Below 2.000, take -100 / (decimal - 1). For the Rams, -100 / 0.746 is -134.05, written -134.

Turn American into decimal

For a plus price, take 1 + price / 100: +114 gives 2.14. For a minus price, take 1 + 100 / price without the sign: -134 gives 1 + 100 / 134, or 1.746.

Work with fractional odds

A fraction is the profit for each unit staked, so it is the decimal price minus 1. The Packers at 2.140 are 1.14, or 57/50. The Rams are 0.746, or 373/500. To go back, take 1 + the fraction.

Shorter fractions are easier to read and slightly off: 8/7 is 2.143 and 3/4 is 1.750.

Convert in Python

from decimal import Decimal, ROUND_HALF_UP
from fractions import Fraction

def from_american(american):
    a = int(american)
    return 1 + (a / 100 if a > 0 else 100 / -a)

def to_american(price):
    profit = Decimal(price) - 1  # Decimal keeps halves exact
    value = profit * 100 if profit >= 1 else -100 / profit
    return f"{int(value.quantize(Decimal('1'), ROUND_HALF_UP)):+d}"

def to_fraction(price):
    exact = Fraction(price) - 1
    short = exact.limit_denominator(20)
    return f"{exact.numerator}/{exact.denominator}", f"{short.numerator}/{short.denominator}"

for price, american in [("1.746", "-134"), ("2.140", "+114")]:
    exact, short = to_fraction(price)
    print(f"{price}  American {to_american(price)}  fraction {exact}, about {short}")
    print(f"{american}  decimal {from_american(american):.3f}")
Output
1.746  American -134  fraction 373/500, about 3/4
-134  decimal 1.746
2.140  American +114  fraction 57/50, about 8/7
+114  decimal 2.140

Pass the API’s price text to these functions as it is. Turning it into a float first can round a half the wrong way: 4.545 is +355.

Questions

Which formats does the API return?

Decimal as price and American as american, both as text. Fractional is not in the answer.

Is -100 the same as +100?

Yes. Both are decimal 2.000, and the API writes it as +100.

Why does converting back not give exactly the same number?

American odds are whole numbers, so some detail is lost. -134 converts to 1.7463 and the price was 1.746.

Can american be empty?

Yes. It is null when the decimal price is 1.000 or less.