function calculateHvacPrice() {
// Get input values
var time = parseFloat(document.getElementById('laborTime').value);
var wage = parseFloat(document.getElementById('technicianWage').value);
var overhead = parseFloat(document.getElementById('overheadRate').value);
var parts = parseFloat(document.getElementById('partsCost').value);
var margin = parseFloat(document.getElementById('profitMargin').value);
// Validation
if (isNaN(time) || isNaN(wage) || isNaN(overhead) || isNaN(parts) || isNaN(margin)) {
alert("Please enter valid numbers in all fields.");
return;
}
if (margin >= 100) {
alert("Profit margin must be less than 100%.");
return;
}
// Calculations
// 1. Calculate Fully Burdened Labor Cost per Hour
var hourlyBurden = wage + overhead;
// 2. Total Labor Cost for this job
var totalLaborCost = time * hourlyBurden;
// 3. Total Direct Job Cost (Break-Even)
var totalJobCost = totalLaborCost + parts;
// 4. Calculate Final Price based on Margin
// Formula: Price = Cost / (1 – (Margin / 100))
var marginDecimal = margin / 100;
var finalPrice = totalJobCost / (1 – marginDecimal);
// 5. Calculate Profit Amount
var profitAmount = finalPrice – totalJobCost;
// Display Results
document.getElementById('resLaborCost').innerText = "$" + totalLaborCost.toFixed(2);
document.getElementById('resTotalCost').innerText = "$" + totalJobCost.toFixed(2);
document.getElementById('resProfit').innerText = "$" + profitAmount.toFixed(2);
document.getElementById('resFinalPrice').innerText = "$" + finalPrice.toFixed(2);
// Show results container
document.getElementById('results').style.display = "block";
}
Understanding HVAC Flat Rate Pricing
In the HVAC industry, pricing strategies generally fall into two categories: Time and Materials (T&M) or Flat Rate Pricing. While T&M billing leaves the final cost unknown until the job is done, Flat Rate Pricing provides the customer with a guaranteed upfront price for a specific repair or installation.
This HVAC Flat Rate Pricing Calculator helps contractors and business owners determine the correct selling price for a service task to ensure all costs are covered and a specific profit margin is achieved.
Why Use Flat Rate Pricing?
Flat rate pricing is widely adopted by successful HVAC service companies for several reasons:
Customer Satisfaction: Clients prefer knowing exactly what they will pay before work begins, eliminating "sticker shock."
Efficiency: Technicians can focus on the repair rather than watching the clock or justifying hours to a skeptical homeowner.
Profitability: It ensures that overhead costs and non-billable time are factored into every ticket, protecting the business's bottom line.
How the Calculation Works
Developing a profitable flat rate price requires accurate knowledge of your business costs. This calculator uses a "Gross Margin Pricing" method, which is standard for service trades.
The Formula: Final Price = (Labor Cost + Overhead + Parts Cost) / (1 – Target Profit Margin %)
Input Definitions
Estimated Labor Time: The average time it takes a technician to complete this specific task (including diagnosis, repair, and cleanup).
Technician Hourly Wage: The raw hourly pay of the technician performing the work.
Overhead Cost per Billable Hour: This is a critical metric. It represents your total business operating expenses (rent, insurance, trucks, dispatchers, marketing) divided by the total number of billable hours your team produces in a year. Without this, you are underpricing your work.
Parts Cost: The direct cost to you for the materials required for the repair.
Target Net Profit Margin: The percentage of the final ticket price that you want to keep as net profit after all costs are paid.
Example Calculation
Let's look at a realistic scenario for replacing a capacitor:
Time: 1.0 Hour
Technician Wage: $28.00/hr
Overhead: $65.00/hr (Calculated from annual budget)
Parts Cost: $20.00
Target Margin: 20%
Step 1: Calculate Total Costs
($28 Labor + $65 Overhead) * 1 Hour + $20 Parts = $113.00 Total Cost
Step 2: Apply Profit Margin
To achieve a 20% margin, we divide the cost by (1 – 0.20) or 0.80.
$113.00 / 0.80 = $141.25 Final Price
By using this calculator, you ensure that every job contributes correctly to your overhead and profit goals, rather than guessing at prices.