You are not 'losing' money when you pay the taxes you owe. You need to understand that. You owe the taxes you owe based on the income you report and deductions and credits you are allowed.
Freelancing work must be reported on a Schedule C. You are a business. That is self-employment income.
If you gross $45k and can prove through receipts that you spent $14k on supplies alone, now you are at $31k. There are other business expenses you may be able to deduct. If you don't know what you're doing here, you need a tax professional. You must calculate your NET business income. You report that on your main tax return, the same way you would report W-2 wages. That is what you earned from your work, before taxes, just as someone who worked a job for $25,000 before taxes.
In your case, not only will that $25,000 be taxed at your marginal tax rate - which no one knows - but you must also pay the self-employment tax on it. You show your $25,000 on Schedule SE and calculate the Social Security and Medicare taxes you owe, which will be approximately 15%.
On $25k, that's about $3,750. If you have regular employment and the freelancing is separate, and you are single (I have to assume everything because you told me nothing) then I am going to guess your marginal tax rate on that $25k is 22%. That's another $5,500. For a total of $9,250 in tax on that $25k.
Leaving you, after taxes, income of $15,750. That is not anywhere CLOSE to near nothing for hours of labor.
When you decide to work for yourself, it is up to YOU to figure out if what you're doing is worth your time. So divide that $15,750 by the estimated number of hours you put into this venture and see what the hourly rate is. Then decide if it's worth it to continue, or look into ways of making your business more efficient, cut expenses.