AI idea

Use job costing with AI to stop the jobs that lose you money

Version 1, updated Nov 26, 2026

By the Bluhook team

This page is for owners and managers of small and medium businesses that sell work by the job. You'll use artificial intelligence (AI) to line up your recent finished jobs and spot the one that lost money. Then you'll open that job line by line to see where the money went. Last, you'll set up a weekly check for your next job that takes about 15 minutes. The first run takes about 2 hours. Prefer paper? Use the printable job costing worksheet.

The problem

Profit and costs came up in 537 posts and comments we counted in owner groups on Reddit. One contractor wrote that when the profit on a job is thin, one job that runs over budget can wipe out the year's profit.

If you only check a job at the end, you find the loss when the last bill comes in. By then the crew has moved on, and nobody remembers why the labor ran long.

Job costing means you compare what you planned a job would cost with what it did cost. Done each week, it shows a job going wrong while there's still time to act.

What you need

  • One AI chat tool. ChatGPT, Claude and Gemini all work.
  • Your last 10 finished jobs. For each one you need 3 numbers: the price the client paid, the actual cost and the budget. The budget is what you planned the job would cost you.
  • For one of those jobs, the budget and the actual cost line by line. Your estimate or quote has the budget. Bills, receipts and time sheets have the actual cost.
  • A spreadsheet, in Google Sheets or Excel.
  • About 2 hours for the first run, then 15 minutes a week.

Take out client names and staff names before you upload anything. Give each job a short label instead, like "Deck build".

Try it this week

You'll work in 3 steps:

  • Step A finds the job that lost money.
  • Step B shows where that job's money went.
  • Step C sets a weekly check so your next job doesn't go the same way.

Step A. Run a job profitability check on your recent jobs

For this step you need your list of finished jobs. Each one needs its label, price, budget and actual cost. Your accounting software may have a job report with these numbers. If it doesn't, pull them from invoices and bills.

  1. Put the jobs in a spreadsheet, one row each. Use 4 columns: Job, Price, Budget, Actual cost.
  2. Make sure each price includes the change orders the client paid for. A missing change order makes a good job look bad.
  3. Upload the spreadsheet to your AI chat. Type: "These are my most recent finished jobs. For each job, work out the margin in dollars (price minus actual cost) and as a percent of the price. Also work out how far the actual cost ran over or under the budget. Sort the jobs from lowest margin to highest. Flag any job that lost money."
  4. Type: "Which one job should I look into first, and why? Pick only one."

After step 3, the AI chat gives back a table like this one. Every number in this example is made up.

Job Price Budget Actual cost Margin Margin %
Bathroom remodel (lost money) $22,500 $20,000 $23,100 -$600 -3%
Laundry room remodel $15,700 $12,600 $14,000 $1,700 11%
Basement finish $36,000 $29,500 $31,600 $4,400 12%
New windows $14,600 $11,700 $12,400 $2,200 15%
Siding repair $11,300 $9,000 $9,350 $1,950 17%
Kitchen remodel $48,000 $38,400 $39,200 $8,800 18%
Roof repair $9,800 $7,600 $7,950 $1,850 19%
Deck build $18,500 $14,800 $14,700 $3,800 21%
Garage door and trim $6,400 $5,000 $5,000 $1,400 22%
Fence install $7,200 $5,500 $5,200 $2,000 28%
Total $190,000 $154,100 $162,500 $27,500 14%

After step 4, the AI chat might say: "Look at the bathroom remodel first. It is the only job that lost money. It also ran the furthest over its budget."

Now look at what the bathroom remodel was priced to make: $2,500. With that little room, a small overrun was enough to turn it into a loss.

Before you trust the table, check 3 things:

  • Add up the Price column yourself and compare it with the total.
  • Work out 2 margins by hand: price minus actual cost, divided by the price.
  • Ask yourself if any job still has a bill to come. A job missing a bill looks better than it is.

Then take the flagged job to step B. If no job lost money, take the one with the lowest margin.

Step B. Open the job that lost money, line by line

For this step you need the flagged job's budget and actual cost, one row per cost line. The estimate gives you the budget lines. Bills, receipts and time sheets give you the actual lines.

  1. Put the budget and the actual cost side by side in a spreadsheet, one row per cost line. Example: a row called "Labor hours", with 120 in the budget column and 165 in the actual column.
  2. Upload the spreadsheet to your AI chat. Type: "This is a job's budget next to what it actually cost. Which lines went over, by how much and by what percent? Sort them, biggest first."
  3. Type: "For the top 3 lines, what are the likely causes? Ask me questions if you need more facts." Answer its questions from what you know about the job.

For the made-up bathroom remodel, the AI chat gives back a table like this one after step 2:

Cost line Budget Actual Over by Percent over
Labor $6,000 $8,250 $2,250 38%
Tile and materials $4,000 $4,900 $900 23%
Plumbing subcontractor $3,000 $3,400 $400 13%
Permits $500 $500 $0 0%
Fixtures $6,500 $6,050 -$450 -7%
Total $20,000 $23,100 $3,100 16%

Every number in this example is made up. The labor line is the row from step 1, at $50 an hour.

The labor overrun alone ate almost all of the profit the job was priced to make. So the questions in step 3 start with labor. The AI chat might ask: did the tile take longer than planned, did the crew wait on parts, or did the client ask for a change?

Before you trust the answers, check 3 things:

  • AI can get math wrong. Check every total and percent on the top lines against your own numbers.
  • For labor, use total hours and one average hourly rate instead of each person's pay.
  • The AI chat only knows what's in the file. The person who ran the job knows why a line went over, so check the AI chat's guesses with them.

Then write down the one cause you and the person who ran the job agree on. If the estimate was too low, raise the labor hours on your next quote for that kind of job. Was the cause on the job site, like a crew waiting on parts? Step C will catch it next time.

Step C. Set a weekly job costing check for your next job

For this step you need the next job's budget, line by line. You also need one set day each week to check it, like Friday.

  1. In the same chat as step B, type: "Turn what we found into a weekly check for my next job. List 5 numbers to compare against the budget each week, and what to do when one runs more than 10% over."
  2. Save the weekly check where the person running your next job will see it.
  3. Each week, ask the person running the job how much of the work is done, like "60% done". Write that at the top of the week's numbers. Paste them into your AI chat. Type this line above them: "Here are this week's numbers for my open job, next to its budget. Which numbers are running ahead of the work, and by how much?"
  4. Run the check at the end of week 1 and week 2 of that job. A job you check in week 2 can still be fixed.

Here is a week 2 check on a made-up new basement job that is about 40% done. Every number in this example is made up.

Number Budget Used so far Share used Flag
Labor hours 180 95 53% Ahead of the work
Materials $8,000 $3,300 41% On track
Subcontractors $7,000 $2,100 30% On track
Change orders 2 asked for 1 signed 1 not signed yet
Days on the schedule 25 11 44% On track

The job has used more than half its hours with less than half the work done. You can see that with most of the job still ahead.

Before you trust the check, look at 2 things:

  • The share of work done is a guess. It comes from the person running the job, never from the AI.
  • Hours have to go in every week. A week of missing time sheets makes a job look fine.

Then call the person running the job that same day and ask what's using up the hours. Pick one fix: move a crew member, get the open change order signed, or change the order of the work. Have the client sign a change order by email or in person before the extra work starts.

Count what it's worth to you

A point of margin is 1% of your revenue that you keep as profit. Fill in these 3 lines from your own books:

  1. What your losing jobs cost you last year. Add up the loss on each job that lost money: $______
  2. Points of margin your overruns cost. Add up actual cost minus budget on every job you finished last year. Divide by last year's revenue, then multiply by 100: ______ points
  3. What 2 points of margin are worth to you. Your yearly revenue × 0.02: $______ a year

Here's the math on the made-up jobs from step A. Every number in this example is made up.

  • Line 1: one job lost money, the bathroom remodel. Its loss is in the table.
  • Line 2: together, the jobs ran $8,400 over budget. That's about 4% of what the clients paid for them, so the overruns cost about 4 points of margin.
  • Line 3: say the company brings in $1,800,000 a year and these jobs are typical. The 4 points lost to overruns come to $72,000 a year. Win back 2 of those points, and the company keeps $36,000 more a year.

When it works

Once the check works on one job, run it on every open job. Keep the table from each finished job in one folder. After 3 or 4 jobs, upload the tables together. Type: "Which cost line goes over most often, and by how much on average?"

The answer tells you which line to fix on your next quotes.

A team of AI agents can take on the bigger version of this work. They can pull the numbers from your books each week and flag a job before it runs over.

If your crew writes hours and parts on paper, turn that job sheet into a digital form first. The actual costs then land in a spreadsheet, ready for the weekly check. See all our AI ideas for small business.

Questions owners ask

What is job costing?

Job costing means you track the cost of each job on its own. That covers labor, materials, subcontractors and anything else the job uses. You compare those costs with the budget and the price. It tells you which jobs make money and which ones lose it.

What is a job profitability analysis?

It's step A on this page. You line up your finished jobs with the price, cost and margin of each. Then you sort them from lowest margin to highest. The jobs at the top of that list are where your profit leaks out.

What if my budget isn't broken out by line?

Use your estimate or the quote you sent the client. Those usually list labor, materials and subcontractors. If all you have is one total, break the next job's budget into 5 to 8 lines and run the weekly check on that job.

Do I need job costing software?

Not for this test. A spreadsheet with the budget and the actual cost side by side is enough. If the check proves useful on a few jobs, then look at software. By then you'll know which numbers you need it to track.

How often should I compare budget to actual?

Weekly, on the same day. A weekly check catches a line while the job is still running and there's time to change something. A check at the end only tells you what you lost.

Can I upload a job report from my accounting software?

Yes, if you can export it as a spreadsheet or PDF. Many accounting tools, QuickBooks included, can export a job report. Take out names and pay first, as the checks in step B say.

What counts as over budget?

Start with the limit you set in step C. A line past it gets a look that week. On work where the profit is thin, a smaller number, like 5%, catches trouble sooner.

Find the work your team could hand off

Ready to go past small tests? Our free AI evaluation looks where your team loses time: operations and paperwork; money, stock and buying; and customers, staff and delivery. It finds your top jobs for AI, each with its dollar value, and emails you a copy. No card, no call, only your email.

Get your free AI evaluation

All AI ideas

Robb on AI is our free newsletter, written by Robb Lejuwaan.

We'll add you to Robb on AI, our free newsletter on Substack. Unsubscribe anytime. Privacy policy