---
name: tam-sizer
description: "Count the addressable market of an ICP in a real database instead of estimating it, convert companies into reachable contacts, then size the cold email infrastructure that covers it: sends per month, inboxes, domains and a cost range per line, from a deterministic script that reads one dated price file. The recontact cycle decides the volume, never the reverse, and any third-party volume figure gets recomputed before it is reused. Use when someone asks how big a market is, how many contacts or companies fit an ICP, how many inboxes or domains to buy, or what an email stack costs per month. Triggers: TAM, addressable market, how many contacts in our ICP, how many companies match, how many inboxes, how many domains, inbox sizing, sending volume, email infrastructure cost, size the infra, tam-sizer."
license: MIT
author: Rivolt (rivolt.ai)
---

# TAM sizer

Three steps, each one checkable. Nothing is estimated from memory. A market figure said from the top of your head in a client answer is an error, even when it happens to land right.

## 1. Count the companies

Write the ICP as filters: country, revenue, headcount, industries. Then ask a database for the **count**, never the list. A query with a page size of 1 costs one record or nothing, and the total comes back in the response.

**Outside France**, use any B2B company search API that returns a total (Blitz, Apollo, Ocean.io, Clay's company search, Crunchbase). Read the total field, not the number of rows on the page.

**In France**, use the free public company registry API, no key needed:

```
https://recherche-entreprises.api.gouv.fr/search?per_page=1&etat_administratif=A&departement=75,92&tranche_effectif_salarie=12,21
```

| Parameter | Filters |
|---|---|
| `departement` | comma-separated list of departments |
| `code_postal` | finer than the department, your way out when the cap bites |
| `tranche_effectif_salarie` | INSEE headcount codes: `12` 20 to 49, `21` 50 to 99, `22` 100 to 199, `31` 200 to 249, `32` 250 to 499 |
| `activite_principale` | NAF code, to isolate or remove a sector |
| `etat_administratif` | `A` for active only. Without it the count includes closed companies |

Read `total_results`.

Return **two counts**: the strict one and the broad one, and name the filter that separates them.

### Counting traps, each one already paid for

- **The French registry caps `total_results` at 10,000 and does not say so.** A query over the cap returns exactly `10000`, with no flag. Any sum where one subtotal is exactly 10,000 is wrong by construction. Split the query (by department, then by postal code) until every slice is under the cap, then sum.
- **Revenue buckets overlap.** On providers that store revenue as ranges, a ceiling of 1,000,000,000 catches the open-ended "$1B+" bucket, and the largest companies in the world show up first in a mid-market count. Set the ceiling at 999,000,000 and add a headcount band as a second guard.
- **Industry filters are often exact LinkedIn labels.** A wrong label is rejected, not ignored. Treat that as a safety, not a bug, and copy the label from the provider's own list.
- **A legal entity is not a website and not a reachable decision maker.** Between the company count and a deliverable lead sit two rates: domain resolution and decision-maker email found. A market size announced without them is a presentation figure, not a production one.
- **The TAM is never a target.** It qualifies: a very selective play needs volume at the input, and that is the only question the count answers.

## 2. Convert to contacts

Companies multiplied by reachable contacts per company. Do not assume the ratio. Measure it on a sample of about 50 companies from the strict count (people search per company, count verified matches), and announce a **range, never a point**.

If the output is a number of decision makers per company in a calculator, round to whole people: a count of decision makers is never decimal.

## 3. Size and price the infrastructure

Run the script in `scripts/sizing.py`. It reads `scripts/prices.json`, which ships empty on purpose: fill each line with a price you read yourself, with its source and date. The script refuses to run while a price is missing, so no number gets guessed.

```bash
python3 scripts/sizing.py --contacts 15000 --touches 2 --cycle 2
python3 scripts/sizing.py --sends 45000 --touches 3 --cycle 1
python3 scripts/sizing.py --contacts 15000 --linkedin-seats 3
```

The formulas, so you can check any output by hand:

- sends per month = contacts x touches / cycle in months
- inboxes = sends / (sends per inbox per day x sending days), plus the reserve, rounded up
- domains = inboxes / inboxes per domain, rounded up

Defaults, all overridable, and any change gets stated in the output: **20 sends per inbox per day, 22 sending days, a 25% reserve of inboxes resting or warming, 3 inboxes per domain, a recontact cycle of 2 months.**

### Rules for the volume

- **The cycle decides the volume, never the reverse.** A third party quoting "40 to 50,000 sends a month" while also saying they recontact every two months is quoting a monthly recontact by mistake: the real volume is half, and so is the infrastructure. Pass any volume you are given through `--sends`. If the contacts it implies do not match the TAM from step 2, say so.
- **Recontact the same person every 60 to 90 days.** The script warns under two months.
- **Touches are measured, not declared.** A two-step sequence does not average two sends per lead: replies, bounces and unsubscribes stop it early, and unfinished sequences pull the average down further. Measure it in your sending tool on finished sequences only: total sends divided by leads.
- **Above your sending tool's plan ceiling**, read the next tier's price at checkout. The script warns when you cross the ceiling you set in `prices.json`.

### Rules for the cost

- **Every cost comes out as a range.** One point implies a precision nobody has.
- **A unit price comes from your own measured runs first**, and only then from a vendor pricing page. AI cost per contact is the classic miss: list token prices understate real per-lead cost by an order of magnitude once retries, scoring and personalization are counted.
- **Four lines are easy to forget**: the signal sourcing line when the offer runs on signals, one month of inboxes warming up with no sends in the setup cost, the AI line, and data renewal. Data renewal is the replacement of stale contacts each month, not a full re-buy of the list every cycle.
- **The client owns the stack.** The figure is what the client pays for their own tools.
- **Rented LinkedIn accounts** have a line so you can price someone else's quote. Say each time it appears that renting or faking profiles carries its own platform risk.

## Output

The two counts and the filter between them, the contacts range and how it was measured, the script's table, and any gap with the figure you started from. Save it as a dated research note in the client or project folder of your workspace. `--lang fr` prints the table in French.
