A cost code is the label that tells your accounting system what kind of work a cost belongs to. Most contractors build their cost code list on CSI MasterFormat divisions (03 Concrete, 09 Finishes, 26 Electrical), then add a cost type such as labor, material, equipment, subcontract or other.
How it works
- Build a company list. Accounting and operations agree a standard list of codes and cost types. The list is shared by estimating, project management, payroll and AP.
- Estimate with it. The estimate is organized by the same codes, so each code has a budgeted amount and, for self-performed work, budgeted quantities and hours.
- Set up the job. The estimate becomes the job budget, coded line by line. Codes the job won’t use stay switched off.
- Commit. Subcontracts and purchase orders are coded to the lines they cover.
- Record actuals. Timecards, equipment hours, invoices and subcontractor pay apps are each coded as they’re entered.
- Report. The cost report compares budget, committed cost, actual cost and forecast cost by code and cost type.
Worked example
A typical code might read 26-0500-L: division 26 (Electrical), section 0500 (common work results), cost type L (labor). On Riverside Medical Center, Volt Electric’s subcontract sits under division 26 with cost type S, while the GC’s own electrical coordination labor sits under the same division with cost type L. Both roll up to Division 26 on the cost report. (Illustrative.)
Illustrative (sample data) of how that rolls up on the cost report:
| Code | Description | Budget | Committed | Actual to date | Forecast at completion |
|---|---|---|---|---|---|
| 26-0500-L | Electrical coordination labor | $48,000 | n/a | $31,200 | $52,500 |
| 26-0500-S | Volt Electric subcontract | $1,840,000 | $1,872,000 | $1,104,000 | $1,872,000 |
| 26-0500-M | GC-furnished spare parts | $12,000 | $11,400 | $11,400 | $11,400 |
| Division 26 | $1,900,000 | $1,883,400 | $1,146,600 | $1,935,900 |
Division 26 is forecast $35,900 over budget. The detail shows why: the subcontract was bought out $32,000 over its budget line, and coordination labor is trending $4,500 over, partly offset by $600 saved on spare parts. A single “Electrical” code would show the total but not which of the three to act on.
Cost code vs related classifications
| Classification | What it groups | Who uses it |
|---|---|---|
| Cost code | Job cost by work activity | Estimators, PMs, job cost |
| Cost type | Job cost by nature: labor, material, equipment, sub, other | Job cost, payroll, AP |
| GL account | Company transactions for the financial statements | Accounting |
| Schedule of values line | Contract value for billing the owner | Owner, architect, billing |
| WBS element | Scope for planning and scheduling | Schedulers, project controls |
MasterFormat, published by CSI and Construction Specifications Canada, is common in the US and Canada. In the UK, cost plans are usually structured by elements following the RICS New Rules of Measurement, and some firms use the Uniclass classification.
Why it matters
Cost codes are the bridge between the estimate, the budget, the field and the books. If the estimate is built on one structure and the accounting system uses another, every comparison needs a spreadsheet translation, and that translation is where errors and delays come from. A consistent cost code list makes job cost reports, productivity tracking and future estimates trustworthy.
Coded actuals are also the history the next estimate draws on. If labor hours for slab-on-grade are coded consistently across jobs, the estimator can see real production rates. If they’re scattered across whatever code was nearest, that history is lost.
For a step-by-step setup, including mapping codes to the GL and the schedule of values, see how to set up construction cost codes.
Common mistakes
- Too many codes. If foremen need a lookup table to code a timecard, they’ll pick whatever is closest.
- Too few codes. Lumping all of Division 09 together hides which finish trade is over.
- Changing the code list mid-job, which breaks budget-to-actual history.
- Coding the budget and the actuals with different cost types, so variances appear that aren’t real.
- Letting every project create its own codes, so jobs can’t be compared.
- Using a catch-all “miscellaneous” code that ends up holding a large share of cost.
How os.construction handles it
Cost codes are project dimensions used by budgets, commitments and supported accounting source lines. Review coding before AP or payroll posts job cost; an uncoded or incorrectly coded source needs correction in its own workflow. See Accounts payable.
Watch the explainer · 3:06
CSI MasterFormat explained: divisions to cost codes
- 0:00A shared numbering system
- 0:24From 16 divisions to 50
- 0:47How the divisions are grouped
- 1:10Reading a section number
- 1:34One number, many records
- 1:54From spec section to cost code
- 2:17MasterFormat versus UniFormat
- 2:36Mistakes to avoid
Read the transcript
CSI MasterFormat is the standard numbering system for organizing construction specifications by type of work. It's published by the Construction Specifications Institute and CSI Canada. Concrete lives in Division zero three, finishes in zero nine, electrical in twenty-six. Because architects write specs this way, it becomes a shared language for the whole job.
Since the two thousand four edition, MasterFormat has fifty division numbers, zero zero through forty-nine. Before that, there were just sixteen divisions, with mechanical work in Division fifteen and electrical in sixteen. The expansion gave fire suppression, plumbing, HVAC, electrical and communications their own divisions, and several numbers are reserved for future use.
The divisions fall into groups. Division zero zero covers procurement and contracting, and Division zero one holds general requirements, like closeout and testing. Facility construction runs from zero two to fourteen, facility services from twenty-one to twenty-eight, site and infrastructure from thirty-one to thirty-five, and process equipment from forty to forty-eight.
Section numbers are three pairs of digits. Take twenty-three, thirty-three, zero zero: Air Duct Accessories. Twenty-three is the division, HVAC. Twenty-three, thirty, zero zero is the broader group, HVAC Air Distribution. The last pair narrows it to the section where fire and smoke dampers are specified, and a decimal extension can add one more level.
That one number can tie the job together. The spec section says what's required. The damper submittal is logged against it. The mechanical subcontract scope references it. And the budget line can carry the matching cost code, so anyone tracing a fire damper question lands on the same section.
Many contractors base cost codes on MasterFormat, but it describes work results, not cost types. So most add a cost type: labor, material, equipment, subcontract or other. In this illustrative setup, section twenty-three, thirty-three, zero zero becomes cost code twenty-three thirty-three hundred, with a subcontract line in the budget.
MasterFormat isn't CSI's only standard. UniFormat organizes by building element, like substructure, shell, interiors and services, which suits early estimates before specs exist. Some estimators start in UniFormat and map to MasterFormat as the design develops.
Watch for three common mistakes: using the old sixteen-division format, creating a cost code for every spec section, and renumbering codes job by job, which breaks historical comparisons. In os.construction, project cost codes can follow MasterFormat, the budget groups lines by division with a cost type on each, and the submittal log shows each submittal's spec section.
Video page with chaptersMore in Construction concepts explained
FAQ
What is a cost code in construction?
A cost code is a label that classifies a job cost by the piece of work it belongs to, such as concrete foundations or gypsum board, usually combined with a cost type such as labor, material, equipment, subcontract or other. The estimate, budget, commitments, timecards and invoices all use the same codes so they can be compared.
What is the difference between a cost code and a cost type?
The cost code says what work the cost is for. The cost type says what kind of cost it is. Electrical rough-in can have labor, material and subcontract costs under the same code, and the cost type keeps them apart on the job cost report.
What is the difference between a cost code and a GL account?
A general ledger account classifies a transaction for the company's financial statements, such as cost of revenue for subcontracts. A cost code classifies it within a job. A single GL account usually holds costs from many jobs and many cost codes.
Should cost codes follow CSI MasterFormat?
Many commercial contractors base their codes on MasterFormat divisions because specifications, subcontracts and many estimates already use them. Contractors who self-perform a lot of work, or who build the same type of project repeatedly, often use their own codes that match how crews actually work. Either works if it's applied consistently.
How many cost codes should a contractor have?
Enough to show where money is being made or lost, and few enough that people in the field can code time correctly without a lookup table. Many contractors keep a company standard list and switch on only the codes each job uses.
