One of the hardest things about going freelance as a developer isn't writing code — it's knowing what to charge.

Charge too little and you're basically doing a salaried job without the benefits. Charge too much without backing it up and you scare off clients. Most developers I've spoken to either guessed their rate or copied someone else's. Neither is a great strategy.

In this article I want to walk you through exactly how to calculate your freelance day rate properly — based on real numbers, not gut feeling.

Why Most Freelancers Get Their Rate Wrong

The most common mistake is this: taking your old salary and dividing it by 260 working days.