If I had to pick the single most important structural decision a contractor makes inside JobTread, it’s not the chart of accounts. It’s not the customer setup. It’s the cost code list.
I’m Erin Andrews, owner of Level Accounting & Advisory. We’re a construction-only firm in Vero Beach, FL, and we’ve built or rebuilt cost code structures for HVAC, plumbing, electrical, concrete, pool, fencing, deck, and hardscape contractors across the country.
Get your construction cost codes right and every estimate, invoice, payroll allocation, and report tells you something useful. Get them wrong and you spend years cleaning up data that should have been clean from day one. This guide is how to get them right the first time.
If you haven’t connected JobTread to QBO yet, read our JobTread + QuickBooks Online setup guide first — cost code design is step one of that process.
What are construction cost codes?
Construction cost codes are standardized categories that break a job into trackable pieces — labor, materials, subs, equipment, overhead, organized by trade phase. Every line item on an estimate, budget, invoice, or vendor bill in JobTread gets tagged with a cost code. Each cost code maps to a Product or Service in QuickBooks Online, which in turn maps to a chart of accounts entry. That chain is what lets a $200 invoice in JobTread land in the right COGS account in QBO automatically — and what lets you tell, six months later, whether your framing labor or your concrete sub was the part of the deck that lost money.
Without cost codes, every dollar gets dumped into a single bucket called “materials” or “subs” or “job costs.” You see what the job cost. You can’t see WHY.
How many construction cost codes should you have?
The right number for specialty trades doing $1M–$15M is somewhere between 40 and 120.
Less than 40 and you can’t see anything. The categories are so broad that “Materials” includes everything from concrete to copper and tells you nothing about where the money went.
More than 120 and your field crew skips the assignment because finding the right code on their phone takes too long. They start defaulting to “Misc” and now you have a beautiful structure with garbage data flowing through it.
Two rules of thumb to figure out your number:
- One code per major trade phase, multiplied by labor / materials / subs / equipment as applicable
- If two codes never produce different decisions on a job, combine them
A residential HVAC contractor typically lands around 50–70 codes. A pool builder doing both new construction and service usually needs 80–110. A fencing contractor with a tight scope might run as lean as 35.
CSI MasterFormat — should you use it?
CSI MasterFormat is the standardized industry cost code system. 16 divisions originally, expanded to 50, used heavily in commercial construction.
If you’re a specialty trade doing residential or light commercial work, MasterFormat is overkill. The full standard has hundreds of codes, organized for general contractors managing every trade on a project. You’re managing ONE trade. You need a structure built around YOUR job phases, not the entire commercial construction industry.
When MasterFormat IS required:
- You’re subbing to a commercial GC who requires it on bid forms and pay apps
- You bid government or institutional work that mandates it
- You’re tracking estimates against a published cost database that uses it (RSMeans, etc.)
For everyone else: build a custom structure. Lean, organized around how your jobs actually run, and small enough that the field crew can find the right code in under five seconds.
How to structure construction cost codes the right way
Cost codes should be organized by trade phase, not by accounting category. The accounting category is what the QBO mapping handles. The phase is what helps you read a job.
Use a two-level structure: a parent number for the phase, a suffix for the cost type. Standard format looks like this:
- 10-100 = Phase 10 (Site Prep), cost type 100 (Labor)
- 10-200 = Phase 10 (Site Prep), cost type 200 (Materials)
- 10-300 = Phase 10 (Site Prep), cost type 300 (Subcontractor)
- 10-400 = Phase 10 (Site Prep), cost type 400 (Equipment)
That structure lets you sort, filter, and report by phase OR by cost type with one click. It also makes naming consistent enough that a new estimator can learn the system in a day.
Sample cost code structure for an HVAC contractor
Residential HVAC, install + service, around 60 codes total:
- 10-100 Site Visit / Diagnostic — Labor
- 20-100 Equipment Install — Labor
- 20-200 Equipment Install — Materials (condenser, air handler, refrigerant line set)
- 20-300 Equipment Install — Equipment (the actual HVAC unit)
- 30-100 Ductwork — Labor
- 30-200 Ductwork — Materials
- 40-100 Electrical — Labor
- 40-200 Electrical — Materials
- 40-300 Electrical Sub (when subcontracted)
- 50-100 Refrigerant — Materials
- 60-100 Permit / Inspection Fees
- 70-100 Service Call — Labor
- 70-200 Service Call — Parts
- 80-100 Maintenance Agreement — Labor
- 90-100 Warranty Callback — Labor (track separately, you should know what your warranty cost is)
Notice equipment (the AC unit itself) gets its own cost type because for HVAC, the unit IS the cost. It’s a six-figure margin lever. You need to see it separately from the line set and refrigerant.
Sample cost code structure for a deck and fencing contractor
Around 45 codes, organized by build phase:
- 10-100 Site Prep / Demo — Labor
- 10-200 Site Prep / Demo — Materials (rental dumpster, disposal)
- 20-100 Footings — Labor
- 20-200 Footings — Materials
- 20-300 Footings — Concrete Sub
- 30-100 Framing — Labor
- 30-200 Framing — Materials (joists, beams, hardware)
- 40-100 Decking Install — Labor
- 40-200 Decking Install — Materials (boards, fasteners)
- 50-100 Railing — Labor
- 50-200 Railing — Materials
- 60-100 Stairs — Labor
- 60-200 Stairs — Materials
- 70-100 Fence — Labor
- 70-200 Fence — Materials (post, panel, gate hardware)
- 80-100 Finish (stain/sealant) — Labor
- 80-200 Finish (stain/sealant) — Materials
- 90-100 Permits
The point isn’t that your structure has to look exactly like this. The point is that every code answers ONE question: which phase, which cost type. No ambiguity.
JobTread’s official video on setting up cost codes is below — worth 10 minutes if you’re building from scratch:
Mapping cost codes to your QBO chart of accounts
Every JobTread cost code maps to ONE QuickBooks Online Product or Service. Every Product or Service maps to ONE chart of accounts entry. Three layers, every link has to be right.
Here’s the mapping rule for specialty trades:
| Cost Type Suffix | JobTread Cost Code Example | QBO Item Type | QBO Chart of Accounts |
|---|---|---|---|
| -100 (Labor) | 30-100 Framing — Labor | Service | COGS — Direct Labor |
| -200 (Materials) | 30-200 Framing — Materials | Inventory or Non-Inventory Product | COGS — Direct Materials |
| -300 (Subcontractor) | 20-300 Footings — Concrete Sub | Service | COGS — Subcontractors |
| -400 (Equipment) | 20-400 Footings — Equipment Rental | Service | COGS — Equipment |
| Permit / Fee | 90-100 Permits | Service | COGS — Permits & Fees |
| Office / Indirect | (NOT a job cost code) | n/a | Operating Expense |
Two things to call out hard:
Direct labor is its own COGS account, separate from materials, subs, and equipment. If labor lives inside one big “Job Costs” account, you can’t allocate burden, you can’t run gross margin by category, and you can’t tell whether the labor leak is a productivity problem or a wage problem. Don’t skip this.
Office costs are NOT cost codes. Software subscriptions, rent, owner pay, marketing — these are operating expense, not COGS. They never get a cost code in JobTread because they’re not job costs. Putting them on a cost code is one of the most common ways contractors accidentally inflate job profitability and understate overhead.
If you don’t have a construction-ready chart of accounts in QBO yet, our construction chart of accounts guide walks through what the structure should look like with a free downloadable template.
Maintaining your cost code structure as the business grows
The list isn’t a one-time decision. It needs review.
When to add a new code:
- You’ve added a new service line (an HVAC contractor adding indoor air quality)
- A material category got big enough to need separation (one pool builder we work with split “Decking” into “Pavers” and “Travertine” because the margins were 18 points apart)
- A repeating sub line item is showing up across enough jobs that it deserves its own code
When to retire a code:
- You haven’t used it in 12 months
- It’s redundant with another code
- It exists because of one weird job two years ago
Schedule a 60-minute cost code review every January. Bring an estimator and your bookkeeper. Print the cost code report from JobTread sorted by usage. Anything used fewer than three times in the last 12 months: combine, retire, or rename. The list stays clean and the field crew stays fast.
Cost code mistakes that cost contractors money
Five mistakes we see on almost every cleanup:
- Letting the field add codes without approval. One contractor we took over had 312 cost codes, half of them duplicates with slightly different names. Three years of “I’ll just type it in real quick.” Lock it down to one or two people who can add codes.
- Using one code for both labor and materials. “30-000 Framing” instead of “30-100 Framing — Labor” and “30-200 Framing — Materials.” QBO can’t differentiate, you can’t allocate burden, your job profitability report is mush.
- Mixing direct and indirect costs. Putting “office overhead” on cost codes inside JobTread. It pollutes job profitability and double-counts overhead at year-end.
- Never auditing actuals against codes. If you don’t run a “cost by code” report monthly, you have no idea whether the codes are being used right.
- Renaming codes after they’ve already synced. Renames break historical reporting. If you have to rename, retire the old one and create a new one — don’t edit in place.
Each of these is a five-figure mistake over time. Together, they’re the difference between a contractor who knows what every job made and a contractor guessing based on the bank balance.
Frequently asked questions
What’s the difference between a cost code and a chart of accounts?
A chart of accounts is the list of accounts on your QuickBooks balance sheet and P&L — checking, accounts receivable, COGS, operating expenses. A cost code is the JOB-level category that tells you what KIND of cost something was on a specific job. Cost codes live in JobTread. Chart of accounts lives in QBO. Each cost code maps to a Product or Service in QBO, which maps to one chart of accounts entry. Without that chain, your job costs and your financials don’t talk to each other.
How many cost codes do I need for a residential remodeling business?
For most residential remodelers doing $1M–$5M, between 50 and 80 cost codes. Organized by build phase (demo, framing, electrical, plumbing, drywall, finish, etc.) with a labor / materials / sub split for each phase that needs it. Less than 50 and you can’t see what’s happening inside a kitchen remodel. More than 80 and the field crew picks “Misc” because finding the right code is too slow on their phone.
Can I use the same cost codes for residential and commercial work?
If you’re doing both, build one master list and use the same codes across both job types — but tag each job in JobTread with a “Job Type” custom field so you can filter reports by residential vs. commercial. Don’t build two parallel cost code lists. You’ll end up with twice the codes, half the data integrity, and reporting that fights itself.
Do cost codes sync to QuickBooks Online automatically?
The cost codes themselves don’t sync as their own object. What syncs is the line items that USE the cost codes. Each cost code in JobTread has to be manually mapped to a QBO Product or Service. Once that mapping is set, every transaction tagged with that code routes to the correct QBO account automatically. If a cost code has no mapped Product/Service, JobTread silently drops the line item or sends it to a fallback bucket — which is the most common JobTread to QuickBooks sync error we see.
What happens if I change a cost code after I’ve already used it on jobs?
If you rename a code, historical reporting on that code carries the new name forward and gets confusing fast. If you delete a code that’s been used, you orphan transactions and the QBO mapping breaks. The right way to “change” a cost code is to retire the old one (set it to inactive) and create a new one with the structure you want. Going forward, jobs use the new code. Historical jobs keep the old code so the data stays clean.
Should I use the JobTread default cost codes?
Use them as a starting point, then customize. JobTread ships with a generic construction cost code list that gets you 70% of the way there. The last 30% — the codes specific to your trade, your service mix, and how you actually run jobs — has to be built. We’ve never set up a JobTread file where the defaults survived intact.
The bottom line
Construction cost codes are not glamorous. They’re also the single biggest lever you have over what your job costing reports actually tell you.
Build a list of 40–120 codes organized by trade phase, with a clean labor / materials / sub / equipment split. Map every code to the right QBO Product or Service. Lock down who can add new codes. Audit usage every January. That’s the whole system.
Get this right and your job costing reports tell you the truth — every job, every phase, every category. Get it wrong and you’ll be looking at a year of data that doesn’t help you make a single decision.
Ready to talk?
Erin Andrews is the owner of Level Accounting & Advisory, a construction-only accounting firm based in Vero Beach, FL serving contractors nationwide. Level has 20 years of construction-specialized experience and works with specialty trades doing $1M–$15M in annual revenue.