What is a parlay?

A parlay combines several bets into one that wins only if every leg wins. How parlay odds and payouts are calculated, and why correlated legs matter.

A single bet combining multiple selections, all of which must win.

Parlay odds multiply each leg’s decimal odds. The book’s margin compounds too, which is why parlays carry high effective holds unless legs are correlated.

A parlay ties several selections together into one combined price, and the combination only settles as a winner if every leg does. The arithmetic behind that combined price is short, but it has consequences that are easy to get wrong in code: margins compound, rounding errors multiply, and legs from the same game are not independent. PreciseAPI does not sell, offer or price parlays. It returns the per-leg prices that parlay math is built from, and this guide shows how that math works and how a developer builds a parlay calculator or display from those prices, purely as a data and probability exercise.

Why parlay math matters for developers

Parlays show up in a lot of software that never accepts a wager: calculators on media sites, educational tools that explain probability, and analytics dashboards that compare a book's combined price with what the individual legs imply. All of them need the same three things:

How parlay odds are calculated

The rule is simple: convert each leg to decimal odds and multiply them. The product is the decimal price of the combination, and its reciprocal is the implied probability.

Take three legs:

LegAmericanDecimalImplied probability
1-1101.90909152.38%
2+1502.50000040.00%
3-2001.50000066.67%

The same answer comes from multiplying the implied probabilities directly: 0.5238 × 0.4000 × 0.6667 = 0.1397. Both routes are equivalent, and both assume the legs are independent.

Why you never multiply American odds

American odds are not ratios. -110 and +150 cannot be multiplied, added or averaged in any meaningful way. Convert to decimal first (1 + 100 / -a for negative prices, 1 + a / 100 for positive ones), do all the math in decimal, and convert back only for display.

How the margin compounds

Suppose each leg is a two-way market priced -110 on both sides, so the margin-free probability of each side is 50% and the fair decimal price is 2.00.

The per-leg margin did not change, but it was applied three times. This is why a combined price carries a much larger effective hold than any single leg, and why a calculator that shows only the parlay payout hides the most important number. Showing the margin-free combined probability next to the quoted one makes the effect visible. The no-vig fair odds guide explains how to strip the margin from each leg first.

Pushes and voids

If one leg pushes or is voided, many books remove it and settle the remainder at the reduced number of legs. In a calculator, that is the same as setting that leg's decimal price to 1.00. House rules vary, so label this behavior rather than assuming it.

Correlation and same-game parlays

Multiplication is only valid for independent events. Legs from the same game often are not:

A worked example shows the size of the error. Take two legs, each with a 50% fair probability:

So multiplying the legs of a positively correlated combination overstates the fair payout. That is why books price same-game parlays with their own correlation models and why their quoted same-game price is not simply the product of the legs. An odds feed of individual markets cannot reproduce those quotes, and a responsible calculator should say so rather than present a multiplied number as a same-game price. Some combinations, such as both sides of one market, are mutually exclusive and should be rejected outright.

How parlay legs appear in odds data

There is no parlay market key in PreciseAPI. A calculator assembles legs from ordinary markets:

Every outcome has an id that is shared by every source quoting the same outcome at the same point, which makes it a convenient key for a leg. If a book moves a spread or total to a new number, the outcome id changes with it, so a leg saved earlier may need to be looked up again. Every market has updated_at and suspended, which a calculator should check before using a price.

How the PreciseAPI API helps

Fetch the legs' markets from one source in one call with /v1/odds, using event_ids= to target specific games:

curl "https://api.preciseapi.com/v1/odds?event_ids=evt_0uuc6p2dsqa,evt_1iazqk4srnb&markets=moneyline,spread,total&periods=full_game&books=draftkings" \
  -H "Authorization: Bearer $PRECISEAPI_KEY"

The calculator below takes legs as outcome ids, pulls American prices, converts them to decimal at full precision, multiplies, and flags legs that share an event:

const API = 'https://api.preciseapi.com/v1/odds';
const toDecimal = (a) => (a > 0 ? 1 + a / 100 : 1 + 100 / -a);
const toAmerican = (d) => (d >= 2 ? `+${Math.round((d - 1) * 100)}` : `${-Math.round(100 / (d - 1))}`);

async function combine(book, legs) {
  // legs: [{ event_id, outcome_id }]
  const ids = [...new Set(legs.map((l) => l.event_id))];
  const qs = new URLSearchParams({ event_ids: ids.join(','), books: book, markets: 'moneyline,spread,total' });
  const { data } = await (await fetch(`${API}?${qs}`, {
    headers: { Authorization: `Bearer ${process.env.PRECISEAPI_KEY}` },
  })).json();

  const priced = legs.map((leg) => {
    const event = data.find((e) => e.id === leg.event_id);
    const markets = event?.bookmakers.find((b) => b.id === book)?.markets ?? [];
    for (const m of markets) {
      const o = m.outcomes.find((x) => x.id === leg.outcome_id);
      if (o) return { ...leg, market: m.key, name: o.name, point: o.point, american: o.price, decimal: toDecimal(o.price) };
    }
    throw new Error(`Leg ${leg.outcome_id} is not currently offered by ${book}`);
  });

  const decimal = priced.reduce((p, l) => p * l.decimal, 1);
  const sameEvent = ids.length < legs.length;
  return {
    legs: priced,
    decimal: Number(decimal.toFixed(4)),
    american: toAmerican(decimal),
    implied: `${(100 / decimal).toFixed(2)}%`,
    warning: sameEvent ? 'Two or more legs share an event; multiplying assumes independence and does not reproduce a same-game price.' : null,
  };
}

Practical notes for this kind of build:

A /v1/odds call costs 2 credits regardless of how many legs you price from it, so batch legs by source. See credits and pricing.

Common mistakes in code

Parlay math rests on decimal odds and implied probability, and its compounding margin is measured with vig and hold. Legs come from the moneyline, point spread, total and player props. For background, read the odds formats explainer and sportsbook hold comparison.

Frequently asked questions

How are parlay odds calculated?

Convert each leg to decimal odds and multiply them. Three legs at -110, +150 and -200 are 1.909091 × 2.5 × 1.5 = 7.159091 in decimal, which is about +616 in American odds and an implied probability of 13.97%.

Does PreciseAPI provide parlay prices?

No. PreciseAPI is a data API and does not sell, offer or price parlays or same-game parlays. It returns current prices for individual markets, which developers can combine in their own calculators and displays.

Why can't same-game parlays just be multiplied?

Multiplication assumes the legs are independent. Legs from the same game are often correlated, so the true joint probability differs from the product of the individual probabilities. Books price same-game combinations with their own correlation models.

Why is the margin on a parlay larger than on a single leg?

Each leg carries its own margin and the combination multiplies them. Three legs that each carry 4.55% of margin at -110 combine to an effective margin of about 13%.

How should a parlay calculator handle a push?

Set the pushed leg's decimal price to 1.00, which removes it from the product. Many books settle the remaining legs that way, but house rules vary, so label the assumption.

Related reading