Skip to content
Calc.

Egg Cooking Time Calculator

Find the ideal boiling time for a perfect soft, medium, or hard-boiled egg based on egg size and your preferred doneness. Removes the guesswork from one of cooking's most precise tasks.

Last updated: September 2026

Cooking Time

6 minutes

Formula below · 2 sources (fda.gov, americastestkitchen.com) · Updated Sep 2026

Compare with similar

About this calculator

Egg cooking time depends on the size of the egg and how set you want the yolk and white. The times assume a large egg straight from the refrigerator, lowered into water that is already at a full boil, and timed from that moment. The formula is: cookingTime = doneness time for a large egg + (size factor − 1.4) × 2.5 minutes. The doneness times are 6 minutes for a soft-boiled egg (set white, runny yolk), 7½ minutes for a medium egg (jammy, partly set yolk) and 11 minutes for a hard-boiled egg (fully set yolk), in line with common kitchen-tested timings of about 6–6½ minutes for soft, 7–8 for jammy and 10–12 for hard. The size factor is 1 for small, 1.2 for medium, 1.4 for large and 1.6 for extra-large eggs, so each size step adds or removes half a minute: a small egg takes 1 minute less than a large one and an extra-large egg half a minute more. The underlying physics is heat conduction through the white to the center of the yolk; a bigger egg needs longer for the heat to reach the middle. Food safety: the USDA advises cooking eggs until both the yolk and white are firm; soft- and medium-boiled eggs with runny yolks carry a small Salmonella risk, so use pasteurized eggs for young children, older adults, pregnant people and anyone with a weakened immune system.

How to use

Imagine you want a medium-boiled large egg: doneness time 7.5 minutes, size factor 1.4. cookingTime = 7.5 + (1.4 − 1.4) × 2.5 = 7.5 minutes from when the egg goes into boiling water, for a jammy yolk. For a hard-boiled extra-large egg: 11 + (1.6 − 1.4) × 2.5 = 11 + 0.5 = 11.5 minutes. For a soft-boiled small egg: 6 + (1 − 1.4) × 2.5 = 6 − 1 = 5 minutes. Cool the eggs in ice water immediately to stop the cooking.

Frequently asked questions

How does egg size affect boiling time for soft or hard-boiled eggs?

Larger eggs contain more mass, so heat takes longer to reach the center of the yolk. In this calculator each size step changes the time by half a minute: at the medium (jammy) setting a small egg takes 6.5 minutes, a large egg 7.5 minutes and an extra-large egg 8 minutes. Starting temperature matters too: the times assume eggs straight from the refrigerator, so room-temperature eggs cook a little faster. Ignoring size and starting temperature is one of the most common reasons for unexpectedly runny or overcooked eggs.

Should I start eggs in cold water or boiling water for accurate cooking times?

Starting eggs in already-boiling water gives far more consistent and predictable results, and most precise cooking-time formulas — including this one — assume you lower the egg into simmering or boiling water. Cold-start methods involve a variable heating phase that differs by pot, stove, and water volume, making timing unreliable. If you prefer the cold-start method, add approximately 1–2 minutes to the calculated time and expect some variation. For perfect precision, use boiling water and a timer.

Why do altitude and water temperature affect egg boiling times?

At higher altitudes, atmospheric pressure is lower, which causes water to boil at temperatures below 100 °C (212 °F). At 2,000 meters above sea level, water boils at roughly 93 °C, meaning less heat energy is transferred to the egg per minute. As a result, eggs take noticeably longer to cook at altitude — sometimes 20–30% more time than at sea level. If you live or cook above 1,500 meters, you should add extra time beyond the calculator's output or use a pressure cooker to restore full boiling temperature.

Related calculators

Sources & references

How we check our calculators

Think a result is wrong? Report a problem with this calculator.