There is not a simple equation to answer this question. There are so many variables to the success of an advertising campaign. There are also factors that are difficult if not impossible to determine.
With that being said, if you have 25% food costs on a $10 order then every order the advertising generates gives back $7.50. This is making the assumption that the sale is an increase to your regular business. If you spend $1000 on the advertising, you need to see about 135 new $10 orders to cover your costs.
Here is where the water gets muddy. What is the one year value of a customer? Assuming a customer will order 2 times a month with an average order of $15. That is $30 a month or $360 a year. If you remove the food costs of 25% that is $270 a year.
If the $1000 spent on advertising gets you 4 new customers that spend $270 a year you have covered your initial investment. Each new customers beyond the first 4 now adds $270 gross profit to you year.