Class Tracking in Accounting: How to See Profit by Department, Location or Service Line

👉 Want to run a P&L by class on a real set of books? Open an instant live demo — no signup needed →

Quick answer: What is class tracking in accounting?

Class tracking adds a second label to every income and expense line: the account says what the money was, and the class says which part of the business it belonged to — a department, service line or branch. Run the profit and loss by class and each segment gets its own column, so you can see where the profit is really made. BizBooks Pro includes class tracking on every paid plan, with location and custom dimensions on Pro.

Class tracking in accounting exists to answer one question your ordinary profit and loss statement can’t: which part of the business made the money? A P&L that says you earned $96,000 last year is true and nearly useless for decisions. It blends the work that carries the company with the work that quietly drains it, and it gives you no way to tell them apart.

This guide covers how to design classes that will still make sense in three years, how to tag income and costs so the report means something, how to handle overhead without fooling yourself, and the five habits that turn a P&L by class into noise. One example runs throughout: a $1.2 million HVAC contractor with three service lines — Residential Service, New Construction and Maintenance Plans.

What Is Class Tracking in Accounting?

Your chart of accounts sorts money by its nature: wages, materials, fuel, rent, service revenue. That is the right axis for tax returns and the balance sheet, and it should stay lean. What it cannot do, without exploding into hundreds of accounts like “Fuel — New Construction”, is sort money by who it belongs to.

Class tracking adds that second axis. Each transaction line carries an account and a class. The general ledger is unchanged — debits still equal credits, and the totals on your regular P&L don’t move by a cent. What changes is that you can now slice the same numbers by segment.

What is the difference between a class and an account?

An account answers “what kind of money is this?” A class answers “which part of the business is it for?” A $340 fuel receipt for a new-construction crew is posted to Fuel Expense (the account) and tagged New Construction (the class). Keep that division clean and your chart of accounts stays short while your reports get far more useful.

Class vs. location: which should I use?

Use classes for what kind of work — departments, service lines, product lines. Use locations for where — branches, stores, warehouses, regions. Most businesses start with one. If the HVAC contractor later opens a second branch, adding locations lets it compare Residential Service at the north branch with Residential Service at the south one, without inventing six classes for every combination.

How to Design Your Classes Before You Tag Anything

Bad class lists are designed at the keyboard, one transaction at a time. Good ones are designed on paper first, against four tests:

  1. Every class is a decision. If you would never change prices, staffing or strategy for a segment, it doesn’t need its own class.
  2. Every transaction fits exactly one. Classes must not overlap. “Residential” and “Service Calls” can both describe the same invoice, which guarantees inconsistent tagging.
  3. There is a home for shared costs. Add an Overhead or Admin class for rent, the bookkeeper, insurance and software, so nothing is forced into the wrong segment.
  4. They are stable. A class list you keep for years lets you compare this year with last year. One you rebuild every spring can’t.

How many classes should a small business have?

Usually three to eight, plus Overhead. Below three, the report barely tells you more than the plain P&L. Above eight, whoever enters bills starts guessing, and an inconsistently tagged report is worse than none — it looks authoritative while being wrong. If you need finer detail, use sub-classes (Residential → Repairs, Residential → Installs) rather than more top-level classes; the parent rolls up its children automatically.

Classes are not for customers or jobs. Those already have their own records, and individual jobs belong in job costing. Classes are for the permanent parts of the business that the jobs belong to.

A Worked Example: The P&L by Class

Our contractor tags every invoice, bill, payroll line and expense with one of its three classes — or Overhead — for a full year. The ordinary P&L shows revenue of $1,200,000 and net profit of $96,000, an 8% margin. Here is the same year by class, showing direct revenue and direct costs only:

Residential ServiceNew ConstructionMaintenance PlansTotal
Revenue$540,000$420,000$240,000$1,200,000
Direct costs (labor, materials, vehicles)$300,000$345,000$96,000$741,000
Contribution margin$240,000$75,000$144,000$459,000
Contribution %44.4%17.9%60.0%38.3%
Overhead (unallocated)$363,000
Net profit$96,000
35%
of revenue from
New Construction
16%
of contribution from
New Construction
60%
contribution margin on
Maintenance Plans

The story the single-column P&L hid is now obvious. New Construction brings in over a third of the revenue but less than a sixth of the contribution. Maintenance Plans are the smallest line and the most profitable per dollar. That reframes the year: the owner’s instinct to chase more builder contracts is pointing the company at its thinnest margin. (If “contribution margin” is new, our guide to markup vs. margin covers the arithmetic.)

Shared Costs: The Overhead Allocation Question

The $363,000 of overhead — office rent, the dispatcher, insurance, software, the owner’s salary — serves all three lines. Whether to spread it across them is the most argued-about question in segment reporting.

Should I allocate overhead to classes?

Read contribution margin first, always. It tells you what each segment adds toward covering fixed costs, with no judgement calls baked in. Allocate only when you need fully loaded numbers — to set prices, or to know whether a segment covers its share — and say which basis you used. Here is the contractor’s overhead allocated by share of revenue:

ResidentialNew ConstructionMaintenanceTotal
Contribution margin$240,000$75,000$144,000$459,000
Overhead allocated (45% / 35% / 20%)$163,350$127,050$72,600$363,000
Fully loaded profit$76,650($52,050)$71,400$96,000

New Construction now shows a $52,050 loss, and the temptation is to shut it down. Do the arithmetic first. The office, the dispatcher and the insurance don’t disappear with it. Drop the line and the company loses its $75,000 contribution while keeping most of the $363,000 overhead — net profit falls from $96,000 to roughly $21,000. The right question is not “does it cover its allocated share?” but “can its margin be fixed, and what would replace it?”

Allocated overhead is an opinion expressed in dollars. Contribution margin is a fact. Make decisions on the fact, and use the opinion to price.

How do I record an overhead allocation?

With a journal entry that moves the cost between classes without changing the total. Say rent is $5,000 a month, posted to Rent Expense under Overhead, and you allocate it by floor space — 40% shop space for Residential, 30% each for the other two:

AccountClassDebitCredit
Rent ExpenseResidential Service$2,000.00
Rent ExpenseNew Construction$1,500.00
Rent ExpenseMaintenance Plans$1,500.00
Rent ExpenseOverhead$5,000.00
Totals$5,000.00$5,000.00

Rent Expense on the ordinary P&L is still $5,000; only its class split changed. Post it as a recurring entry at each month-end close, and revisit the basis once a year rather than every month.

Five Mistakes That Make a P&L by Class Useless

  1. Tagging income but not costs. Every segment then looks wildly profitable. Bills, payroll and card charges need classes too — that is where the work is, and where the insight is.
  2. Letting “Unclassified” grow. Every untagged dollar belongs to some segment you can’t see.
  3. Classes that duplicate accounts. A class called “Payroll” or “Marketing” is an account wearing a disguise. Classes describe parts of the business, not types of spending.
  4. Re-cutting the list mid-year. Renaming or merging classes in July makes January-to-June incomparable with what follows. Change them at year end.
  5. Splitting one cost across classes by guesswork. When one bill serves two segments, split it into two lines with a written basis — and use the same basis every time.

Why is there an “Unclassified” column on my P&L by class?

It collects every income or expense line saved without a class. A little is normal in the first month; a lot means the report can’t be trusted. Clear it at month end by tagging the missing lines, then make the class a required field so it can’t recur. It is the same discipline as categorizing expenses properly — just on a second axis.

How BizBooks Pro Handles Class and Location Tracking

Segment reporting only works if tagging is effortless and enforced, so that is where the software should do the heavy lifting.

See Which Part of Your Business Pays the Bills

Tag once, enforce it, and run a P&L by class or location whenever you need it. Desktop accounting software at one flat annual price — no monthly fee that climbs every renewal.

Start Free 30-Day Trial Try Live Demo

Frequently Asked Questions

What is class tracking in accounting?

A tag on each income and expense line recording which part of the business it belongs to — a department, service line or branch. The account says what the money was; the class says whose it was. Running the P&L by class gives each segment its own column, so you can see which part of the business actually generates the profit.

What is the difference between classes and locations?

Classes usually describe what kind of work a transaction belongs to, such as a department or service line. Locations describe where it happened — a branch, store or region. Many businesses need only one. Using both answers two-way questions, like how residential service performs at one branch versus another, without a class for every combination.

How many classes should a small business use?

Usually three to eight. Each class should be a part of the business you would make a real decision about — pricing, staffing, whether to keep offering it. Every transaction should fit exactly one, plus one class for shared overhead. Too many classes make tagging inconsistent, and an inconsistently tagged report is worse than none.

Should overhead be allocated to classes?

Look at contribution margin first, before any allocation — it shows what each segment adds toward fixed costs. Allocate only when you need fully loaded figures, such as for pricing, and state the basis used. Never close a segment on allocated figures alone: most overhead stays when a segment goes, and the remaining segments simply absorb it.

Why does my profit and loss by class have an Unclassified column?

It collects every income or expense line saved without a class. A little is normal at the start; a large or growing amount means the report can’t be trusted, because those dollars belong to a segment you aren’t seeing. Tag the missing lines at month end and make the class a required field so new entries can’t be saved without one.

Can I use class tracking for individual jobs or projects?

Better not. Classes work best as a short, stable list kept for years, so this year compares with last. Jobs come and go every week and would bury the list. Track jobs through job costing or a dedicated project dimension, and keep classes for the permanent parts of the business those jobs belong to.

The Bottom Line

Class tracking turns one blended number into an honest answer about where your profit comes from. Design a short, stable list; tag costs as faithfully as income; read contribution margin before you allocate anything; and never let Unclassified grow.

The first P&L by class is often uncomfortable, because it shows that the busiest part of the business isn’t the one paying the bills. That discomfort is the point. It is far cheaper to learn it from a report in October than from the bank balance in March. Once the segments are clear, a budget vs. actual report for each one is the natural next step.

Related Articles

Get the next guide by email

We publish one plain-English accounting guide a month. No daily digest, no sales sequence — just the new piece when it goes live.

One email a month. Unsubscribe from any of them in one click.