Skip to content

How to Find My NAICS Code, and Which One Is Primary

How to find your NAICS code: search the Census Bureau's list, read the definition, pick the primary code by sales, and the IRS and SBA versions. With a sheet.

By Koa Sterling. Product specialist at TaroStack and small business owner. Yes, I am a real human, and I actually sit in front of a computer and write these articles. Reviewed December 1, 2026 · 7 min read

You find your NAICS code yourself, for free, on the Census Bureau's NAICS page: type a word for what you make into the 2022 NAICS search, read the definitions that come back, and take the six-digit code that matches. If you make more than one kind of thing, you may have more than one code, and the one that brings in the most sales is your primary. Below is the search step by step, how to read a definition, how to pick the primary, the IRS's own version of the code for Schedule C, SBA's size standards, and a sheet that sorts it out. I read the Census, SBA and IRS pages on 2026-12-01.

The short version

  • Search census.gov/naics: type a word for what you make, or a code.
  • Read the definition and its cross-references: they say where the neighbors go.
  • More than one kind of product can mean more than one code.
  • The primary is the one that brings in the most sales.
  • Schedule C uses the IRS's six-digit codes, based on NAICS but not always the same.
  • SBA sets a size standard for each code, in employees or receipts.
  • TaroStack keeps what each product costs and who orders it. More below.

Search the Census Bureau's list

The Census Bureau's NAICS page has a search box for each edition. In the 2022 NAICS search, type a word for what you make or a code of two to six digits. A search for "granola" on 2026-12-01 returned five records:

Code What the search returned
311230 Granola, cereal (except bars and clusters), manufacturing
311340 Granola bars and clusters, nonchocolate, manufacturing
311351 Granola bars and clusters, chocolate, made from cacao beans
311352 Chocolate covered granola bars made from purchased chocolate
311352 Granola bars and clusters, chocolate, made from purchased chocolate

The same food lands in four codes, by its form and what it's made from. That's how NAICS works: the Census Bureau's guide to the economic census says it groups establishments by how similar the processes they use to make goods or services are.

If a word finds nothing, try a broader one, or the ingredient instead of the product.

Read the definition

Click a code and the Census page gives its definition and cross-references. 311811, Retail Bakeries, covers establishments that sell bread and other bakery goods, not for immediate consumption, made on the premises from flour, not from prepared dough. Its cross-references send the neighbors elsewhere:

  • bakery goods made elsewhere and sold, not for immediate consumption: 445291, Baked Goods Retailers;
  • bakery goods such as cookies and pretzels made and sold for immediate consumption: 722515, Snack and Nonalcoholic Beverage Bars;
  • making fresh or frozen bread and other fresh bakery goods, except cookies and crackers: 311812, Commercial Bakeries;
  • cookies and crackers: 311821, Cookie and Cracker Manufacturing.

Read the cross-references of the code you've picked. They're the quickest way to see whether a neighbor fits better. NAICS code for a bakery and NAICS code for food manufacturing walk through those two families.

More than one code, and the primary

SBA's contracting guide says a business generally has a primary NAICS code, and can have more than one if it sells more than one kind of product or service. The Schedule C instructions say to select the activity that best identifies the principal source of your sales or receipts.

So list what you sell, give each its code and its share of your sales, and add up the shares for each code. As I read the two, the code with the biggest total is your primary, and the others are secondary.

Schedule C: the IRS's own code

Line B of Schedule C asks for a six-digit code from the chart at the end of its instructions. Those codes are based on NAICS, the instructions say, but some stop at the industry group. A few from the chart:

What you do NAICS code Schedule C code
Retail or commercial bakery 311811 or 311812 311800, Bakeries & tortilla & dry pasta mfg.
Candy or chocolate 311340, 311352 311300, Sugar & confectionery product mfg.
Sauces, prepared foods, other foods 311941, 311991, 311999 311900, Other food mfg.
Brewery 312120 312000, Beverage & tobacco product mfg.
Cosmetics 325620 325600, Soap, cleaning compound, & toilet preparation mfg.
Coffee or snack bar 722515 722515, Snack & nonalcoholic beverage bars

So the code on a sole proprietor's tax return may not be the one on a grant or contract form. As I read it, the IRS's code goes on Schedule C, and the six-digit NAICS code on forms that ask for NAICS.

SBA's size standards

SBA assigns a size standard to each NAICS code, its guide says: the largest a business can be and still count as small for government contracts set aside for small businesses. 13 CFR 121.201 lists them, in number of employees or in annual receipts: 311811 Retail Bakeries, 500 employees; 311230 Breakfast Cereal Manufacturing, 1,300; 722515 Snack and Nonalcoholic Beverage Bars, $22.5 million.

To bid on federal contracts, the guide says, you register in SAM, the System for Award Management, and match your products and services to a NAICS code. Each contract carries a NAICS code of its own, chosen by the contracting officer.

Codes change

NAICS has editions: the Census page searches 2022, 2017 and 2012, and on 2026-12-01 it listed a July 2026 notice asking for comments on proposed updates for 2027. A code you picked years ago is worth checking against the current edition. Seller's permit vs business license covers two of the other registrations a new business sorts out.

An example: three codes that fit

Manoa Granola Co. is a made-up granola maker. A grant form asked for a NAICS code, and the owner found three that fit. Its sales through the sheet:

What it sells NAICS code Share Code's share Primary?
Granola cereal, bagged 311230 35% 35% Secondary
Granola bars, no chocolate 311340 20% 20% Secondary
Chocolate-dipped granola bars 311352 15% 40% Primary
Chocolate granola clusters 311352 25% 40% Primary
Granola bowls and coffee at the stand 722515 5% 5% Secondary

The cereal is the biggest single product, but the two chocolate products share a code, and together they're 40%. The grant form got 311352, and the owner's Schedule C keeps 311300, which covers both confectionery codes.

Get the sheet

Download the NAICS code sheet. One row for each thing you make or sell: the six-digit code you found for it on the Census Bureau's 2022 NAICS search, and its share of your sales. The sheet looks up the title, adds up the share for each code, marks the code with the most sales as primary, and gives SBA's size standard and the IRS Schedule C code. A second sheet holds fifteen food and cosmetic codes; add your own. Six made-up rows are filled in. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.

Where this stops working

The sheet sorts the codes you give it. It can't search the Census list for you, or say whether a definition fits what you do.

How TaroStack does it

TaroStack doesn't pick a NAICS code. It keeps what each product costs to make and who orders it.

Each delivery comes in as a lot from a named supplier, with the supplier's lot code and its dates. Each recipe lists its ingredients, and each batch records which lots it used, automatically. One report walks any lot to the batches it went into and the customers who got them.

The job A shoebox of receipts In TaroStack
What each product really costs Guessed at tax time Margins on what things actually cost
Orders from shops and grocers Email threads Sales orders, one picking list, delivery notes
Stock value at the end of each month Counted in a hurry Stock value by site and month
Which lots went into each batch Not written down Batch records that note which lots were consumed, automatically

Stock, lots and delivery notes are on every plan, from $9.99 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.

Questions people also ask

How do I find my NAICS code for free?

On the Census Bureau's NAICS page, census.gov/naics: type a word for what you make into the 2022 NAICS search, read the definitions that come back, and take the six-digit code that matches.

Can a business have more than one NAICS code?

Yes. SBA's contracting guide says a business generally has a primary NAICS code and can have more than one if it sells more than one kind of product or service.

How do I choose my primary NAICS code?

By sales. The Schedule C instructions say to select the activity that best identifies the principal source of your sales or receipts: add up the share of sales for each code, and the biggest is your primary.

Is the Schedule C code the same as my NAICS code?

Not always. The IRS's codes are based on NAICS, but some stop at the industry group: retail and commercial bakeries, 311811 and 311812, are both 311800 on Schedule C.

Sources

  1. U.S. Census Bureau, North American Industry Classification System: introduction and 2022 NAICS search · read December 1, 2026
  2. U.S. Census Bureau, 2022 NAICS definition: 311811 Retail Bakeries · read December 1, 2026
  3. U.S. Census Bureau, Economic Census: Understanding NAICS · read December 1, 2026
  4. U.S. Small Business Administration, Size standards (contracting guide) · read December 1, 2026
  5. 13 CFR 121.201: small business size standards by NAICS industry (eCFR, current as of 2026-11-25) · read December 1, 2026
  6. IRS, Instructions for Schedule C (Form 1040): line B and the Principal Business or Professional Activity Codes · read December 1, 2026

We use AI to help with the research for these articles. Every one is read, checked against its sources and edited by Koa before it's published. Spot a mistake? Tell us and we'll fix it and say so. How we write these.

Let’s get your stack in order.

Get TaroStack

Sign up now for your free 14 day trial. No credit card required.