Tax depends on your country and situation. Use a rough average, or ask your accountant. This is an estimate, not tax advice.
Selling, admin, email and learning take time no client pays for. Many freelancers bill 60–75 % of their working hours.
A margin covers quiet months, late payments and a little savings for the business. 10–20 % is common.