QuickBooks Desktop Profit & Loss by Class: See Which Part of the Business Makes Money, and Ask AI Why (2026)
Short answer: In QuickBooks Desktop, go to Reports > Company & Financial > Profit & Loss by Class. It puts each class, such as a department, a location or a type of work, in its own column, with an Unclassified column for anything that has no class. To put this year next to last year, open Customize Report and, on the Display tab under Add subcolumns for, tick Previous Year with $ Change and % Change, and % of Income for each class's margin. The report shows how much each class made, not why its margin moved, and it doesn't spread overhead over the other classes. To get the why, connect an AI assistant (Claude, ChatGPT and others) through LedgerCrossing and ask "Which class is really making us money, and why did its margin change?" The assistant compares the two years, breaks each class's profit down by what it sells, and finds where the costs are booked.
Updated November 26, 2026. QuickBooks is a trademark of Intuit Inc.; LedgerCrossing is not affiliated with or endorsed by Intuit.
Run Profit & Loss by Class
- If class tracking is off, turn it on: Edit > Preferences > Accounting, the Company Preferences tab, then tick Use class tracking for transactions. Tick Prompt to assign classes too if you want QuickBooks to remind you to assign one.
- Go to Reports > Company & Financial > Profit & Loss by Class. It opens on This Fiscal Year-to-date, with one column per class, then Unclassified and TOTAL.
- Set Dates to the period you want, for example This Fiscal Year.
- To compare with last year, select Customize Report. On the Display tab, under Add subcolumns for, tick Previous Year, then $ Change and % Change. Tick % of Income too: on the Gross Profit line, it's each class's gross margin for this year. Select OK. Previous Period works the same way.
- Each class now has five columns: this year, last year, the change in dollars, the change in percent and % of Income. To see the transactions behind any amount, double-click it (QuickZoom). That opens Transaction Detail By Account for that account, that class and that period.
Which editions? We ran it in QuickBooks Enterprise.
The built-in class reports
| Report | Where | What it shows |
|---|---|---|
| Profit & Loss by Class | Reports > Company & Financial | Income, costs and profit for each class side by side, plus Unclassified and the total. Add Previous Year with $ Change and % Change, and % of Income for margins |
| Profit & Loss Unclassified | Same submenu | Only the amounts that have no class |
| Balance Sheet by Class | Same submenu | The balance sheet, split by class |
| Transaction Detail By Account | Double-click an amount in Profit & Loss by Class | The transactions behind that amount, for that class and period |
Where the built-in reports stop:
- They show how much each class made, not why. To find out why a margin moved, you open the amounts behind it one at a time, or run the detail, item and job reports for each class and compare them.
- Overhead is just another column. If rent, wages and insurance go to an Overhead class, Profit & Loss by Class shows it as a loss of its own. It doesn't spread it over the other classes, and the report has no option to. Profit after overhead for each class is your own calculation.
- Unclassified sits outside every class. In Intuit's sample company file, one 2024 depreciation entry of $44,435.91 has no class. Read the Overhead column alone and overhead grew $128,263.91 from 2024 to 2025; count that entry as overhead and it grew $83,828.00.
- Where costs are booked decides which class looks best. In the sample file, the crews' wages go to Overhead, so the labor both job classes bill carries no cost in their columns.
- % of Income covers this year only in the year-on-year view. For last year's margins, run the report for last year, or divide gross profit by income.
- One company file at a time.
How to ask an AI assistant which class is really making money, and why
1. Connect an AI assistant to QuickBooks Desktop
LedgerCrossing runs on the computer where QuickBooks Desktop runs. Then connect one of these:
- claude.ai, ChatGPT, Meta Muse or Grok Bot from anywhere, through LedgerCrossing Remote ($39/mo). Setup: How to connect ChatGPT to QuickBooks Desktop; the others use the same address. A profit question only reads your books, so Remote's read-only default is all you need. ChatGPT needs Business, Enterprise or Edu, the plans OpenAI lists for custom MCP connectors; on Business, a workspace admin or owner adds LedgerCrossing.
- Claude Desktop on that computer or another computer in your office. Setup: How to connect Claude to QuickBooks Desktop.
- Claude Code, Cursor, VS Code, Codex or Gemini CLI on that computer or another computer in your office. Setup: QuickBooks Desktop MCP server quickstart.
2. Ask in plain words
Start with the one question:
In Acme.qbw, compare profit by class for this year vs last year. Which class is really making us money, and why did its margin change?
Then go deeper:
Is anything unclassified? Tell me what it is and how it changes the overhead trend.
For each class, split gross profit by what we sell: materials, subcontracted work and our own labor. Which income has no cost against it in that class?
Split Overhead over the other classes by share of income, then by share of labor income. Show both, and say it's your calculation, not QuickBooks'.
For the class whose margin fell, which jobs had the thinnest margins this year, and did our prices or our costs per item change?
3. Check one number
The first time, check one class's gross profit against Profit & Loss by Class in QuickBooks. The assistant reads QuickBooks' own report, so the totals should match. Anything after overhead is the assistant's own calculation: check that it says how it split the overhead.
What the answer looks like
In Intuit's sample company file, a construction business with three classes (New Construction, Remodel and Overhead), we asked Gemini CLI, running on the QuickBooks computer, "Compare profit by class for 2025 vs 2024. Which class is really making us money, and why did its margin change? Use plain full-year totals, not monthly." Gemini ran Profit & Loss by Class once for each year, then the 2025 job profitability report, one invoice and one item. QuickBooks' numbers:
| Class | Net income 2024 | Net income 2025 | $ Change | Gross margin 2024 → 2025 |
|---|---|---|---|---|
| New Construction | 43,696.00 | 78,577.18 | 34,881.18 | 60.1% → 42.8% |
| Remodel | 54,196.71 | 191,161.43 | 136,964.72 | 56.2% → 71.8% |
| Overhead (expenses, no income) | −27,914.01 | −156,177.92 | −128,263.91 | |
| Unclassified | −44,435.91 | 0.00 | 44,435.91 | |
| Net income, whole company | 25,542.79 | 113,560.69 | 88,017.90 | 57.8% → 60.0% |
Intuit's SDK, the connection outside apps use to read QuickBooks, returns this report without the $ Change and % Change columns, so Gemini worked out the changes from the two years. Every figure in its table and its text matched QuickBooks, 74 table cells in all. And it found the main reason Remodel looks so good:
- Remodel makes the money. $191,161.43 in 2025 before overhead, 2.4 times New Construction's $78,577.18.
- Remodel's margin rose with its own crews. In 2024, Remodel was mostly subcontracted work. In 2025 it billed $189,105.49 of its own labor and design. The crews' wages are booked to the Overhead class, so in Remodel's column that income has no cost against it. Gemini called it a "Free Labor" classification distortion. That's the key finding, and it's right.
- New Construction's margin fell on materials and subcontractors. In 2025, materials cost 90.2% of what New Construction billed for them. Subcontractors cost 70.8% of what it billed for their work, up from 47.3%.
Its numbers were right; its story had gaps. Of its 10 statements about why, 8 were right:
- It never said what Unclassified is. Its table shows $44,435.91 in 2024 and nothing else. That's one depreciation entry with no class, and 2025 has none. It's about a third of the apparent growth in overhead and about half of the rise in net income.
- It missed that New Construction gets the same free labor. New Construction's labor income rose from $11,203.50 to $52,696.44, also with no cost in its column.
- It didn't explain why Overhead grew. Payroll, new in 2025, is $130,804.28 of it. The rest of Overhead fell $2,540.37.
- It split overhead without saying how. It put Remodel at "
$91k" and New Construction at "$45k" after payroll. Those figures match a split by each class's share of labor income, but Gemini didn't say so, or that QuickBooks doesn't make that split.
That's why step 3 says check how the assistant split the overhead.
The transactions also hold more than Gemini looked for:
- Price or cost? In New Construction, the average price of a window sold fell 11%, from $399.10 to $354.21, while the average cost of one bought rose 74%, from $178.27 to $311.03.
- Which jobs? In 2024, New Construction's six jobs all made 37% to 78% gross margin. In 2025 it had 30, and two of its three largest made 19.2% and 22.7%.
- After overhead? QuickBooks doesn't split Overhead over the other classes, so here are two simple splits of 2025's Overhead ($156,177.92). They're our calculation, not QuickBooks output:
| Split Overhead by | New Construction after overhead | Remodel after overhead |
|---|---|---|
| Share of income (New Construction 40.8%) | 14,901.21 | 98,659.48 |
| Share of labor income (New Construction 25.3%), since the overhead is mostly wages | 39,052.61 | 74,508.08 |
Either way, Remodel makes more after overhead: 1.9 to 6.6 times as much. Split by income the same way, 2024 was nearly a tie, $12,598.39 for New Construction and $12,944.40 for Remodel, counting the unclassified depreciation as overhead.
The follow-up questions in step 2 ask for exactly these.
Tips
- Check Unclassified first. Run Profit & Loss Unclassified, or ask the assistant what's in the Unclassified column. In the sample file, that one line is a third of the apparent overhead growth.
- Read profit and margin together. In 2025, New Construction made more money at a much lower margin: gross profit up $34,740.33, gross margin down from 60.1% to 42.8%. Ask the assistant to say both in words; Gemini's table showed both, but its text only said "Margin Collapse".
- Know where your wages go. If payroll is classed to Overhead, a class that bills your own crews' labor looks richer than it is. Ask which income in each class has no cost against it.
- Ask for the split and its basis. For profit after overhead by class, name the basis (income, labor or hours) and ask the assistant to say the split is its own calculation.
- Break gross profit down by what you sell. Inside one class, materials, subcontracted work and your own labor can move in opposite directions. Remodel's subcontracting margin fell from 52.6% to 9.9% in 2025 while the class's margin rose.
- Turn on Prompt to assign classes. QuickBooks then reminds whoever enters a transaction to assign a class. It's off in the sample file.
- On Gemini CLI, expect to approve each call. Gemini CLI asks before each LedgerCrossing tool call; this answer took 22.
- Want it in Excel? Claude can hand the comparison back as an Excel file. See QuickBooks Desktop reports to Excel with AI.
Frequently asked questions
How do I run a profit and loss by class in QuickBooks Desktop? Turn on class tracking first: Edit > Preferences > Accounting, the Company Preferences tab, then Use class tracking for transactions. Then go to Reports > Company & Financial > Profit & Loss by Class. It opens on This Fiscal Year-to-date, with one column per class plus Unclassified and the total; change Dates to the period you want. Only amounts that carry a class show in a class's column.
Can I compare profit by class with last year in QuickBooks Desktop? Yes. In Profit & Loss by Class, select Customize Report, and on the Display tab under Add subcolumns for, tick Previous Year with $ Change and % Change. Tick % of Income to see each class's margin for this year. Set Dates to This Fiscal Year for a full-year comparison.
What does Unclassified mean on a profit and loss by class? It's every amount posted without a class. Profit & Loss Unclassified, in the same submenu, lists just those amounts. In Intuit's sample company file, it's one 2024 depreciation entry of $44,435.91, and about a third of the apparent growth in overhead from 2024 to 2025 is that one line.
Does QuickBooks Desktop allocate overhead to classes? Not in Profit & Loss by Class. An Overhead class is just another column, and the report has no option to spread it over the others. To see each class after overhead, split the costs across classes when you enter them, calculate a split yourself, or ask an AI assistant to, on a basis you name, such as share of income or of labor.
Can QuickBooks Desktop tell me why a class's margin changed? Not on its own. Profit & Loss by Class shows each class's income, costs and margin. To find out why a margin moved, you read the detail behind it: which items, jobs and costs changed. An AI assistant connected through LedgerCrossing can run those reports and explain it.
Does QuickBooks Desktop have AI? Not built in. Intuit's AI assistant and its Claude and ChatGPT connectors cover QuickBooks Online and Intuit's newer suites. The QuickBooks Desktop 2024 release notes through June 2026 list no AI features. You can still use AI with Desktop by connecting an assistant through LedgerCrossing.
Can ChatGPT or Claude analyze my QuickBooks Desktop profit by class? Yes, through LedgerCrossing, a Windows app on the QuickBooks computer. claude.ai, ChatGPT, Meta Muse and Grok Bot connect from anywhere through LedgerCrossing Remote. Claude Desktop, Claude Code, Cursor, VS Code, Codex and Gemini CLI connect on that computer or your office network. The assistant runs QuickBooks' own Profit & Loss by Class and the reports behind it, so the numbers come from your company file.
Does it change anything in my books? Not to answer a profit question; reports only read. On the QuickBooks computer or your office network the assistant can also make changes if you ask it to, as the QuickBooks user LedgerCrossing signs in as. If someone has the company file open in QuickBooks on that same computer, requests run in their session, as their QuickBooks user. Over LedgerCrossing Remote, everyone starts read-only. Details: Security and IT review.
Where does my data go? The report goes to the AI provider you connected, under your account with them. LedgerCrossing sends only what the assistant asks for and sends no QuickBooks data to us.
How much does it cost? LedgerCrossing is $299 one-time per computer (limited-time price, rises to $349), with unlimited company files and a 30-day money-back guarantee. claude.ai, ChatGPT, Meta Muse and Grok Bot connect through LedgerCrossing Remote, $39/mo. Claude Desktop, Claude Code, Cursor, VS Code, Codex and Gemini CLI on the QuickBooks computer or office network are included.
Which QuickBooks Desktop versions work? Pro, Premier, and Enterprise, 2019 and later, on Windows 10 or 11, and Windows Server 2016–2025. Older versions back to 2014 use the same Intuit connection and should work, though we haven't tested them; the 30-day guarantee covers you.
Related: AI for QuickBooks Desktop · QuickBooks Desktop P&L comparison · QuickBooks Desktop job profitability report · QuickBooks Desktop budget vs. actual · QuickBooks Desktop cash flow forecast · QuickBooks Desktop sales by customer summary · QuickBooks Desktop expenses by vendor summary · QuickBooks Desktop sales by item summary · QuickBooks Desktop reports to Excel with AI · QuickBooks Desktop API · Reach QuickBooks Desktop from anywhere
Buy LedgerCrossing — $299 → One-time, per computer, unlimited company files, 30-day money-back guarantee.