The cost of commercial heat treating is based on what the market will bear. Despite this, you can come to an understanding of your costs. Some jobs make hay, others are just barely worth doing.
For a given profit center, like the nitriding line or the carburizing line, etc, add up all the monthly costs, from gas, electric, water, maintenance, overhead, labor, average alloy consumption, atmosphere, etc. Add up available furnace hours (Usually 620, including Saturday). Divide the costs by the number of available furnace hours. This will give you a general hourly rate for that profit center.
Then you will be ready to analyze a particular job.
Let's say you try to get $100/hour for a Super30 Allcase, a not-unreasonable rate. This includes 1 wash, 1 temper, 1 inspection. This does not include 2nd temper, freezing or other add-ons. Some jobs will be at an $80/hour rate, but you get to put 3 additional minimum orders in that load per day, average. If those minimums are let's say, $75 each, then you got $225 more for that cycle. If the cycle was 3 hours load-to-quench, and you were getting $240 for that load, now you made $465 for that load. (That's $155/hour.)
Straight analysis of the regular run says you are losing $60/load, but that is where you beat the in-house heat treaters, by combining jobs from various customers.
I just go on and on. I'll stop now.