A Max Data research project

Do Thai Industry Codes Follow Zipf's Law? Company Counts 2026

Updated 9 November 2026Data as of 17 July 2026Verified

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.

1,228
Five-digit codes with companies
165,550
Largest code
8.33 percent of 1,986,709 companies
24.8%
Share held by top 10 codes
491,779 companies
68.8%
Share held by top 100 codes
1,366,724 companies
-2.19
Full-range log-log slope
Zipf predicts about -1. R squared 0.76
194
Median code size
companies per code

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

RankActual companiesZipf predictionActual divided by Zipf
1165,550165,5501
259,09582,7751
351,20455,1831
438,43941,3881
536,72833,1101
1026,15516,5552
2016,6798,2782
509,1003,3113
1004,9681,6563
2001,9698282
3009805522
5003423311
750982210
1,000141660
1,22811350

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

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

References

  1. Department of Business Development. (2026). Registered juristic persons by TSIC code, aggregate statistics. Ministry of Commerce, Thailand. https://www.dbd.go.th/
  2. 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.