food and labor formula?

How do I figure out food and labor percentages? Do i divide money spent by gross sales? Any info would be helpful> Thanks.

food % = food $ divided by NET sales as a percent.
labor % = labor $ divided by NET sales as a percent.

Net sales are sales after taxes are taken out. Hope this helps. -J_r0kk