Gamblers Guild

NBA Betting Model

GAMBLERS GUILD / BETTING EDUCATION

How to Build an NBA Betting Model

From pace and efficiency to projected scores, market comparisons and real-world tracking. A practical seven-step guide.

The framework
01Gather team data
02Project scores
03Adjust for news
04Price against market
05Track every result

A betting model is a repeatable way to turn data into a number, a projected score or a probability, that you can hold up against a sportsbook line.

The goal isn't to pick every game right. The goal is to be more accurate than the price you're paying, then to bet only when that gap is big enough to beat the juice. A model that wins 55% of its plays at -110 makes money. One that wins 51% loses money, even if it feels sharp.

This guide builds an NBA sides and totals model from scratch: projected scores for both teams, a projected spread and total, cover and over chances, and a tracking system that tells you whether any of it is working.

Step 1Pick your market

Start with one market and build it well. Each NBA market has a different level of difficulty:

MarketHow sharp the line isWhat a model needs
SpreadsVery sharp. Thousands of pros move these lines within minutes.Team ratings, home court, rest and injury news
TotalsSharp, but a little softer than spreadsPace plus offensive and defensive efficiency
Team totalsSofter, with lower limitsThe same inputs as totals, split by team
Player propsThe softest. Books can't price hundreds of props a night perfectly.Minutes, usage and matchup data for every player

Totals are the best place to learn. You don't have to pick a winner, only project how many points get scored, and the inputs are easy to find. Once the totals model works, the same projected scores give you a spread for free.

Step 2Gather the data

A solid NBA totals model can start off simple, just three numbers per team. More stats feel smarter, but most of them add noise before they add signal.

Pace: possessions per 48 minutes. Fast teams create more scoring chances for both sides.

Offensive rating (ORtg): points scored per 100 possessions.

Defensive rating (DRtg): points allowed per 100 possessions.

You'll also want each team's last 10 games of scoring, their home and road splits, their schedule (to spot back-to-backs), and a daily injury report.

Most of it is free. Several stats sites publish team ratings and pace, and some update every morning. Set up one tab called Data, then pull each table in with Google Sheets' IMPORTHTML function so it refreshes on its own:

=IMPORTHTML("PASTE-THE-STATS-PAGE-URL-HERE", "table", 1)

Build a team-name lookup tab early. One site says "LA Clippers," another says "Los Angeles Clippers," and a third says "LAC." A single table that maps every version to one abbreviation saves hours of broken lookups later.

Once you're comfortable, an odds API can pull every book's spreads and totals into the sheet automatically through Google Apps Script.

Step 3Project the score

A team's projected score is the number of possessions in the game times the points it should score per possession. Both pieces get measured against the league average so a fast team facing a slow team, or a great offense facing a great defense, meet in the middle.

First, project the possessions:

Projected possessions(Pace A × Pace B) ÷ League pace

Then project each team's points per 100 possessions against this specific opponent:

Opponent-adjusted offensive rating(Team A ORtg × Team B DRtg) ÷ League ORtg

Multiply the two and divide by 100 for Team A's projected points. Do the same for Team B, then add home court (about 2 points, half to each side):

Projected total and home marginTotal = Away points + Home points | Home margin = Home points − Away points

Multiplying works better than averaging. A plain average of Team A's scoring and Team B's points allowed treats a 105 defense the same whether the league average is 105 or 115. Dividing by the league average fixes that.

Worked example: Trail Blazers at 76ers (league ORtg 110.2, league pace 102.9)

InputPortland (away)Philadelphia (home)
Pace103.2102.4
ORtg112.5112.8
DRtg106.9109.9
Rating vs. this opponent112.2109.5
Projected points (102.7 possessions, ±1 home court)114.3113.4
227.7Projected total
Portland +0.9Illustrative model margin
4.3 ptsModel vs. market spread gap

The model projects a 227.7 total and Portland by about a point. The market had Philadelphia -3.5 with a total of 227.5. The total is right on the number, but the side is 4.3 points off. Step 6 covers what to do with that gap.

Step 4Adjust for injuries, rest, and recent form

Season ratings describe the team that played the first 15 or 20 games, which isn't always the team taking the floor tonight. Three adjustments close most of that gap.

Recent form. Compare each team's last 10 games of scoring (and points allowed) to their season average, then nudge the ratings toward it. A 25–35% weight on recent form is plenty. Ten games is still a small sample, and a hot shooting stretch fades.

Recent-form adjustmentAdjusted ORtg = ORtg × [1 + w × (L10 PPG ÷ Season PPG − 1)]

Rest. Teams on the second night of a back-to-back score a bit less and defend a bit worse. Pull the last game date from a game log, and if it was yesterday, take 1 to 2 points off that team.

Injuries. This is the biggest adjustment and the hardest to get right. A simple version works well:

  1. For every player listed out, find how many points he's added per team game this season (his total points divided by his team's games).
  2. Add those up for each team.
  3. Take a share of that total off the team's projection. Replacements pick up most of the slack, so 25–40% is a sensible starting point, not 100%.

Use team games, not the player's own games. A player who's missed half the season is already partly baked out of the team's ratings, so he shouldn't be subtracted twice.

Trades are the one thing these adjustments can't fix. If a team dealt its second-best player a week ago, its season ratings still include him. Keep a note of recent deals and treat those teams' projections with extra suspicion.

Step 5Turn projections into probabilities

A projected spread of -6 against a line of -4.5 looks like value, but how much? To answer that, turn the projection into a probability.

NBA results scatter around the projection in a roughly bell-shaped pattern. Final margins land about 12 to 13 points from the projection on a typical night, and totals about 17 to 19 points. Those spreads, called standard deviations, are all you need:

Home-cover probability1 − NORM.DIST(−Home spread, Projected home margin, 12.5, TRUE)
Over probability1 − NORM.DIST(Sportsbook total, Projected total, 18, TRUE)

Both formulas run as-is in Sheets and Excel. The home spread goes in as the sportsbook shows it (-3.5 for a home favorite).

Now compare that probability to the break-even for your price. At -110 you have to win 52.4% of the time just to stay even (110 ÷ 210). At -115 it's 53.5%. A good rule is to bet only when your probability clears break-even by at least 3 points, about 55.4% at -110.

That threshold is stricter than it sounds. With a 12.5-point standard deviation, a 55.4% cover chance needs your fair line to sit about 1.7 points better than the market's number.

Step 6Respect the market

The closing spread on an NBA game is one of the most accurate forecasts in sports. Your spreadsheet will rarely beat it outright. What it can do is find games where the line is a little off, and that's enough.

So don't bet the raw model. Blend it with the line first:

Market-blended fair margint × Model margin + (1 − t) × Market margin
Example: 35% model weight, 65% market weight
Model · 35%Market · 65%

Here t is how much you trust the model. Start around 0.3 to 0.4 for sides and totals, then raise it only if your tracking (Step 7) earns it. Run the cover and over formulas from Step 5 on the fair numbers, not the raw ones.

Back to Portland at Philadelphia. The raw model had Portland by 0.8 against a Philadelphia -3.5 line. At t = 0.35, the fair line becomes Philadelphia by 2.0, which gives Portland +3.5 a 54.8% cover chance. That's above break-even but short of the 55.4% bar, so it's a pass. Without the blend, the model would have screamed Portland.

Flag the big disagreements. When the model and the line are more than 7 points apart on a spread, or 9 on a total, the model is almost always the one that's wrong. It's usually missing a late scratch, a trade or a rest day. Mark those games "check news" instead of betting them, then go find out what the market knows.

Step 7Track and test

A model you don't track is just an opinion with formulas. Log every game the model sees, not only the ones you bet, and grade them the next morning.

Keep these columns on a log tab:

ColumnWhy you need it
Date, teams, tip timeTo match results later
Model projections (both teams)To grade the raw model, before the market blend
Spread and total when loggedThe number you would have bet
Closing spread and totalTo measure closing line value
Model play and leanThe play when it clears your bar, and its side on every game
Final score, result, unitsThe scoreboard

Three numbers tell you whether the model is any good:

Closing line value (CLV). If you bet Portland +3.5 and the line closes +2.5, you beat the close by a point. Beating the close over and over is the best early sign of a real edge, long before your win-loss record means anything.

Model miss vs. market miss. Average how far the model's raw projections land from the final scores, then do the same for the betting line. Until the model's miss gets close to the market's, keep the trust setting low.

Results by lean. Grading the model's side on every game, not only the plays, builds a sample several times faster.

Be patient with the record. A 55% bettor can easily go 45-55 over 100 bets. Judge the model on CLV and accuracy first, and on wins and losses only after a few hundred plays.

To keep the log running without effort, a short Google Apps Script on a timed trigger can copy the board into the log tab each afternoon and fill in final scores the next morning.

Guide notesCommon mistakes

  1. Piling on stats. Fifty inputs usually predict worse than five. Add a new variable only if it improves your tracked accuracy.
  2. Fitting the past too tightly. Settings tuned to last month's results almost always look worse next month. Test any change on games the model hasn't seen yet.
  3. Forgetting the juice. A 52% hit rate feels good and still loses money at -110. Every edge you calculate should be against break-even, not 50%.
  4. Betting every disagreement. A huge gap between the model and a sharp line is more often missing news than free money. Check before you bet.
  5. Trusting early-season numbers. Ratings after 10 games swing a lot. Lean on last season's ratings, or on the market, until a few weeks of data pile up.
  6. Sizing up too fast. Bet small for the first 100 plays. Live results always find holes a spreadsheet missed.
  7. Never updating. Rosters, rules and styles change. Recheck your settings monthly and rebuild the model after every season.

Guide notesThe short version

  1. Pull pace, offensive rating and defensive rating for every team into a sheet that refreshes itself.
  2. Project possessions and each team's points per 100, then add home court.
  3. Adjust for recent form, back-to-backs and players who are out.
  4. Blend the projection with the betting line, then convert it to a cover or over chance.
  5. Bet only when that chance clears break-even by about 3 points, and flag big gaps as news to check.
  6. Log everything, grade it every morning, and let closing line value tell you when to trust the model more.
The bottom line. A model like this won't win every night, and it doesn't need to. It gives you a consistent, honest number every day and tells you when to pass, which is where most of the money gets saved.

Bet responsibly. If gambling stops being fun, call 1-800-GAMBLER.