Please enter valid positive numbers for hours and income.
Minimum Hourly Rate (Break-even):$0.00
Recommended Hourly Rate:$0.00
Total Billable Hours / Year:0
Total Annual Revenue Target:$0.00
function calculateServiceRate() {
// 1. Get input values
var income = parseFloat(document.getElementById('desiredIncome').value);
var overhead = parseFloat(document.getElementById('monthlyOverhead').value);
var hoursPerWeek = parseFloat(document.getElementById('billableHours').value);
var weeksOff = parseFloat(document.getElementById('weeksOff').value);
var margin = parseFloat(document.getElementById('profitMargin').value);
// 2. Handle defaults if empty
if (isNaN(income)) income = 0;
if (isNaN(overhead)) overhead = 0;
if (isNaN(hoursPerWeek)) hoursPerWeek = 0;
if (isNaN(weeksOff)) weeksOff = 0;
if (isNaN(margin)) margin = 0;
// 3. Validation
var errorDiv = document.getElementById('errorMsg');
var resultsDiv = document.getElementById('resultsSection');
if (hoursPerWeek = 52) {
errorDiv.style.display = 'block';
errorDiv.innerHTML = "Billable hours must be greater than 0, and you cannot take 52 weeks off.";
resultsDiv.style.display = 'none';
return;
}
errorDiv.style.display = 'none';
// 4. Calculations
// Annualize overhead
var annualOverhead = overhead * 12;
// Total money needed before profit margin (Cost basis)
var totalCostBasis = income + annualOverhead;
// Calculate working time
var workingWeeks = 52 – weeksOff;
var totalBillableHours = workingWeeks * hoursPerWeek;
// Base Rate (Break-even)
var baseRate = totalCostBasis / totalBillableHours;
// Add Profit Margin
// Formula: Rate = Base / (1 – Margin%) OR Rate = Base * (1 + Margin%)
// Markup method (Base * 1.20) is safer for general service rate calculations than Margin (Base / 0.8)
// We will use Markup method as it is more intuitive for freelancers
var finalRate = baseRate * (1 + (margin / 100));
// Total Revenue Target with margin
var totalRevenueTarget = finalRate * totalBillableHours;
// 5. Update DOM
resultsDiv.style.display = 'block';
document.getElementById('baseRateResult').innerHTML = '$' + baseRate.toFixed(2);
document.getElementById('finalRateResult').innerHTML = '$' + finalRate.toFixed(2);
document.getElementById('totalHoursResult').innerHTML = Math.round(totalBillableHours);
document.getElementById('revenueTargetResult').innerHTML = '$' + totalRevenueTarget.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2});
}
How to Calculate Your Service Rate Per Hour
Determining the correct hourly rate is one of the most critical decisions for freelancers, consultants, and service-based businesses. If you set your rate too low, you risk burnout and financial instability. Set it too high without justification, and you may struggle to attract clients. This guide explains the logic behind calculating a sustainable, profitable service rate.
Key Insight: Your hourly rate is not just your salary. It must cover your business expenses (overhead), taxes, unbillable time (marketing, admin), and profit for future growth.
The Service Rate Formula
Many beginners simply divide their desired annual salary by 2,080 (the standard number of working hours in a 40-hour work week). This is a mistake. As a service provider, you cannot bill for every hour of the day. You must account for Billable Efficiency.
The calculation used in the tool above follows these steps:
Calculate Total Costs: Add your Desired Annual Income to your Annual Business Overheads (software, insurance, rent, marketing costs).
Calculate Billable Capacity: Subtract vacation, sick days, and holidays from the 52 weeks in a year. Multiply the remaining weeks by your realistic billable hours per week (not just time at your desk).
Determine Base Rate: Divide Total Costs by Billable Capacity. This is your "break-even" rate.
Add Profit Margin: Apply a percentage markup to reinvest in the business or create a safety net.
Understanding the Input Metrics
1. Desired Annual Income
This is the gross salary you would pay yourself. It should cover your personal living expenses, personal taxes, and personal savings goals. Do not include business expenses here.
2. Billable Hours vs. Actual Hours
If you work 40 hours a week, you likely cannot bill clients for 40 hours. You need time for:
Invoicing and Accounting
Business Development and Sales
Skill Development
Email and Communication
A standard freelancer typically bills 20 to 30 hours per week, even if they work full-time.
3. Overhead Costs
These are the costs to keep your business running regardless of whether you have a client. Common overheads include:
Website hosting and domain fees
Professional subscriptions (Adobe, Office 365, etc.)
Liability insurance
Internet and phone portions
Co-working space or home office deduction equivalents
Why Profit Margin Matters
A zero-profit margin means you earn exactly enough to pay your salary and bills, but the business bank account ends the year at $0. Adding a 10% to 30% profit margin ensures your business builds cash reserves for slow months, equipment upgrades, or expansion.
Example Calculation
Let's say you want to earn $80,000 a year. You have $500/month in business expenses. You want to work 4 weeks less per year (vacation/holidays) and can realistically bill 25 hours a week.