BUILDERSTAFF/AI

How to Set Up Cost Codes for a Construction Company

By , Founder, BuilderStaff AI··7 min read

A two-column grey-line list, a calculator, coloured tab dividers, roofing shingles, nails and a highlighter on paper.

The short answer

Set up cost codes by copying the line items from your recent estimates, grouping them into the tasks your crews actually perform, and giving each a three-digit number with gaps for later additions. Track labor, material, sub and equipment as a separate cost type. Most small contractors need a few dozen codes, and a foreman should use only a handful per day.

Key takeaways

  • Start from your estimate: every cost code should match an estimate line, and every estimate line should have a code.
  • Name codes in the words your foremen use, and keep cost type (labor, material, sub, equipment) in a separate column.
  • Number codes in the order the job is built and leave gaps of ten so you can add codes without renumbering.
  • If a foreman cannot pick the right code from memory, or two codes always get the same hours, the list is too long.
  • Use the same list on every job, and only change it between jobs.

What is a cost code, and what does each one need?

A cost code is a short number and name for one kind of work, used the same way on the estimate, the timecard and the bills. That shared label is what lets you put estimated hours next to actual hours for the same task. Without it, job costing turns into guessing after the job is over.

Each code needs six things. If you cannot fill in a row of this table for a code, drop the code.

PartWhat it isExample
NumberThree digits, in job order, with gaps110
NameThe words your foremen already useTear-off and disposal
Cost typeA separate column: L labor, M material, S sub, E equipmentL
UnitWhat you count to measure productionSquares
Estimate lineThe line in your estimate it matchesTear-off, per square
RuleOne line on what goes in and what stays outIncludes loading the dumpster. Deck repair is 120.

Cost type belongs in its own column, not in the code number, which is how Planyard's guide keeps a list short. The unit matters just as much. A good code describes work a foreman recognizes and a quantity you can count, a test laid out well by Field PM.

How do you set up cost codes, step by step?

Work from your estimates down to the field, not from a standard list up. One afternoon with your estimator, one foreman and whoever does the books is enough for a first version.

  1. Pull your recent estimates. Three to five of them give you enough line items to work from, per Projul's setup guide. Pick jobs that look like your normal work.
  2. Write down every line item, then group them. A group is a stretch of work one crew does and a foreman would name without thinking: tear-off, dry-in, flashing.
  3. Cut what the field cannot tell apart. If a foreman would have to stop and think about which of two codes applies, make them one code.
  4. Give each code a unit. Squares, linear feet, cubic yards, each. No unit usually means the code is too vague to measure.
  5. Set your cost types. Labor, material, subcontract and equipment cover most companies. Keep them as a column next to the code.
  6. Number the codes in the order the job is built. Use three digits and count by tens (100, 110, 120). The gaps let you add a code later without renumbering.
  7. Add three catch-alls. One for extra work, one for warranty and callbacks, one called Other. Extra work gets its own code so it never hides inside the base contract.
  8. Write a one-line rule for each code and put the whole list on one page. Laminate it and keep a copy in every truck.
  9. Load the same list everywhere. Estimate template, timecard, purchase orders, accounting. Then run it on one job for two weeks and fix what the foreman tripped over.

How many cost codes is too many?

You have too many when a foreman cannot pick the right code from memory at the end of a shift. The published ranges are rules of thumb from vendors and trade press, not measured data, but they agree with each other. A first list of 25 to 40 codes is the range Rhumbix's contractor guide recommends. BuilderSolve puts the working range at 30 to 60 codes for residential and light commercial builders. A single-trade sub can run on far fewer. The sample list below has 12.

The daily count matters more than the total. A job costing column in ForConstructionPros sets a ceiling for the timecard: four real codes plus Other should cover everything one worker did that day. Three quick tests tell you when to trim or add:

  • Two codes always get the same hours on the same days. Merge them.
  • Other keeps growing week after week. You are missing a code for something the crew does a lot.
  • A code has gone unused across several jobs. Retire it.

Should you use CSI MasterFormat or NAHB codes?

Use a standard only when an owner or general contractor requires it, or when you are a GC buying out many trades. Otherwise build your own list and map it to the standard in the office. MasterFormat tops out at 50 divisions, with 15 to 25 showing up on a typical project, by Archdesk's 2026 guide. That is a filing system for specifications, and it is far more than a crew needs on a timecard.

Roofers will find their work in Division 07, where asphalt shingles carry section number 07 31 13 and membrane roofing 07 50 00, as the Mass Bid Estimation division list shows. Home builders and remodelers have a second option in the NAHB Chart of Accounts. The NAHB cost code list runs to about 100 codes in six groups, by Planyard's count. Either one works as a menu to borrow names from. Neither should go to the field whole.

What does a sample cost code list look like for a roofing company?

Here is a starter list for a residential re-roofing company. It is an illustration, not a standard. Change the names to match your estimates.

CodeNameUnitCost types used
100Mobilization and site protectionJobL, E
110Tear-off and disposalSquaresL, E
120Deck repairSheetsL, M
130Underlayment and dry-inSquaresL, M
140Shingle installSquaresL, M
150Flashing and sheet metalLinear feetL, M
160Vents and accessoriesEachL, M
170Gutters and downspoutsLinear feetL, M, S
180Cleanup and haul-offJobL, E
200Extra work and change ordersPer ticketL, M, E
210Warranty and callbacksVisitL, M
900OtherHoursL

A filled-in day (made-up numbers). A five-person crew works a 10-hour tear-off day, so the foreman has 50 crew-hours to code. He writes: 110 tear-off, 24 hours. 120 deck repair, 6 hours. 130 dry-in, 14 hours. 180 cleanup, 4 hours. 900 Other, 2 hours for a supplier delay. That is four real codes plus Other. If the estimate carried 20 hours for tear-off, you know that evening you are 4 hours over on one task, and you know which one. More on that check in how to track labor hours against the estimate.

What mistakes wreck a cost code list?

Most lists fail on the timecard, not on paper. These are the usual causes:

  • Codes that do not match the estimate. A code with no estimate line has nothing to compare against.
  • Office names instead of field names. If the crew says dry-in, the code says dry-in.
  • Cost type baked into the number. Separate labor and material codes for every task multiply the list for no gain.
  • No extra-work code. Unbilled extras vanish into base codes. Pair the code with a signed time and materials ticket.
  • Coding from memory on Friday. Hours get coded to wherever the foreman thinks they should have gone. Code daily. See how to collect crew timesheets from the field.
  • A different list on every job. One list, reused unchanged, is what lets you compare jobs, a point Buildxact also stresses.
  • Collecting data nobody reads. If no one looks at hours by code each week, the crew will stop caring which code they pick.

This is general business information, not legal, tax or accounting advice. Payroll and record-keeping rules vary by state and change, so check with your accountant before you change how hours are recorded.

How does an AI employee work with your cost codes?

An AI employee works from your cost code list. You still have to decide what the list is, so do the steps above first. BuilderStaff AI builds one AI employee per trade. Stanley, the heavy civil AI superintendent, knows the company's crews, equipment, cost codes and safety procedures, and helps with the morning JHA and the daily report.

For roofers, Rocco's jobs are picked one at a time. As of November 2026, the BuilderStaff site lists a Job Profitability Tracker at $89 a month (roofing) or $99 a month (other trades) that flags jobs running over on labor hours, and a Payroll & Timesheet Manager at $99 a month (roofing) or $119 a month (other trades) that collects hours, flags discrepancies and prepares a weekly timesheet for approval. The Enterprise build, which has no listed price, includes setting up your jobs, cost codes, crews and equipment. BuilderStaff says financial work always goes to a person for approval, and that before go-live it confirms what is ready today and what needs your software connected.

If you are not sure paperwork is where your hours go, the free Superintendent Productivity Audit and AI Savings Calculator take a few minutes and need no signup.

Frequently asked questions

Are cost codes the same as a chart of accounts?

No. The chart of accounts is your accountant's list for the company's profit and loss. Cost codes break one job into tasks. Your bookkeeper maps each cost code and cost type to the right account so the two reports agree.

Can I add or change a cost code in the middle of a job?

Avoid it. A new code mid-job splits the history for that task across two codes, and the budget comparison stops making sense. Write the idea down, then add the code when the next job starts.

Do I need software to use cost codes?

No. A spreadsheet with a column for the job, the code, the cost type, the hours or dollars and the date is enough to start. Software helps once the volume of timecards and bills makes hand entry slow. Get the list right first, because software will not fix a bad list.

Who should help build the cost code list?

The estimator, at least one foreman and whoever enters bills and payroll. The estimator knows the line items, the foreman knows what the crew can tell apart, and the bookkeeper knows how bills arrive. A list built by one of them alone usually fails the other two.

How often should I review the list?

Once a year is enough for most small contractors, plus a quick look after any job that lost money for reasons the report could not explain. Put a version date on the one-page list so every truck carries the same one.

Sources

  1. Construction Cost Codes: Setup Guide + Examples Projul
  2. Construction Cost Codes: The Complete Guide for Contractors Rhumbix
  3. Construction Cost Codes: Design Them for the Coder BuilderSolve
  4. Job Costing ForConstructionPros
  5. 2026 Guide to CSI MasterFormat Archdesk
  6. CSI Divisions List: All 50 MasterFormat Divisions + Codes Mass Bid Estimation
  7. Construction Cost Codes: How to Build a List That Works Planyard
  8. NAHB Chart of Accounts 2016 National Association of Home Builders
  9. Cost Codes and the WBS: Structuring Job Costing So It Actually Works Field PM
  10. Construction Cost Codes: A Simple Setup to Track Estimate Against Actual Spend Buildxact

Keep reading