NBA Salary & Trade Simulator
Explore every team's payroll, cap space and tax status, then simulate trades between two teams with real-time salary-cap and CBA rule validation.
Data source: player salaries are real 2026-27 cap figures from HoopsHype, pulled 2026-11-19. League thresholds are the official 2026-27 NBA numbers. Only the top contracts per team are listed, so the roster total you see runs slightly below the published team cap hit (shown on each card). Everything is editable — changing a salary re-runs the apron status instantly.
For developers: extending the rule engine
Trades are validated by a registry of pure rule functions in lib/trade-rules.ts. Each rule receives a context with both teams, outgoing/incoming players, salaries, apron status, cash, and picks, then returns a pass / fail / warning / info check with a human-readable reason.
import { registerRule } from "@/lib/trade-rules";
registerRule({
id: "my-league-rule",
title: "My house rule",
team: "both",
evaluate: (ctx) => ({
id: "my-league-rule",
title: "My house rule",
team: "both",
status: ctx.afterA > 200 ? "fail" : "pass",
message: "Team A must stay under $200M",
}),
});Call evaluateTrade(teams, proposal, league) to run all registered rules. Built-in rules cover roster size, salary matching, cash limits, no-trade clauses, apron hard caps, and draft-pick inventory. Reset with resetRules().
How it works
Explore payrolls
Browse all 30 teams. Expand a team to see every contract's salary, years and total value. Edit any figure to model your own scenario.
Build a trade
Switch to the Trade Simulator, pick two teams, then select players, cash and draft picks each side sends.
Check legality
See a verdict and rule-by-rule breakdown: salary matching, roster size, apron hard caps, cash limits, no-trade clauses and pick inventory.
Frequently asked questions
How does salary matching work?+
Teams below the first apron can take back 200% + $250K of outgoing salary under $7.5M, outgoing + $7.5M between $7.5M and $29M, or 125% + $250K above $29M. Apron teams are limited to roughly 100% matching.
What are the first and second aprons?+
Thresholds above the tax line that trigger roster restrictions. For 2026–27 the first apron is $209.015M and the second apron is $221.686M. Second-apron teams face the harshest limits, including no cash trades and no salary aggregation.
Can I add my own rules?+
Yes. The rule engine is a registry of pure functions. Developers can call registerRule() with a custom evaluate function — see the developer note at the bottom of the tool.
Is the data real?+
The player salaries are real 2026–27 cap figures sourced from HoopsHype and pulled on 19 Nov 2026; league thresholds are the official NBA 2026–27 numbers. Only the top 10–12 contracts per team are listed, so a team's editable roster total runs a little below its official cap hit — both figures are shown. Every value can be edited.
Does this cover every CBA rule?+
No. It models the major headline rules. Real trades also involve BYC, trade exceptions, poison-pill contracts, the Stepien rule and more. Always consult official sources.