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:
- Correct combination of prices. Multiplying the wrong representation, such as American odds, produces nonsense.
- An honest view of the margin. Each leg carries some margin, and combining legs combines the margins.
- Awareness of correlation. Multiplying legs assumes they are independent, which is not true for legs from the same game.
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:
| Leg | American | Decimal | Implied probability |
|---|---|---|---|
| 1 | -110 | 1.909091 | 52.38% |
| 2 | +150 | 2.500000 | 40.00% |
| 3 | -200 | 1.500000 | 66.67% |
- Combined decimal: 1.909091 × 2.5 × 1.5 = 7.159091
- Combined American: (7.159091 - 1) × 100 = +616
- Combined implied probability: 1 / 7.159091 = 13.97%
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.
- One leg: priced at 1.909091 against a fair 2.00. The ratio is 0.9545, a margin of 4.55%.
- Three legs: priced at 1.909091³ = 6.957926 (about +596) against a fair 2.00³ = 8.00 (+700). The ratio is 0.9545³ = 0.8697, a margin of 13.03%.
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 favorite covering the spread and the same team winning on the moneyline are strongly linked.
- A quarterback going over his passing yards and his top receiver going over his receiving yards tend to happen together.
- A team scoring heavily and the game total going over move together.
A worked example shows the size of the error. Take two legs, each with a 50% fair probability:
- If they are independent, the joint probability is 0.50 × 0.50 = 25%, a fair decimal price of 4.00.
- If knowing leg A happened raises leg B to 60%, the joint probability is 0.50 × 0.60 = 30%, a fair decimal price of 3.33.
- If it lowers leg B to 40%, the joint probability is 20%, a fair decimal price of 5.00.
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:
- Moneyline legs are identified by
side(home,awayordraw). - Spread legs also carry a
point; the marketlineis the home team's handicap. - Total legs are
overorunderat apoint, and team totals add ateamobject. - Player prop legs carry a
playerobject, and DFS lines carry avariantofstandard,goblinordemon.
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:
- Use one source per combination. A combined price only exists at one book. Multiplying the best price for each leg from different sources, for example from
/v1/best-lines, produces a number that no single source offers. It can be shown as a theoretical comparison, but it should be labelled that way. - Prefer American inputs for long combinations.
format=decimalreturns prices rounded to three places, so -110 arrives as 1.909. Across three legs that is the difference between 6.957 and 6.958; across ten legs the error grows. Converting from American keeps full precision. - Show the margin. Pull a sharp reference source alongside, de-margin each leg, and display the fair combined probability next to the quoted one.
- Refresh before display. Prices move. Re-fetch, or subscribe over the WebSocket stream, and drop legs whose market is
suspended.
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
- Multiplying American odds or rounded decimals. Convert to full-precision decimal first.
- Treating same-game legs as independent. Flag them, and never label a multiplied number as a same-game price.
- Combining prices from different sources. No single source offers that number.
- Ignoring pushes. Model a pushed leg as decimal 1.00.
- Using stale prices. Check
updated_atandsuspendedon every leg.
Related terms and guides
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
- Parlay Odds API Math: Combining Leg Prices (Correlation and Code): Combine per-leg prices from an odds API into a combined price display. Decimal multiplication, implied probability, compounding margin, and why same-game legs cannot simply be multiplied.