Fundamentals

TAM, SAM and SOM: What They Mean and How to Calculate Your Market by Counting the Companies That Fit

What TAM, SAM and SOM mean, how top-down and bottom-up sizing differ, and how to calculate a B2B market by counting the companies that fit and multiplying by what one customer pays you per year, with a worked example.

·8 min·HappySales Team · Sales & Product
Fundamentals

TAM, SAM and SOM: What They Mean and How to Calculate Your Market by Counting the Companies That Fit

TAM is the whole market that could buy your product, SAM is the part you can serve with your product and your channels, and SOM is the part you can realistically win over the next few years. In B2B, the most defensible way to calculate all three is bottom-up: count the companies that fit your customer profile and multiply that count by the annual value of one customer. The count comes from official business registries for the big picture and from a filtered company search, such as LinkedIn's, for the companies you can actually reach.

What are TAM, SAM and SOM

TAM, SAM and SOM are three nested estimates of market size, each one a subset of the previous one:

  • TAM (total addressable market) is the annual revenue available if every company that could use your product bought it from you.
  • SAM (serviceable addressable market) is the share of the TAM that your product, your language, your pricing model and your sales channels can serve today.
  • SOM (serviceable obtainable market) is the share of the SAM that your team can realistically win in a set period, such as the next three years, given its capacity and its competitors.

Each figure answers a different question: the TAM, whether the market is worth entering; the SAM, how big the business can get with today's offer; and the SOM, which target a sales plan can commit to.

Top-down vs bottom-up market sizing

Top-down sizing starts from a total published by someone else, such as an analyst report on an industry, and applies percentages to shrink it. Bottom-up sizing starts from units you can count, companies and the value of each one, and adds them up. For a B2B product sold to companies, bottom-up sizing is easier to check and easier to turn into a sales plan.

Method Where the data comes from Advantage Risk
Top-down Industry reports and total market figures from third parties Fast, and useful as a first order of magnitude The percentages used to shrink the total are often guesses, and the report may define the market differently from you
Bottom-up Number of companies that fit, from registries or company searches, times the annual value per customer Every input can be checked, and the companies behind the number can be listed Slower, and it depends on how well the customer profile is defined

If the top-down and bottom-up figures are far apart, one of the assumptions is wrong.

How to calculate TAM by counting companies

Bottom-up TAM is calculated with one formula: number of companies that fit your customer profile × annual value per customer. The annual value is what one customer pays you per year, also called annual contract value (ACV). The steps are the same for TAM, SAM and SOM; only the filters get tighter.

  1. Describe the customer profile as filters. Industry, company size, location and any trait that makes a company a buyer. Your ideal customer profile is the input here; the market calculation applies it and does not redefine it.
  2. Count the companies for the TAM. Apply the industry and size filters with no restriction on where you can sell, using an official registry or a company search.
  3. Set the annual value per customer. Use the average annual contract of current customers, or the price of the plan most customers would buy if you have none yet.
  4. Multiply for the TAM. Number of companies × annual value per customer.
  5. Narrow to the SAM. Keep only the companies in the countries, languages and segments you can serve today, and multiply again.
  6. Estimate the SOM from capacity. Work out how many of the SAM companies your team can contact and win in the period, and multiply by the same annual value.

Counting companies with filters is the same job as building a filtered company list; how to apply each filter in practice is covered in our walkthrough on building a B2B company database.

A worked TAM, SAM and SOM example

The numbers in this example are illustrative, not market data. A Barcelona startup sells route-planning software to logistics and transport companies with 11 to 200 employees, and one customer pays €6,000 per year.

Layer Filter applied Companies (illustrative) Annual value per customer Market size
TAM Logistics and transport, 11 to 200 employees, all of Europe 20,000 €6,000 €120 million
SAM Same profile, only Spain and Portugal, where the team sells today 2,500 €6,000 €15 million
SOM Customers the team expects to win in three years, from its capacity 150 €6,000 €900,000

The startup's SOM of 150 customers comes from its own plan: how many of the 2,500 companies two SDRs can contact in three years and how many deals the team closes from the companies it reaches. The SOM changes when the team grows or the conversion improves; the TAM changes only when the profile or the price does.

Where to get the number of companies

The number of companies comes from two kinds of source: official business registries, which count every active company in a country, and company searches such as LinkedIn's, which let you filter by industry and size and see each company. Registries give the TAM's order of magnitude; company searches give the SAM as a list.

Official business registries: INE, US Census and Eurostat

Official business statistics count active companies by country, industry and size, and they are the most solid starting point for a TAM.

  • Spain (INE, DIRCE): on 1 January 2025 there were 3,310,824 economically active enterprises in Spain, 1.7% more than a year earlier, according to the Central Business Directory published by Spain's National Statistics Institute (INE). The same release shows that 54.4% of them had no employees.
  • United States (Census Bureau, SUSB): the Statistics of U.S. Businesses counted 6,395,635 employer firms in 2022, of which 6,374,594 had fewer than 500 employees, according to the table released by the US Census Bureau on 10 April 2025.
  • European Union (Eurostat): around 33.1 million enterprises were active in the EU business economy in 2023, and large enterprises with more than 249 people employed made up only 0.2% of them, according to Eurostat (13 October 2025).

The share of companies without employees is the first filter to apply in a B2B TAM: in Spain's INE figures, more than half of active enterprises have no employees at all, and most B2B products are not sold to them.

LinkedIn company search by industry and size

LinkedIn company search counts the companies that have a LinkedIn Page, and it can be filtered. LinkedIn Help explains that, once you click Companies at the top of a search results page, the results can be narrowed with three filters: Locations, Industry and Company size ("Find an organization's Page on LinkedIn", checked on 16 November 2026).

LinkedIn's industry filter uses its own taxonomy; the list of LinkedIn industries shows how it groups sectors and which size ranges exist. A company without a LinkedIn Page does not appear, so a LinkedIn count usually sits below the registry figure for the same profile. A published universe, such as this list of SaaS companies in Spain, is another way to check a count for one niche.

How to turn your SAM into a list of companies with HappySales

HappySales does not size the whole market; it turns the SAM or the SOM into a real list of companies to work. Under the hood, HappySales queries LinkedIn's company search, so the SAM filters map onto it directly: keywords as single words, no more than 20 locations per search, and up to 20 industries chosen from the 434 in LinkedIn's taxonomy (each with its sub-industries), and the headcount bands LinkedIn uses, which start at 1-10 and end at 10001+. The search is requested in plain language from Claude or ChatGPT, where HappySales is added as a connector, or from its web app.

LinkedIn caps every company search at 1,000 results, and HappySales inherits that ceiling, so a SAM of 2,500 companies like the startup's is covered with several searches, one per country or per headcount band. Every search fills a company list, and HappySales marks each company as new, prospected or discarded, so the share of the SAM already worked is visible in the list itself. Companies the team already has in a spreadsheet can be imported, up to 500 per CSV file.

Once the SAM is a list, HappySales finds the people inside each account, adds their email and phone and runs the outreach as a LinkedIn and email campaign. HappySales is not a CRM and has no analytics: the market calculation and the tracking of deals stay in the tools the team already uses.

How to calculate SOM realistically

A realistic SOM is calculated from what the sales team can do, not from a percentage of the SAM. The formula is: companies the team can contact in the period × share of those contacts that become customers × annual value per customer, with both inputs taken from the team's own capacity and past results.

Three inputs decide the SOM:

  • Contact capacity: how many companies each SDR or founder can work per month, multiplied by the number of people and months in the period.
  • Conversion from your own history: the share of contacted companies that became customers in past campaigns; with no history, use a conservative assumption and write it down as an assumption.
  • Competition and timing: customers already tied to a competitor's contract for several years reduce what is winnable inside the period.

A SOM built from capacity also tells you how to grow it: more people, a better conversion or a wider SAM. A SOM picked as a fixed percentage of the SAM explains none of that.

Common mistakes when calculating TAM, SAM and SOM

The most common mistakes in TAM, SAM and SOM calculations come from counting companies that would never buy or from inputs nobody can check.

  • Counting every company in the registry. A B2B TAM that includes enterprises with no employees, or sectors that do not use the product, inflates the market.
  • Mixing currencies or years. Company counts from different years and annual values in different currencies cannot be multiplied together without converting them first.
  • Using list price instead of real contract value. Discounts, smaller plans and churn make the annual value per customer lower than the price page suggests.
  • Treating SAM as SOM. The serviceable market is what you could serve, not what your team can win; a sales plan built on the SAM is out of reach from day one.
  • Never revisiting the numbers. Registry figures are updated with each new edition and a customer profile changes as the product does, so TAM, SAM and SOM need updating when either moves.

Join the new era of prospecting

Book a call today and start saving time.

Book a demo