🏠
🏠 Home & living

Egg Boiling Time Calculator (soft, medium, hard)

Results update as you type.

Your numbers

Understanding the egg boiling time calculator — concept and principle

This calculator works out how long to boil an egg for a soft, medium or hard yolk, based on the egg's weight, its starting temperature and your altitude. It uses a physics model of heat flowing into the egg, so it adjusts properly for large eggs, cold eggs from the fridge and lower boiling points in the mountains.

Heat moving into an eggHeat moving into an egg: 60 g egg, 4 °C → 63 °C yolk fridge egg, soft yolk, 0.4508 × 60^⅔ × ln(1.97) Williams formula, water 100 °C → 4 min 42 s soft-boiledHeat moving into an egg60 g egg, 4 °C → 63 °C yolkfridge egg, soft yolk0.4508 × 60^⅔ × ln(1.97)Williams formula, water 100 °C4 min 42 ssoft-boiled
Heat moving into an egg: with the default inputs the result is 4 min 42 s (soft-boiled).

How it is calculated

Time = M^(2/3) × c × ρ^(1/3) ÷ (K × π² × (4π/3)^(2/3)) × ln[0.76 × (T_egg − T_water) ÷ (T_yolk − T_water)]

The principle

Heat moves into an egg by conduction from the shell inwards. Physicist Charles Williams solved this for a sphere: the time to bring the centre region to a target temperature grows with the square of the radius, and since mass grows with the cube of the radius, time grows with mass to the power 2/3. The logarithm compares how far the egg starts from the water temperature with how close the yolk edge must get. Yolk proteins begin to thicken at about 65 °C and set at about 70 °C, which is why a few degrees separate soft from hard. At altitude water boils below 100 °C, so eggs take longer.

Worked example

Default inputs: 60 g egg from the fridge (4 °C), soft yolk (63 °C), altitude 0 m.

  1. Water boils at 100 °C; target 63 °C.
  2. Constant × M^(2/3) = 0.4508 × 60^(2/3) = 0.4508 × 15.33 = 6.91.
  3. ln[0.76 × (4 − 100) ÷ (63 − 100)] = ln(1.972) = 0.679.
  4. Time = 6.91 × 0.679 = 4.7 minutes, shown as 0:04:42.

How to read the result

Use the time as a starting point and adjust to taste: eggs differ in shape and the water may cool when you add several eggs. Bring the water back to the boil quickly or use a large pan. Stop the cooking by moving the egg into cold water if you want the yolk to stay exactly as timed. At high altitude a hard yolk may be impossible if the water boils below the target temperature; the calculator warns you.

Common mistakes

Keep in mind: Runny eggs carry a small risk of Salmonella. Follow your local food-safety advice, especially for pregnant people, young children, older adults and people with weak immunity.

Frequently asked questions

How long do I boil an egg for a runny yolk?

About 4.5–5 minutes for a 60 g egg straight from the fridge at sea level.

Why do eggs take longer at altitude?

Water boils at a lower temperature, so heat flows into the egg more slowly.

Does egg size matter?

Yes. Time grows with mass to the power 2/3, so a large egg needs noticeably longer.

Sources: C. D. H. Williams, "The Science of Boiling an Egg", University of Exeter, School of Physics · H. McGee, On Food and Cooking (Scribner, 2004)

Checked 9 Nov 2026. C. D. H. Williams, “The Science of Boiling an Egg”, University of Exeter, Physics; H. McGee, On Food and Cooking (2004) for yolk setting temperatures; boiling point from the ISA barometric formula and ΔH_vap = 40.66 kJ/mol.

🏠 All home & living tools →🌍 Calculators by country →