Cooking a hard-boiled egg is a simple task that can be accomplished in a matter of minutes. The perfect hard-boiled egg has a firm, cooked yolk and a white that is set but still tender. But how long do you cook a hard-boiled egg to achieve this ideal result?
The answer to this question depends on a few factors, including the size of the egg, the temperature of the water, and the altitude at which you are cooking. But as a general rule, you should cook a large egg for about 12 minutes, a medium egg for about 10 minutes, and a small egg for about 8 minutes.