Home ↓
CalculatorsVerified

Everyday & Time

Egg Boiling Time Calculator (Soft, Jammy or Hard by Egg Size)

Boiling an egg looks simple, but getting the yolk exactly as you like it depends on the size of the egg, how cold it is when it goes into the pan and how hot the boiling water is. In 1998 the physicist Charles Williams published a formula, based on how heat conducts through an egg, that predicts the time needed for the centre of the yolk to reach a chosen temperature. This calculator uses that formula with typical egg properties to give boiling times for runny, jammy and firm yolks, for small to very large eggs, starting from the fridge or at room temperature, and adjusts for the lower boiling point of water at altitude.

How to use this calculator

  1. Choose the egg size, or enter the weight in grams.
  2. Choose whether the eggs come straight from the fridge or are at room temperature.
  3. Choose the yolk you want: runny, jammy or firm.
  4. Enter your altitude if you live well above sea level.
  5. Lower the eggs into water at a full rolling boil, start the timer and cool them in cold water afterwards.

The physics of a boiled egg

When an egg is placed in boiling water, heat flows inwards from the shell. The white begins to set at about 62–65 °C and becomes firm at around 80 °C, while the yolk thickens at about 65 °C and becomes crumbly near 77 °C. The time needed for the centre to reach a target temperature depends on the distance the heat must travel, which grows with egg size, and on the temperature difference between the water and the egg.

Williams modelled the egg as a sphere with uniform properties and derived an equation in which time is proportional to the egg's mass to the power two-thirds, multiplied by a logarithm of temperature differences. That is why a large egg needs proportionally less extra time than its extra weight might suggest, and why a cold egg from the fridge needs noticeably longer than one at room temperature.

Getting consistent results

The formula assumes the egg goes into water at a full boil and that the water stays boiling. If you add many cold eggs to a small pan, the water temperature drops and cooking slows, so use plenty of water or add a little time. Starting eggs in cold water and bringing them to the boil is a different method, which makes timing less predictable.

At altitude, water boils at a lower temperature, around 93 °C at 2,000 m, so eggs need longer. Transfer cooked eggs to cold or iced water to stop the cooking and make peeling easier; very fresh eggs tend to be harder to peel than eggs a week or two old.

Formula & method

Williams: t = M^(2/3) × c × ρ^(1/3) ÷ (K × π² × (4π/3)^(2/3)) × ln[0.76 × (T_egg − T_water) ÷ (T_yolk − T_water)]With c = 3.7 J/(g·K), ρ = 1.038 g/cm³ and K = 5.4 × 10⁻³ W/(cm·K), this is about 27 s × M^(2/3) × ln[…], M in gramsWater boils about 1 °C lower for every 300 m of altitudeAssumes the egg goes into water already at a full boil

Williams' formula: t = M^(2/3) × c × ρ^(1/3) ÷ (K π² (4π/3)^(2/3)) × ln[0.76 × (T_egg − T_water) ÷ (T_yolk − T_water)], where M is the egg mass, c ≈ 3.7 J/(g·K) its specific heat, ρ ≈ 1.038 g/cm³ its density and K ≈ 5.4 × 10⁻³ W/(cm·K) its thermal conductivity. This simplifies to about 27 s × M^(2/3) × ln[…] with M in grams. Water boils about 1 °C lower for every 300 m of altitude.

Worked example

Example: a 58 g egg from the fridge, runny yolk

  1. M^(2/3) = 58^(2/3) ≈ 14.98.
  2. ln[0.76 × (4 − 100) ÷ (62 − 100)] = ln(1.92) ≈ 0.652.
  3. t ≈ 27.07 × 14.98 × 0.652 ≈ 265 s.

Answer: Boil for about 4 minutes 24 seconds.

Frequently asked questions

How long to boil a large egg for a soft yolk?

For a large egg of about 66 g straight from the fridge, the formula gives about 4¾ minutes for a runny yolk at sea level.

How long for a hard-boiled egg?

A medium egg from the fridge needs about 8 minutes for a firm yolk at sea level, a little more for large eggs.

Why do room-temperature eggs cook faster?

They start closer to the target temperature, so less heat must flow into them. Room-temperature eggs are also less likely to crack when added to boiling water.

Does altitude really matter?

Yes. At higher altitude water boils at a lower temperature, so the eggs heat more slowly and need more time.

Why did my egg crack?

Sudden temperature changes can crack the shell. Lower eggs gently into the water with a spoon and avoid overcrowding the pan.

Are runny eggs safe to eat?

Food safety advice varies by country. Some authorities recommend fully cooked eggs for pregnant women, young children, older people and people with weakened immune systems, unless the eggs come from schemes certified as low risk.