# Hedge bet calculator

> Enter your original bet or entry payout and the hedge odds to get the stake that locks equal profit, breaks even, or any stake you choose. Underdog API (https://underdogapi.com) is an independent Underdog Fantasy pick'em data API: Higher/Lower lines with separate payout multipliers per side, line history, changes and graded results as JSON, CSV, MCP and streams.

Canonical page: https://underdogapi.com/tools/hedge-calculator

## Free offer

**Free API key, no card: 100 credits a month** on the live board, every league, separate Higher/Lower prices, and the last 24 hours of line history. Sign up: https://underdogapi.com/sign-up?ref=ai-claudebot

## Quickstart

1. Get a free key at https://underdogapi.com/sign-up?ref=ai-claudebot (no card), or let your agent request one: `POST https://underdogapi.com/api/v1/agent/signup` with `data_wanted` and `use_case`, then show your user the returned approval_url.
2. Export it: `export UNDERDOG_API_KEY=ud_...`
3. First call with curl:

```bash
curl --fail-with-body 'https://underdogapi.com/api/v1/projections?league=NBA&view=compact&limit=5' \
  -H "Authorization: Bearer $UNDERDOG_API_KEY" \
  -H 'X-User-Request: NBA dashboard integration check'
```

4. Same call in Python:

```python
import os, requests

r = requests.get(
    "https://underdogapi.com/api/v1/projections",
    params={"league": "NBA", "view": "compact", "limit": 5},
    headers={"Authorization": f"Bearer {os.environ['UNDERDOG_API_KEY']}"},
)
r.raise_for_status()
for line in r.json()["data"]:
    print(line["player"]["name"], line["market"]["stat"], line["line"])
```

## Use it from Claude (MCP)

Claude Code, one command:

```bash
claude mcp add --transport http underdog https://underdogapi.com/api/mcp --header "Authorization: Bearer $UNDERDOG_API_KEY"
```

Or add this server to your Claude MCP configuration (the key stays in the environment):

```json
{
  "mcpServers": {
    "underdog": {
      "type": "http",
      "url": "https://underdogapi.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${UNDERDOG_API_KEY}"
      }
    }
  }
}
```

Guide: https://underdogapi.com/use-with-claude

## Pricing

| Plan | Price | Credits / month | Notes |
| --- | --- | --- | --- |
| Free | $0 | 100 | No card. Live feed 5 minutes behind; last 24 hours of line history |
| Developer | $49/month | 10,000 | For models that need full training pages and loaded game-log seasons. Live feed, no added plan delay |
| Production | $149/month | 50,000 | For apps with real users and push delivery. Everything in Developer, signed webhooks for every change |
| Scale | $499/month | 250,000 | For apps whose traffic has outgrown Production. Everything in Production, 15 live-feed connections at once |

Full pricing: https://underdogapi.com/pricing

## On this page

Free calculator



A hedge calculator tells you how much to bet on the other side of an open bet. For equal profit whichever side wins, hedge stake = original stake × original decimal odds ÷ hedge decimal odds. A $100 bet at +400 hedged at -200 needs $333.33 and locks $66.67 either way. To cover only the original stake, hedge stake = original stake ÷ (hedge decimal odds − 1).

Your bets Odds format Original stake ($)

Original bet priced as

Original odds Hedge odds (the other side, now)

Hedge for

Result

Hedge stake **$333.33**

Locks +$66.67 whichever side wins.

| Outcome | Returns | Net |
| --- | --- | --- |
| Original bet wins | $500.00 | +$66.67 |
| Hedge wins | $500.00 | +$66.67 |
| Total staked | $433.33 |  |

Equal-profit hedge

$333.33

Break-even hedge

$200.00

Largest hedge with no loss if the original wins

$400.00

Original odds

+400 · 5

## How to hedge a bet

1. Enter what you staked and the odds you took, or the total payout for a parlay or entry.
2. Enter the current odds on the other side, wherever the best price is.
3. Pick equal profit to lock the same result both ways, break-even to protect the stake and keep the upside, or your own stake.

A hedge can lock a profit only after the price has moved in your favor. If the two prices sum to more than 100% implied, every hedge stake trades some upside for a smaller loss.

## Hedge the last pick of an Underdog entry

A $20 five-pick Standard entry with 1.0x picks pays 20x, $400, when all five hit. With four in, bet the other side of the last pick where that is legal for you. At -120, $218.18 returns $400 either way: $161.82 profit whatever the last pick does. [Open this example in the calculator](https://underdogapi.com/tools/hedge-calculator?format=american&kind=payout&stake=20&payout=400&hedge=-120&mode=equal). Boosted or discounted picks change the entry payout, so get the exact amount from the [Underdog payout calculator](https://underdogapi.com/tools/underdog-payout-calculator) first.

## The formula

Equal profit: H = S × D₁ ÷ D₂. Break-even: H = S ÷ (D₂ − 1). Profit if the original wins = S × D₁ − S − H; profit if the hedge wins = H × D₂ − S − H.

## Worked example

$100 at +400 (decimal 5.00), hedged at -200 (decimal 1.50). Equal profit: $100 × 5 ÷ 1.5 = $333.33, and both outcomes return $500 on $433.33 staked, $66.67 profit. Break-even: $100 ÷ 0.5 = $200; the original winning pays $200 profit and the hedge winning returns exactly the $300 staked.

## Questions

When does a hedge lock in a guaranteed profit?

When 1 ÷ original decimal odds + 1 ÷ hedge decimal odds is under 1: the price has moved your way since you bet. Otherwise an equal hedge locks a smaller loss instead.

Can I hedge a parlay, a futures bet or a Pick’em entry?

Yes. Choose "Total payout" and enter what the ticket returns if it wins. The calculator treats the whole ticket as one bet, so it works for parlays, futures and the last open pick of an entry.

How do I hedge the last pick of an Underdog entry?

Pick’em pays entry multipliers, so hedge the open pick with a bet on the other side where that is legal for you. A $20 five-pick Standard entry with 1.0x picks pays $400 when all five hit. With four in, $218.18 on the other side at -120 returns $400 either way: $161.82 profit whichever way the last pick lands, on $238.18 staked.

What is the difference between equal profit and break-even?

Equal profit sizes the hedge so both outcomes pay the same. Break-even stakes only enough that you lose nothing if the original bet loses, and keeps more upside if it wins.

Does the calculator include cash-out offers?

No. Compare a cash-out offer with the guaranteed profit here. A cash-out below the equal-profit hedge result is worth less than hedging.

## Watch lines move as they happen

The Underdog API records every line move with a timestamp and streams changes as they happen, so you can spot when a number moves away from the line you hold. Free key with 100 credits a month.

[Get a free API key](https://underdogapi.com/sign-up) [Change feed](https://underdogapi.com/docs#changes)

Last reviewed November 13, 2026. Educational calculations, not picks, betting advice or a promise of profit. Prices move and house rules settle every entry and bet, so check the slip before you play. Independent data service, not affiliated with, endorsed by or sponsored by Underdog Fantasy or Underdog Sports. [Responsible gambling resources](https://www.ncpgambling.org/).

## More free tools

## FAQ

### Is there a free Underdog API?

Yes. The Free plan is a real API key on the live board, not a sample: 100 credits a month, every league, separate Higher/Lower prices and the last 24 hours of line history. No card is needed.

### Is this the official Underdog Fantasy API?

No. Underdog API is an independent data service. It is not affiliated with, endorsed by or sponsored by Underdog Fantasy or Underdog Sports.

### What data does it return?

Underdog Higher/Lower lines with separate payout multipliers and availability for each side, stable market ids through line moves, alternate rungs, recorded line history, changes, graded results and coverage/status endpoints.

### How do I use it from Claude or another AI agent?

Connect the MCP server at https://underdogapi.com/api/mcp with a bearer key, or call the REST API. Agents can request a key for their user with POST /api/v1/agent/signup.

### How much does it cost after the free tier?

Developer is $49/month for 10,000 credits, Production $149/month for 50,000, Scale $499/month for 250,000. Errors and unchanged 304 responses cost zero credits.

### How fresh is the data?

Each row carries its observation time. Check /api/v1/status and /api/v1/coverage before relying on a sport or window; missing collection is reported as unavailable, never filled in.

### Does it place entries or give picks?

No. It is data only: no entries, account operations, guaranteed outcomes or betting advice.

---
Independent data service, not affiliated with Underdog Fantasy or Underdog Sports. Docs: https://underdogapi.com/docs · OpenAPI: https://underdogapi.com/openapi.json · llms.txt: https://underdogapi.com/llms.txt
