I agree, AlisonMA It is very easy to underprice home baking. If it is for a charity, there is a temptation to assume "It was donated, so anything we make at all is profit"
You should calculate the price of your ingredients, including all the things you used "only a spoonful" of, and add in the cost of power for cooking.
Then cost your time, at the minimum wage, at least. It is all very altruistic to think "But I did it out of love, my time does not count" - if your time is not converted into cash, you have not really given it to the charity.
(And you could add a bit more on top of that for the profit you would have to make if you were doing it as a business - a professional has to make a working surplus as well as cover their own salary.)
Don't worry about anyone comparing the price with what they would pay in the supermarket, They are getting a product made up to a standard, not down to a budget.