{"uid":"cap_f1QuOVHjR_Q6SeZ14-env","slug":"sports-calculators-tournament-math-be99f26d","name":"Sports Calculators – Tournament Math","description":"Rounds, byes and total games for single and double elimination, round-robin and Swiss events, with standard bracket seeding.","url":"https://sports-calc.x402tookit.com/tournament-math?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["teams"],"properties":{"teams":{"type":"integer","description":"Number of teams or players, 2 to 4096"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"swiss":{"type":["null","object"],"properties":{"suggestedRounds":{"type":["null","number"]}}},"teams":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"roundRobin":{"type":["null","object"],"properties":{"rounds":{"type":["null","number"]},"totalGames":{"type":["null","number"]},"byesPerRound":{"type":["null","number"]},"gamesPerTeam":{"type":["null","number"]}}},"seedingOrder":{"type":["array","null"],"items":{"type":["number","string"]}},"doubleRoundRobin":{"type":["null","object"],"properties":{"totalGames":{"type":["null","number"]}}},"doubleElimination":{"type":["null","object"],"properties":{"totalGamesWithReset":{"type":["null","number"]},"totalGamesWithoutReset":{"type":["null","number"]}}},"singleElimination":{"type":["null","object"],"properties":{"byes":{"type":["null","number"]},"rounds":{"type":["null","number"]},"totalGames":{"type":["null","number"]},"bracketSize":{"type":["null","number"]},"firstRoundGames":{"type":["null","number"]}}},"firstRoundPairings":{"type":["array","null"],"items":{"type":"array","items":{"type":["number","string"]}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uYRJSmq9jIXQ10ymkwoXc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes rounds, byes, total games, bracket sizes, and standard seeding order for single elimination, double elimination, round-robin, double round-robin, and Swiss tournaments given a team count.","exampleAgentPrompt":"I'm running a tournament with 12 teams — can you figure out how many rounds, byes, and total games we'd have for single elimination, double elimination, round-robin, and Swiss formats, and show me the standard bracket seeding order?","exampleUseCases":[{"title":"Planning a local esports bracket","prompt":"We have 20 teams signed up for our LAN tournament — can you calculate the rounds, byes, and total games for both single and double elimination, and give me the standard seeding order?"},{"title":"Round-robin league game count","prompt":"I'm organizing a 10-team round-robin league — how many rounds and total games will we need, and how many games does each team play?"},{"title":"Swiss pairings for a chess event","prompt":"I have 32 players in a Swiss chess tournament — how many rounds should we run, and what does the math look like for that format?"}],"resultDescription":"Returns a structured object with tournament math broken out by format: singleElimination (rounds, byes, bracketSize, totalGames, firstRoundGames), doubleElimination (totalGames with and without grand-final reset), roundRobin (rounds, totalGames, gamesPerTeam, byesPerRound), doubleRoundRobin (totalGames), swiss (suggestedRounds), the standard seedingOrder array, firstRoundPairings, and a plain-English summary.","failureModes":["teams parameter missing or non-integer returns a validation error","teams value outside 2–4096 range returns an error or null fields","network/service unavailability returns an HTTP error","payment not attached or insufficient USDC balance returns a 402 response"],"whenToPreferThis":"Use this endpoint when you need precise, multi-format tournament arithmetic in a single call — it covers all major bracket formats simultaneously (single elimination, double elimination, round-robin, double round-robin, Swiss) and returns standard bracket seeding and first-round pairings, saving you from manual calculation or separate lookups for each format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:44.988Z","isFirstParty":false,"canonicalSlug":"sports-calculators-tournament-math-be99f26d"}