Do Thai Industry Codes Follow Zipf's Law? Company Counts 2026
In short
No, Thai industry codes do not follow Zipf's law. The largest of 1,228 five-digit codes holds 165,550 companies, 8.33 percent of the 1,986,709 with a classified size band. Pure Zipf would predict only 16,555 companies at rank 10, yet the real figure is 26,155. The top 100 codes hold 68.79 percent of all companies. Past rank 500 the counts collapse far faster than Zipf allows.
Is the Thai economy a Zipf distribution?
Not quite, and the way it fails is the interesting part. Zipf's law says the code at rank r should hold about 1 divided by r of the largest code's count. Thailand's biggest five-digit code has 165,550 companies as of 17 July 2026 (DBD, 2026). Rank 2 should then hold 82,775. It actually holds 59,095. Rank 10 should hold 16,555. It holds 26,155, which is 1.58 times the Zipf prediction. The head of the distribution is fatter than the law expects. Then the tail gives way. Rank 1,000 should hold 166 companies and holds just 14.
Actual versus Zipf-predicted companies at selected ranks
- Rank 1 actual165,550
- Rank 10 actual26,155
- Rank 10 Zipf16,555
- Rank 100 actual4,968
- Rank 100 Zipf1,656
- Rank 500 actual342
- Rank 500 Zipf331
- Rank 1,000 actual14
- Rank 1,000 Zipf166
Figures in companies per code.
Predicted value is the rank 1 count divided by rank. Actual beats the prediction through rank 500, then falls far below it.
Rank-size table for Thai five-digit industry codes
| Rank | Actual companies | Zipf prediction | Actual divided by Zipf |
|---|---|---|---|
| 1 | 165,550 | 165,550 | 1 |
| 2 | 59,095 | 82,775 | 1 |
| 3 | 51,204 | 55,183 | 1 |
| 4 | 38,439 | 41,388 | 1 |
| 5 | 36,728 | 33,110 | 1 |
| 10 | 26,155 | 16,555 | 2 |
| 20 | 16,679 | 8,278 | 2 |
| 50 | 9,100 | 3,311 | 3 |
| 100 | 4,968 | 1,656 | 3 |
| 200 | 1,969 | 828 | 2 |
| 300 | 980 | 552 | 2 |
| 500 | 342 | 331 | 1 |
| 750 | 98 | 221 | 0 |
| 1,000 | 14 | 166 | 0 |
| 1,228 | 1 | 135 | 0 |
Companies per code at selected ranks against the Zipf prediction, as of 17 Jul 2026.
Two regimes, not one law
Fit a straight line to the log of count against the log of rank across all 1,228 codes and the slope is -2.19, with an R squared of 0.76. A true Zipf law has a slope near -1. Restrict the fit to the top 100 codes and the slope flattens to -0.69, with an R squared of 0.985. So the head is a very clean power law, only gentler than Zipf. The tail is where the line breaks, because dozens of niche codes hold a handful of companies each. The median code has just 194 companies, while the mean is 1,618. That gap is the signature of a long, thin tail under a heavy head.
Why this matters
Thailand's company register is top-heavy, and you can see it without any revenue concentration index. The top 10 codes hold 24.75 percent of all companies. The top 50 hold 52.70 percent. The top 100 hold 68.79 percent, from a menu of 1,228. For a lender, a supplier or a marketer, that means most of the competitive action sits in a small set of crowded activities, while hundreds of codes are too thin to support benchmarking at all. It also extends the province Zipf test to industries. Count is only the headcount of firms, not the weight of the money.
Definitions
- Zipf's law
- A rank-size pattern in which the item at rank r has about 1 divided by r the size of the largest item.
- Rank-size slope
- The slope of the log of size against the log of rank. A value near -1 matches Zipf's law.
- R squared
- The share of variation in the fitted line explained by the model, from 0 to 1.
- TSIC
- Thailand Standard Industrial Classification, the code system for a company's registered activity.
- Median
- The middle value when all codes are sorted by company count.
Assumptions
- Each company is counted once under its registered primary industry code.
- Codes with zero companies are excluded from the ranking.
- Count of companies is not weight in revenue, so this page says nothing about economic size.
- The classification scheme sets how finely activities are split, which shapes the tail.
Methodology
Counts come from the Department of Business Development registry aggregate by five-digit TSIC code, as of 17 July 2026, covering 1,228 codes with at least one company and 1,986,709 companies in total. Codes are ranked by company count, largest first. Rank-size slopes are ordinary least squares fits of the natural log of count on the natural log of rank. Zipf predictions divide the rank 1 count by rank and round to a whole company. Five-digit code names are not available in the source, so codes are identified by rank only.
How we verified this
- Codes with companies counted at 1,228, and their company counts sum to 1,986,709, matching the national size-band total.
- Top 1 share recomputed: 165,550 / 1,986,709 = 8.33 percent.
- Top 10 share recomputed: 491,779 / 1,986,709 = 24.75 percent.
- Top 50 share recomputed: 1,047,072 / 1,986,709 = 52.70 percent.
- Top 100 share recomputed: 1,366,724 / 1,986,709 = 68.79 percent.
- Zipf prediction at rank 10 recomputed: 165,550 / 10 = 16,555, and 26,155 / 16,555 = 1.58.
- Mean per code recomputed: 1,986,709 / 1,228 = 1,618.
References
- Department of Business Development. (2026). Registered juristic persons by TSIC code, aggregate statistics. Ministry of Commerce, Thailand. https://www.dbd.go.th/
- Gabaix, X. (1999). Zipf's law for cities: An explanation. The Quarterly Journal of Economics, 114(3), 739-767. https://doi.org/10.1162/003355399556133
Frequently asked questions
Do Thai industry codes follow Zipf's law?
Not closely. The top 100 codes show a clean power law with slope -0.69, but across all 1,228 codes the slope is -2.19, far from the -1 that Zipf's law implies.
How many Thai companies sit in the top 10 industry codes?
491,779 companies, or 24.75 percent of the 1,986,709 total, as of 17 July 2026.
Why are the industry codes in this page not named?
The registry aggregate does not carry names for five-digit codes, so the page ranks them by company count only.
Cite this page
Chatpong L. (2026). Do Thai Industry Codes Follow Zipf's Law? Company Counts 2026. Max Data Insights. https://maxdatathailand.com/insights/do-thai-industry-codes-follow-zipfs-law-for-company-counts-2026
Data & corrections
Download the data (CSV)Spot something off, or want to ask about the data? Email insights@maxsolutions.co.th. We publish corrections.
Written by
Chatpong L.Founder, Max Data, Max Solutions Co., Ltd.
Chatpong L. leads Max Data, a company-intelligence platform built on Thailand's official business registry. He writes about the structure of the Thai economy using primary registry data. His work covers company formation, industry concentration, and regional business activity.
Related insights
This page reports company-level and aggregate statistics only. It names no individuals and makes no claims about any person. Figures are provided for information and may be revised as source data updates.
