Determine the exact hourly rate needed to cover expenses, taxes, and hit your net income goal.
Most freelancers bill between 20-30 hours a week.
Your required minimum hourly rate is:
function calculateHourlyRate() {
// Get input values using var
var netSalaryInput = document.getElementById('desiredNetSalary').value;
var expensesInput = document.getElementById('annualBusinessExpenses').value;
var taxRateInput = document.getElementById('estimatedTaxRate').value;
var billableHoursInput = document.getElementById('billableHoursWeek').value;
var weeksOffInput = document.getElementById('weeksOffYear').value;
// Reset displays
document.getElementById('calculationResult').style.display = 'none';
document.getElementById('errorDisplay').style.display = 'none';
// Parse values to floats
var netSalary = parseFloat(netSalaryInput);
var expenses = parseFloat(expensesInput);
var taxRate = parseFloat(taxRateInput);
var billableHours = parseFloat(billableHoursInput);
var weeksOff = parseFloat(weeksOffInput);
// Validation checks
if (isNaN(netSalary) || isNaN(expenses) || isNaN(taxRate) || isNaN(billableHours) || isNaN(weeksOff)) {
document.getElementById('errorDisplay').innerText = "Please fill in all fields with valid numbers.";
document.getElementById('errorDisplay').style.display = 'block';
return;
}
if (taxRate >= 100 || taxRate < 0) {
document.getElementById('errorDisplay').innerText = "Tax rate must be between 0 and 99.";
document.getElementById('errorDisplay').style.display = 'block';
return;
}
if (billableHours 168) {
document.getElementById('errorDisplay').innerText = "Please enter a realistic number of billable hours per week.";
document.getElementById('errorDisplay').style.display = 'block';
return;
}
if (weeksOff = 52) {
document.getElementById('errorDisplay').innerText = "Weeks off must be between 0 and 51.";
document.getElementById('errorDisplay').style.display = 'block';
return;
}
// CALCULATION LOGIC
// 1. Calculate Gross Salary Needed to net the desired amount.
// Formula: Gross = Net / (1 – taxRatePercentage)
var taxMultiplier = 1 – (taxRate / 100);
var grossSalaryNeeded = netSalary / taxMultiplier;
// 2. Calculate Total Annual Revenue Requirement
// This includes the gross salary plus business expenses.
var totalRevenueNeeded = grossSalaryNeeded + expenses;
// 3. Calculate Total Billable Hours Per Year
// Total weeks (52) minus weeks off, multiplied by hours per week.
var workingWeeks = 52 – weeksOff;
var totalAnnualBillableHours = workingWeeks * billableHours;
// Handle division by zero edge case if working weeks or hours results in 0
if (totalAnnualBillableHours <= 0) {
document.getElementById('errorDisplay').innerText = "Your working hours result in zero billable time per year. Please adjust your inputs.";
document.getElementById('errorDisplay').style.display = 'block';
return;
}
// 4. Final Hourly Rate Calculation
var requiredHourlyRate = totalRevenueNeeded / totalAnnualBillableHours;
// Display result formatted to 2 decimal places
document.getElementById('finalRateDisplay').innerText = '$' + requiredHourlyRate.toFixed(2);
document.getElementById('calculationResult').style.display = 'block';
}
Why Freelancers Often Undercharge
One of the most common mistakes new freelancers make is simply taking their previous full-time hourly wage and doubling it, or picking a number that "sounds good." This approach almost always leads to undercharging because it ignores the hidden costs of running a freelance business.
Unlike a W-2 employee, a freelancer is responsible for the employer's share of taxes (self-employment tax), health insurance, retirement savings, paid time off, and all business operational costs. Furthermore, you cannot bill for every hour you work. A 40-hour workweek might only yield 25 "billable" hours after accounting for marketing, accounting, client communication, and administrative tasks.
Understanding the Calculation Components
Desired Net Income: This is your "take-home" pay goal—the money left over for your personal life after business expenses and taxes are paid.
Business Expenses: These are annual costs required to run your business. Examples include software subscriptions (Adobe CC, accounting tools), hardware upgrades, professional liability insurance, co-working space fees, and marketing costs.
Effective Tax Rate: As a freelancer, you should estimate higher than an employee tax rate. In the US, this often includes roughly 15.3% for self-employment tax plus your federal and state income tax brackets. A safe estimate for many is often between 25% and 35%.
Billable vs. Non-Billable Hours: You are now wearing many hats: CEO, marketer, accountant, and technician. You only get paid when acting as the technician. If you work 40 hours a week, it is highly unrealistic to assume you will bill 40 hours. A realistic average is often 20–30 billable hours per week.
A Realistic Freelance Rate Example
Let's look at how the math works for a hypothetical graphic designer named Alex.
Alex's Goal: A net annual income of $65,000 (similar to their previous salary).
Expenses: Alex estimates $6,000 per year for software, a new laptop fund, and insurance.
Taxes: They estimate an effective tax rate of 30% to cover income and self-employment taxes.
Time: Alex wants 4 weeks off per year (vacation and holidays) and estimates they can realistically bill 28 hours per week.
Using the calculator above, the math flows like this:
To take home $65,000 with a 30% tax rate, Alex needs a gross income of roughly $92,857 ($65,000 / 0.7).
Adding the $6,000 in expenses, the total business revenue needed is $98,857.
Working 48 weeks a year (52 – 4) at 28 billable hours per week equals 1,344 total billable hours per year.
Dividing the total revenue needed ($98,857) by the total billable hours (1,344) gives a required hourly rate of approximately $73.55.
If Alex had simply used their old $35/hour employee rate, they would be severely underpaid and unable to sustain their business.