In response to:

How can you calculate your freelance rate?

When you freelance, you're likely not receiving equity in your client's company, getting paid time-off, or health insurance. So it's on you to account for all of these things in your rate.

Action Items