Skip to content
GUIDES#AI for contractors

Project Profitability Analysis for Contractors with AI: Finally Know What Each Project Actually Earns [2026]

The semi-annual report says the company is profitable. It does not say which project is earning and which is quietly burning cash. Here is how to build the analysis your systems never produce, including exactly what to ask your bookkeeper for.

Yaakov Tzedek
Yaakov Tzedek · AI expert·10 min read
Project-level profitability analysis for contractors with AI
THE BOTTOM LINE
  • The problem is not a lack of data, it is fragmentation: revenue lives in the bookkeeping, payroll lives in the pay slips, and staff allocation lives with the site managers.
  • Four files are enough to get started, and the exact list to request from the bookkeeper is below, ready to copy.
  • Loaded labor costs change everything: a project that looks profitable before loading often turns out to be loss-making once labor is allocated.
Profit by projectThe missing figure
At least 3 sourcesData fragmentation
A few hoursInitial setup
MinutesFrom month two onward
DID YOU KNOW?

The reason most contractors do not know what each project earns is not a lack of data, it is fragmentation: revenue sits in accounting, payroll sits in pay stubs, and work hours live in the site manager's head. No single system sees all three together, and that is exactly what an AI analysis layer is built to unify.

The periodic report says the company is fine. It doesn't say which project earns 18%, which one is quietly bleeding money, or where labor costs are eating the margins. Finding that out requires cross-referencing three sources that no single system sees together, and that is exactly what an AI analysis layer does. This guide is built both for the contractor who wants the answer and for the accountant who wants to deliver it to their client.

In short (TL;DR)

  • The problem is not a lack of data, it is fragmentation: revenue lives in the bookkeeping, payroll lives in the pay slips, and staff allocation lives with the site managers.
  • Four files are enough to get started, and the exact list to request from the bookkeeper is below, ready to copy.
  • Loaded labor costs change everything: a project that looks profitable before loading often turns out to be loss-making once labor is allocated.
  • No systems are replaced. Export, cross-reference, dashboard. Setup takes a few hours; from the second month onward, minutes.

Why no report answers the most important question

"How much did we earn" has an answer. "How much did we earn on this project" falls through the cracks, for a structural reason: bookkeeping records by account codes and line items, not by projects. Revenue is recorded, direct costs are recorded, but the project attribution lives inside references and descriptions. Payroll data sits in a completely separate file, and who worked on what, the figure without which loaded allocation is impossible, lives with the site managers and sometimes only in memory.

Every contractor knows this feeling: a wrap-up meeting with the accountant, a standard periodic report on the table, and a sense that the numbers are correct but answer no management question at all. And from the other side of the table, accountants know the moment when the client says it out loud: this isn't relevant to me, I want a profitability breakdown by project.

The good news: the gap between the generic report and the real analysis is not a new system. It is four files and one cross-reference.

Step 1: The four files

From the bookkeeper, and this is the request ready to copy:

Please export for the period [X]: 1) Full transaction ledger with columns for date, account, amount, reference, and description. 2) Employer payroll costs by employee. 3) If available in the system, a breakdown by profit centers.

From you or your site managers: a monthly allocation table, every employee, which project, what percentage of their time. An honest estimate is enough to start. Do not wait for a per-project time clock. And a list of active projects with start dates.

If any of this does not exist, that itself is an answer: the first stage of the analysis is discovering exactly which data is missing in order to know the truth, and that alone makes the exercise worthwhile.

Step 2: Confidentiality, in one minute

The files contain employee names and salaries. Before anything is uploaded to a tool, run a local step that replaces names with consistent pseudonyms (Employee A, Employee B) and saves a mapping table on your end. The amounts without the identities are sufficient for the analysis. The full rule, including the ready-made script, is in the Hashavshevet guide, and it applies identically to any accounting software.

Step 3: The cross-reference

Put the files in a single working folder, open Claude Code in that folder, and ask:

In the folder: a transaction ledger, employer payroll costs, and a staff-to-project allocation table.
Build a profitability analysis by project for the period:
1. Attribute every revenue and expense entry to a project based on the reference and description.
   Any entry you could not attribute, list under "unattributed". Do not guess.
2. Load each employee's payroll cost onto the projects according to the allocation table.
3. Display a table: Project | Revenue | Direct costs | Loaded payroll | Profit | Profit margin.
4. Add an "unattributed" row so that the total matches the full ledger.
5. Note next to each figure which file and row it came from.
At the end: three insights in plain language, and a list of data that was missing or estimated.

Pay attention to instruction 4, it is the most important control: if the sum of all projects plus "unattributed" equals the total ledger, no shekel was invented and no shekel disappeared. And the instructions "do not guess" and "note the source" are what turn the table into a verification rather than an educated guess.

Step 4: Reading the result correctly

Three things that almost always surface on the first run:

Loading changes the story. A project that looks profitable based on direct costs alone turns out to be loss-making the moment payroll is allocated. This is exactly the information the general report conceals, because there the entire payroll sits in a single overhead line.

The "unattributed" list is a map of recording gaps. If a quarter of the transactions cannot be attributed, the problem is not the tool, it is the references, and that is a tidy work list for the bookkeeper: from now on every invoice gets a project name.

Estimates are flagged. If the allocation was based on estimated percentages, the analysis says so. Sharpen accuracy gradually. Do not wait until everything is perfect.

And the iron rule: the output is raw material. Before any conclusion reaches a decision or a client, verify three numbers against the source.

Step 5: From a one-off report to a routine

Once the first run comes out correctly, save the workflow as a Skill. The following month: fresh export, run, check, and it is on the table. You can also request a dashboard version for a management meeting, or a formatted deliverable for a client.

For accountants presenting this to clients: this is exactly the kind of service that shifts a firm from "the people who file the reports" to "the people the client calls before every decision," and we expanded on that in the guide for accountants. Contractors who want the full picture of what else can be optimized will find a complete AI guide for contractors.

The next step

Pick one project that is wrapping up this month and run the process on it. If the result surprises you, and for most people doing this for the first time it does, you will know it is time to run it on everything. Need someone to do this with you on your real data? Guidance and implementation · Focused private session · Get in touch

Frequently asked questions

Was this article helpful?
Share:WhatsAppLinkedInX
Yaakov Tzedek
WRITTEN BY

Yaakov Tzedek

An Israeli AI lecturer, consultant and implementer who has supported 100+ organizations in AI implementation and lectured for 200+. Official content partner of Meta, Google, Canva and TikTok, featured on Israel's Channel 13.

More about Yaakov →