Hours actually charged to clients (not admin work).
Please fill in all fields with valid numbers.
Minimum Hourly Rate:$0.00
Total Annual Revenue Needed:$0.00
Total Billable Hours/Year:0
Gross Monthly Income Needed:$0.00
function calculateHourlyRate() {
// Get input values
var targetNet = document.getElementById('targetNetIncome').value;
var monthlyExp = document.getElementById('monthlyExpenses').value;
var taxRate = document.getElementById('taxRate').value;
var weeksOff = document.getElementById('weeksOff').value;
var billableHours = document.getElementById('billableHours').value;
var resultDiv = document.getElementById('results');
var errorDiv = document.getElementById('errorMsg');
// Validation
if (targetNet === "" || monthlyExp === "" || taxRate === "" || weeksOff === "" || billableHours === "") {
errorDiv.style.display = "block";
resultDiv.style.display = "none";
return;
}
// Parse floats
var net = parseFloat(targetNet);
var exp = parseFloat(monthlyExp);
var tax = parseFloat(taxRate);
var off = parseFloat(weeksOff);
var hours = parseFloat(billableHours);
if (isNaN(net) || isNaN(exp) || isNaN(tax) || isNaN(off) || isNaN(hours) || hours <= 0) {
errorDiv.style.display = "block";
resultDiv.style.display = "none";
return;
}
errorDiv.style.display = "none";
// Logic
// 1. Calculate Total Annual Overhead
var annualOverhead = exp * 12;
// 2. Calculate Revenue needed BEFORE tax to hit Net Goal
// Formula derived from: (Revenue – Overhead) * (1 – TaxRate) = NetGoal
// Therefore: Revenue = (NetGoal / (1 – TaxRate)) + Overhead
var taxDecimal = tax / 100;
var inverseTax = 1 – taxDecimal;
// Prevent divide by zero if tax is 100% (unlikely but possible edge case)
if (inverseTax <= 0) inverseTax = 0.01;
var requiredTaxableIncome = net / inverseTax;
var totalAnnualRevenue = requiredTaxableIncome + annualOverhead;
// 3. Calculate Total Working Hours
var workingWeeks = 52 – off;
if (workingWeeks 0) {
hourlyRate = totalAnnualRevenue / totalAnnualHours;
}
// Display Results
document.getElementById('displayRate').innerHTML = '$' + hourlyRate.toFixed(2);
document.getElementById('displayRevenue').innerHTML = '$' + totalAnnualRevenue.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2});
document.getElementById('displayHours').innerHTML = totalAnnualHours.toFixed(0);
document.getElementById('displayMonthlyGross').innerHTML = '$' + (totalAnnualRevenue / 12).toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2});
resultDiv.style.display = "block";
}
How to Calculate Your Freelance Hourly Rate
Determining the correct hourly rate is one of the most significant challenges for new freelancers, consultants, and contractors. Simply guessing a number or matching what you earned at your full-time job often leads to financial strain. This is because a traditional salary comes with hidden benefits (insurance, paid time off, employer tax contributions) that you must now cover yourself.
Our Freelance Hourly Rate Calculator uses a reverse-engineering method to ensure your rate covers your overhead, taxes, and time off while hitting your desired take-home pay.
The Formula: Breaking Down the Math
To calculate a sustainable freelance rate, you cannot simply look at the desired income. You must account for the "Freelance Trinity": Overhead, Taxes, and Billable Efficiency.
Step 1: Annualize Overhead. Multiply your monthly software subscriptions, internet, insurance, and equipment costs by 12.
Step 2: Adjust for Taxes. Unlike employees, freelancers often pay self-employment tax on top of income tax. This calculator determines the gross revenue needed to leave you with your target net income after Uncle Sam takes his cut.
Step 3: Determine True Billable Hours. You have 52 weeks in a year, but you won't work all of them. After deducting vacation, sick days, and holidays, you calculate your Total Working Weeks. Furthermore, you cannot bill 40 hours a week; time spent on invoicing, marketing, and emails is unbillable.
Why Billable Hours Matter
A common mistake is assuming a 40-hour work week. If you work 40 hours, you are likely only billable for 20 to 30 of those hours. The remaining time is administration. If you calculate your rate based on 40 hours but only bill 25, you will fall short of your income goals by nearly 40%.
Example Calculation
Let's say you want to take home $60,000 a year. You have $500 in monthly expenses, expect a 25% tax rate, want 4 weeks of vacation, and can bill 25 hours a week.