The first freelance rate most developers set comes from a salary. You earned $90,000 in a job, a year has 2,080 working hours (40 hours times 52 weeks), so you divide and get about $43 an hour. Maybe you round up to $50 to feel safe.
That number is almost always wrong by about half, and the error is not in the income. It is in the 2,080.
Why 2,080 Is the Wrong Divisor
An employer pays you for 2,080 hours whether or not every one of them is productive. Holidays are paid. Sick days are paid. The meeting where nothing happened is paid. As a freelancer, you are paid only for the hours a client is billed for, and that is a much smaller number.
Start with the year and take out the time you will not work:
52 weeks - 4 weeks of vacation - 2 weeks of public holidays - 1 week of sick days = 45 working weeks
45 weeks × 40 hours = 1,800 available hours
Those figures are assumptions, not statistics; put in your own.…