Determine exactly what you need to charge to meet your income goals.
The take-home pay you want after taxes and expenses.
Software, hardware, insurance, coworking space, etc.
Hours actually spent on client work (excludes admin/marketing).
Vacation, sick days, and holidays.
Self-employment tax + income tax estimate.
Minimum Hourly Rate$0.00
Gross Revenue Needed$0.00
Total Billable Hours/Year0
Daily Rate (approx.)$0.00
function calculateFreelanceRate() {
// Get input values
var targetSalary = parseFloat(document.getElementById('targetSalary').value);
var annualExpenses = parseFloat(document.getElementById('annualExpenses').value);
var billableHours = parseFloat(document.getElementById('billableHours').value);
var weeksOff = parseFloat(document.getElementById('weeksOff').value);
var taxRate = parseFloat(document.getElementById('taxRate').value);
// Validation
if (isNaN(targetSalary) || targetSalary < 0) {
alert("Please enter a valid Target Salary.");
return;
}
if (isNaN(annualExpenses) || annualExpenses < 0) {
annualExpenses = 0;
}
if (isNaN(billableHours) || billableHours 168) {
alert("Please enter a valid number of billable hours per week.");
return;
}
if (isNaN(weeksOff) || weeksOff 52) {
weeksOff = 0;
}
if (isNaN(taxRate) || taxRate = 100) {
alert("Please enter a valid tax rate percentage.");
return;
}
// Calculation Logic
// 1. Calculate working weeks
var workingWeeks = 52 – weeksOff;
// 2. Calculate total annual billable hours
var totalBillableHours = workingWeeks * billableHours;
// 3. Calculate Gross Revenue Needed
// Logic: Gross – (Gross * TaxRate) = Net + Expenses
// Gross * (1 – TaxRate) = Net + Expenses
// Gross = (Net + Expenses) / (1 – TaxRate)
var taxDecimal = taxRate / 100;
var netNeeded = targetSalary + annualExpenses;
var grossRevenueNeeded = netNeeded / (1 – taxDecimal);
// 4. Calculate Hourly Rate
var hourlyRate = grossRevenueNeeded / totalBillableHours;
// 5. Calculate Daily Rate (Assuming 5 days a week work week distribution of billable hours)
// Note: This is just the hourly rate * (billable hours / 5)
var dailyHours = billableHours / 5;
var dailyRate = hourlyRate * dailyHours;
// Display Results
document.getElementById('hourlyResult').innerText = "$" + hourlyRate.toFixed(2);
document.getElementById('grossResult').innerText = "$" + grossRevenueNeeded.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2});
document.getElementById('hoursResult').innerText = totalBillableHours.toFixed(0);
document.getElementById('dailyResult').innerText = "$" + dailyRate.toFixed(2);
// Show result div
document.getElementById('results').style.display = "block";
}
How to Calculate Your Freelance Hourly Rate
Setting the right hourly rate is one of the most critical challenges for freelancers, consultants, and independent contractors. Unlike a salaried employee, your rate must cover not just your desired take-home pay, but also your business expenses, taxes, and unpaid time off.
Using the Freelance Hourly Rate Calculator above ensures you account for the hidden costs of self-employment so you don't underprice your services.
Key Factors in Your Rate Formula
To accurately calculate a sustainable rate, you must consider four specific variables:
Target Net Income: This is the money you want in your bank account for personal use (rent, food, savings) after the business takes its cut.
Overhead & Expenses: Software subscriptions (Adobe, Office), hardware upgrades, health insurance, liability insurance, and marketing costs. These are non-negotiable costs of doing business.
Billable vs. Non-Billable Hours: You cannot bill clients for 40 hours a week. You spend time on invoicing, finding new clients, and administrative tasks. Most successful freelancers only bill 20-25 hours per week.
Taxes: As a freelancer, you pay the "Self-Employment Tax" (Social Security and Medicare) in addition to standard income tax. This often totals 25-35% of your gross revenue.
Pro Tip: Never just divide your previous annual salary by 2,080 (the standard number of work hours in a year). This calculation assumes you have 0 expenses and work every single hour of the year. You will lose money using this method.
Why Billable Hours Matter
The "Billable Hours" input in the calculator is the most common place for errors. If you work a 40-hour week, you might only spend 25 hours on actual client work. The other 15 hours are spent on:
Email and communication
Bookkeeping and taxes
Networking and pitching
Professional development
Your hourly rate for the 25 billable hours must subsidize the 15 non-billable hours. If it doesn't, you are effectively working those administrative hours for free.
Adjusting for Vacation and Sick Days
Employees get paid vacation. Freelancers do not. If you want to take 2 weeks of vacation and plan for 1 week of sick time, you are only working 49 weeks a year. Your rate must be high enough that you can afford to earn $0 during those 3 weeks off. Our calculator subtracts your "Weeks Off" from 52 to determine your actual annual production capacity.