Compared with other basic cooking techniques, grilling is hard: The temperatures are high, timing is crucial and slight differences in the thickness or wetness of the food dramatically can affect how quickly it cooks.

Bad design choices by equipment makers - kettle-shaped grills with black interiors, for example - make it harder still. But if you're willing to do some simple arithmetic or break out a roll of foil, you can reduce the guesswork and get better performance from your grill. Similar tricks work for broiling; after all, a broiler is basically an inverted grill.

Every grill has a sweet spot where the heat is even. You know you're cooking in the sweet spot when all of the food browns at about the same pace. In most situations, the bigger the sweet spot, the better. One notable exception is when you need to reserve part of the grill for cooking some ingredients more slowly or keeping previously cooked food warm.

If you're continually swapping food from the center of your grill with pieces at the periphery, that's a sure sign your sweet spot is too small.

You can use the table above to estimate the size of the sweet spot on your own grill. The 26-inch-wide gas grill on my deck has four burners with heat-dispersing caps that span about 23 inches. The food sits only three inches above the burner caps, so when all four burners are going, the sweet spot includes the middle 16 inches of the grill. But if I use only the two central burners, which are 10 inches from edge to edge, the sweet spot shrinks to a measly 5.4 inches, too small to cook two chicken breasts side by side. I can use this to my advantage, however, if I have a big piece of food that is thick in the middle and thinner at the ends, such as a long salmon fillet. By laying the fish crosswise over the two burners, I can cook the fat belly until it is done without overcooking the slimmer head and tail of the fillet.

If your grill is boxy in shape, line the sides with foil, shiny side out. Your goal is to create a hall of mirrors in which the heat rays bounce off the foil until they hit the food. A hotdog at the edge of the grill then sees not only those coals that are in its line of sight, but also reflections of the coals in the foil-lined side of the grill.

The foil trick unfortunately doesn't work well on kettle grills because their rounded shape tends to bounce the radiant heat back toward the center instead of out to the edges. But if you can find a piece of shiny sheet metal about 4 inches wide and 56 inches long, you can bend the metal into a reflective circular ring and build the coal bed inside of it. All food within the circumference of the ring should then cook pretty evenly.

How big is your sweet spot?

For grills, measure the width of the coals or gas burners (including any burner caps that disperse the heat). Then measure the distance from the top of the coals or burners to the upper surface of the grill grate. Find the appropriate row in the table to estimate the size of the sweet spot, centered over the heat source. This table assumes a nonreflective grill.

To calculate the sweet spot of an electric broiler - which is the ideal vertical distance between the top of the food and the broiler element - measure the distance between the rods of the heating element. Multiply that measurement by 0.44, then add 0.2 inches to the product.

Width of Height of the food Width of

heat source above the heat source grill sweet spot

(inches) (inches) (inches)

14 3 8.1

14 4 7.7

14 5 7

16 3 9.9

16 4 9

16 5 8.3

20 3 13.2

20 4 12

20 5 11.2

23 3 16.1

23 4 15

23 5 13.3

29 3 21.8

29 4 19.7

29 5 18.9